Skip to content

Commit 0fcc50e

Browse files
feat(vmmigration): update the api
#### vmmigration:v1 The following keys were added: - schemas.AwsSourceVmDetails.properties.vmCapabilitiesInfo (Total Keys: 2) - schemas.AzureDiskDetails (Total Keys: 7) - schemas.AzureSourceDetails (Total Keys: 13) - schemas.AzureSourceVmDetails (Total Keys: 9) - schemas.AzureVmDetails (Total Keys: 20) - schemas.AzureVmsDetails (Total Keys: 4) - schemas.ClientSecretCredentials (Total Keys: 5) - schemas.Disk (Total Keys: 7) - schemas.FetchInventoryResponse.properties.azureVms.$ref (Total Keys: 1) - schemas.MigratingVm.properties.azureSourceVmDetails (Total Keys: 2) - schemas.OSDisk (Total Keys: 6) - schemas.Source.properties.azure.$ref (Total Keys: 1) - schemas.VmCapabilities (Total Keys: 8) - schemas.VmwareSourceVmDetails.properties.vmCapabilitiesInfo (Total Keys: 2)
1 parent 1cc991b commit 0fcc50e

File tree

3 files changed

+607
-1
lines changed

3 files changed

+607
-1
lines changed

docs/dyn/vmmigration_v1.projects.locations.sources.html

Lines changed: 128 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -163,6 +163,29 @@ <h3>Method Details</h3>
163163
&quot;publicIp&quot;: &quot;A String&quot;, # Output only. The source&#x27;s public IP. All communication initiated by this source will originate from this IP.
164164
&quot;state&quot;: &quot;A String&quot;, # Output only. State of the source as determined by the health check.
165165
},
166+
&quot;azure&quot;: { # AzureSourceDetails message describes a specific source details for the Azure source type. # Azure type source details.
167+
&quot;azureLocation&quot;: &quot;A String&quot;, # Immutable. The Azure location (region) that the source VMs will be migrated from.
168+
&quot;clientSecretCreds&quot;: { # Message describing Azure Credentials using tenant ID, client ID and secret. # Azure Credentials using tenant ID, client ID and secret.
169+
&quot;clientId&quot;: &quot;A String&quot;, # Azure client ID.
170+
&quot;clientSecret&quot;: &quot;A String&quot;, # Input only. Azure client secret.
171+
&quot;tenantId&quot;: &quot;A String&quot;, # Azure tenant ID.
172+
},
173+
&quot;error&quot;: { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # Output only. Provides details on the state of the Source in case of an error.
174+
&quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
175+
&quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
176+
{
177+
&quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
178+
},
179+
],
180+
&quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
181+
},
182+
&quot;migrationResourcesUserTags&quot;: { # User specified tags to add to every M2VM generated resource in Azure. These tags will be set in addition to the default tags that are set as part of the migration process. The tags must not begin with the reserved prefix `m4ce` or `m2vm`.
183+
&quot;a_key&quot;: &quot;A String&quot;,
184+
},
185+
&quot;resourceGroupId&quot;: &quot;A String&quot;, # Output only. The ID of the Azure resource group that contains all resources related to the migration process of this source.
186+
&quot;state&quot;: &quot;A String&quot;, # Output only. State of the source as determined by the health check.
187+
&quot;subscriptionId&quot;: &quot;A String&quot;, # Immutable. Azure subscription ID.
188+
},
166189
&quot;createTime&quot;: &quot;A String&quot;, # Output only. The create time timestamp.
167190
&quot;description&quot;: &quot;A String&quot;, # User-provided description of the source.
168191
&quot;labels&quot;: { # The labels of the source.
@@ -295,6 +318,42 @@ <h3>Method Details</h3>
295318
},
296319
],
297320
},
321+
&quot;azureVms&quot;: { # AzureVmsDetails describes VMs in Azure. # The description of the VMs in a Source of type Azure.
322+
&quot;details&quot;: [ # The details of the Azure VMs.
323+
{ # AwsVmDetails describes a VM in AWS.
324+
&quot;bootOption&quot;: &quot;A String&quot;, # The VM Boot Option.
325+
&quot;committedStorageMb&quot;: &quot;A String&quot;, # The total size of the storage allocated to the VM in MB.
326+
&quot;computerName&quot;: &quot;A String&quot;, # The VM&#x27;s ComputerName.
327+
&quot;cpuCount&quot;: 42, # The number of cpus the VM has.
328+
&quot;diskCount&quot;: 42, # The number of disks the VM has, including OS disk.
329+
&quot;disks&quot;: [ # Description of the data disks.
330+
{ # A message describing a data disk.
331+
&quot;lun&quot;: 42, # The disk&#x27;s Logical Unit Number (LUN).
332+
&quot;name&quot;: &quot;A String&quot;, # The disk name.
333+
&quot;sizeGb&quot;: 42, # The disk size in GB.
334+
},
335+
],
336+
&quot;memoryMb&quot;: 42, # The memory size of the VM in MB.
337+
&quot;osDescription&quot;: { # A message describing the VM&#x27;s OS. Including OS, Publisher, Offer and Plan if applicable. # Description of the OS.
338+
&quot;offer&quot;: &quot;A String&quot;, # OS offer.
339+
&quot;plan&quot;: &quot;A String&quot;, # OS plan.
340+
&quot;publisher&quot;: &quot;A String&quot;, # OS publisher.
341+
&quot;type&quot;: &quot;A String&quot;, # OS type.
342+
},
343+
&quot;osDisk&quot;: { # A message describing the OS disk. # Description of the OS disk.
344+
&quot;name&quot;: &quot;A String&quot;, # The disk&#x27;s full name.
345+
&quot;sizeGb&quot;: 42, # The disk&#x27;s size in GB.
346+
&quot;type&quot;: &quot;A String&quot;, # The disk&#x27;s type.
347+
},
348+
&quot;powerState&quot;: &quot;A String&quot;, # The power state of the VM at the moment list was taken.
349+
&quot;tags&quot;: { # The tags of the VM.
350+
&quot;a_key&quot;: &quot;A String&quot;,
351+
},
352+
&quot;vmId&quot;: &quot;A String&quot;, # The VM full path in Azure.
353+
&quot;vmSize&quot;: &quot;A String&quot;, # VM size as configured in Azure. Determines the VM&#x27;s hardware spec.
354+
},
355+
],
356+
},
298357
&quot;nextPageToken&quot;: &quot;A String&quot;, # Output only. A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.
299358
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. The timestamp when the source was last queried (if the result is from the cache).
300359
&quot;vmwareVms&quot;: { # VmwareVmsDetails describes VMs in vCenter. # The description of the VMs in a Source of type Vmware.
@@ -378,6 +437,29 @@ <h3>Method Details</h3>
378437
&quot;publicIp&quot;: &quot;A String&quot;, # Output only. The source&#x27;s public IP. All communication initiated by this source will originate from this IP.
379438
&quot;state&quot;: &quot;A String&quot;, # Output only. State of the source as determined by the health check.
380439
},
440+
&quot;azure&quot;: { # AzureSourceDetails message describes a specific source details for the Azure source type. # Azure type source details.
441+
&quot;azureLocation&quot;: &quot;A String&quot;, # Immutable. The Azure location (region) that the source VMs will be migrated from.
442+
&quot;clientSecretCreds&quot;: { # Message describing Azure Credentials using tenant ID, client ID and secret. # Azure Credentials using tenant ID, client ID and secret.
443+
&quot;clientId&quot;: &quot;A String&quot;, # Azure client ID.
444+
&quot;clientSecret&quot;: &quot;A String&quot;, # Input only. Azure client secret.
445+
&quot;tenantId&quot;: &quot;A String&quot;, # Azure tenant ID.
446+
},
447+
&quot;error&quot;: { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # Output only. Provides details on the state of the Source in case of an error.
448+
&quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
449+
&quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
450+
{
451+
&quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
452+
},
453+
],
454+
&quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
455+
},
456+
&quot;migrationResourcesUserTags&quot;: { # User specified tags to add to every M2VM generated resource in Azure. These tags will be set in addition to the default tags that are set as part of the migration process. The tags must not begin with the reserved prefix `m4ce` or `m2vm`.
457+
&quot;a_key&quot;: &quot;A String&quot;,
458+
},
459+
&quot;resourceGroupId&quot;: &quot;A String&quot;, # Output only. The ID of the Azure resource group that contains all resources related to the migration process of this source.
460+
&quot;state&quot;: &quot;A String&quot;, # Output only. State of the source as determined by the health check.
461+
&quot;subscriptionId&quot;: &quot;A String&quot;, # Immutable. Azure subscription ID.
462+
},
381463
&quot;createTime&quot;: &quot;A String&quot;, # Output only. The create time timestamp.
382464
&quot;description&quot;: &quot;A String&quot;, # User-provided description of the source.
383465
&quot;labels&quot;: { # The labels of the source.
@@ -448,6 +530,29 @@ <h3>Method Details</h3>
448530
&quot;publicIp&quot;: &quot;A String&quot;, # Output only. The source&#x27;s public IP. All communication initiated by this source will originate from this IP.
449531
&quot;state&quot;: &quot;A String&quot;, # Output only. State of the source as determined by the health check.
450532
},
533+
&quot;azure&quot;: { # AzureSourceDetails message describes a specific source details for the Azure source type. # Azure type source details.
534+
&quot;azureLocation&quot;: &quot;A String&quot;, # Immutable. The Azure location (region) that the source VMs will be migrated from.
535+
&quot;clientSecretCreds&quot;: { # Message describing Azure Credentials using tenant ID, client ID and secret. # Azure Credentials using tenant ID, client ID and secret.
536+
&quot;clientId&quot;: &quot;A String&quot;, # Azure client ID.
537+
&quot;clientSecret&quot;: &quot;A String&quot;, # Input only. Azure client secret.
538+
&quot;tenantId&quot;: &quot;A String&quot;, # Azure tenant ID.
539+
},
540+
&quot;error&quot;: { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # Output only. Provides details on the state of the Source in case of an error.
541+
&quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
542+
&quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
543+
{
544+
&quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
545+
},
546+
],
547+
&quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
548+
},
549+
&quot;migrationResourcesUserTags&quot;: { # User specified tags to add to every M2VM generated resource in Azure. These tags will be set in addition to the default tags that are set as part of the migration process. The tags must not begin with the reserved prefix `m4ce` or `m2vm`.
550+
&quot;a_key&quot;: &quot;A String&quot;,
551+
},
552+
&quot;resourceGroupId&quot;: &quot;A String&quot;, # Output only. The ID of the Azure resource group that contains all resources related to the migration process of this source.
553+
&quot;state&quot;: &quot;A String&quot;, # Output only. State of the source as determined by the health check.
554+
&quot;subscriptionId&quot;: &quot;A String&quot;, # Immutable. Azure subscription ID.
555+
},
451556
&quot;createTime&quot;: &quot;A String&quot;, # Output only. The create time timestamp.
452557
&quot;description&quot;: &quot;A String&quot;, # User-provided description of the source.
453558
&quot;labels&quot;: { # The labels of the source.
@@ -525,6 +630,29 @@ <h3>Method Details</h3>
525630
&quot;publicIp&quot;: &quot;A String&quot;, # Output only. The source&#x27;s public IP. All communication initiated by this source will originate from this IP.
526631
&quot;state&quot;: &quot;A String&quot;, # Output only. State of the source as determined by the health check.
527632
},
633+
&quot;azure&quot;: { # AzureSourceDetails message describes a specific source details for the Azure source type. # Azure type source details.
634+
&quot;azureLocation&quot;: &quot;A String&quot;, # Immutable. The Azure location (region) that the source VMs will be migrated from.
635+
&quot;clientSecretCreds&quot;: { # Message describing Azure Credentials using tenant ID, client ID and secret. # Azure Credentials using tenant ID, client ID and secret.
636+
&quot;clientId&quot;: &quot;A String&quot;, # Azure client ID.
637+
&quot;clientSecret&quot;: &quot;A String&quot;, # Input only. Azure client secret.
638+
&quot;tenantId&quot;: &quot;A String&quot;, # Azure tenant ID.
639+
},
640+
&quot;error&quot;: { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # Output only. Provides details on the state of the Source in case of an error.
641+
&quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
642+
&quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
643+
{
644+
&quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
645+
},
646+
],
647+
&quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
648+
},
649+
&quot;migrationResourcesUserTags&quot;: { # User specified tags to add to every M2VM generated resource in Azure. These tags will be set in addition to the default tags that are set as part of the migration process. The tags must not begin with the reserved prefix `m4ce` or `m2vm`.
650+
&quot;a_key&quot;: &quot;A String&quot;,
651+
},
652+
&quot;resourceGroupId&quot;: &quot;A String&quot;, # Output only. The ID of the Azure resource group that contains all resources related to the migration process of this source.
653+
&quot;state&quot;: &quot;A String&quot;, # Output only. State of the source as determined by the health check.
654+
&quot;subscriptionId&quot;: &quot;A String&quot;, # Immutable. Azure subscription ID.
655+
},
528656
&quot;createTime&quot;: &quot;A String&quot;, # Output only. The create time timestamp.
529657
&quot;description&quot;: &quot;A String&quot;, # User-provided description of the source.
530658
&quot;labels&quot;: { # The labels of the source.

0 commit comments

Comments
 (0)