Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
feat(vmmigration): update the api
#### vmmigration:v1alpha1

The following keys were added:
- schemas.AwsSecurityGroup (Total Keys: 4)
- schemas.AwsSourceDetails (Total Keys: 17)
- schemas.AwsSourceVmDetails (Total Keys: 5)
- schemas.AwsVmDetails (Total Keys: 23)
- schemas.AwsVmsDetails (Total Keys: 4)
- schemas.FetchInventoryResponse.properties.awsVms.$ref (Total Keys: 1)
- schemas.MigratingVm.properties.awsSourceVmDetails (Total Keys: 2)
- schemas.Source.properties.aws.$ref (Total Keys: 1)
  • Loading branch information
yoshi-automation committed Nov 8, 2022
1 parent 1cfdc18 commit 53fdd26
Show file tree
Hide file tree
Showing 3 changed files with 387 additions and 1 deletion.
129 changes: 129 additions & 0 deletions docs/dyn/vmmigration_v1alpha1.projects.locations.sources.html
Expand Up @@ -132,6 +132,31 @@ <h3>Method Details</h3>
The object takes the form of:

{ # Source message describes a specific vm migration Source resource. It contains the source environment information.
&quot;aws&quot;: { # AwsSourceDetails message describes a specific source details for the AWS source type. # AWS type source details.
&quot;accessKeyId&quot;: &quot;A String&quot;, # AWS access key ID.
&quot;awsRegion&quot;: &quot;A String&quot;, # Immutable. The AWS region that the source VMs will be migrated from.
&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.
&quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
&quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
{
&quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
},
],
&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.
},
&quot;inventorySecurityGroupNames&quot;: [ # AWS security group names to limit the scope of the source inventory.
&quot;A String&quot;,
],
&quot;inventoryTags&quot;: { # AWS resource tags to limit the scope of the source inventory.
&quot;a_key&quot;: &quot;A String&quot;,
},
&quot;migrationResourcesUserTags&quot;: { # User specified tags to add to every M2VM generated resource in AWS. 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 `m2vm`.
&quot;a_key&quot;: &quot;A String&quot;,
},
&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.
&quot;secretAccessKey&quot;: &quot;A String&quot;, # Input only. AWS secret access key.
&quot;state&quot;: &quot;A String&quot;, # Output only. State of the source as determined by the health check.
},
&quot;createTime&quot;: &quot;A String&quot;, # Output only. The create time timestamp.
&quot;description&quot;: &quot;A String&quot;, # User-provided description of the source.
&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.
Expand Down Expand Up @@ -241,6 +266,35 @@ <h3>Method Details</h3>
An object of the form:

{ # Response message for fetchInventory.
&quot;awsVms&quot;: { # AWSVmsDetails describes VMs in AWS. # The description of the VMs in a Source of type AWS.
&quot;details&quot;: [ # The details of the AWS VMs.
{ # AwsVmDetails describes a VM in AWS.
&quot;bootOption&quot;: &quot;A String&quot;, # The VM Boot Option.
&quot;committedStorageMb&quot;: &quot;A String&quot;, # The total size of the storage allocated to the VM in MB.
&quot;cpuCount&quot;: 42, # The number of cpus the VM has.
&quot;diskCount&quot;: 42, # The number of disks the VM has.
&quot;displayName&quot;: &quot;A String&quot;, # The display name of the VM. Note that this value is not necessarily unique.
&quot;instanceType&quot;: &quot;A String&quot;, # The instance type of the VM.
&quot;memoryMb&quot;: 42, # The memory size of the VM in MB.
&quot;osDescription&quot;: &quot;A String&quot;, # The VM&#x27;s OS.
&quot;powerState&quot;: &quot;A String&quot;, # Output only. The power state of the VM at the moment list was taken.
&quot;securityGroups&quot;: [ # The security groups the VM belongs to.
{ # AwsSecurityGroup describes a security group of an AWS VM.
&quot;id&quot;: &quot;A String&quot;, # The AWS security group id.
&quot;name&quot;: &quot;A String&quot;, # The AWS security group name.
},
],
&quot;sourceDescription&quot;: &quot;A String&quot;, # The descriptive name of the AWS&#x27;s source this VM is connected to.
&quot;sourceId&quot;: &quot;A String&quot;, # The id of the AWS&#x27;s source this VM is connected to.
&quot;tags&quot;: { # The tags of the VM.
&quot;a_key&quot;: &quot;A String&quot;,
},
&quot;vmId&quot;: &quot;A String&quot;, # The VM ID in AWS.
&quot;vpcId&quot;: &quot;A String&quot;, # The VPC ID the VM belongs to.
&quot;zone&quot;: &quot;A String&quot;, # The AWS zone of the VM.
},
],
},
&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.
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. The timestamp when the source was last queried (if the result is from the cache).
&quot;vmwareVms&quot;: { # VmwareVmsDetails describes VMs in vCenter. # The description of the VMs in a Source of type Vmware.
Expand Down Expand Up @@ -294,6 +348,31 @@ <h3>Method Details</h3>
An object of the form:

{ # Source message describes a specific vm migration Source resource. It contains the source environment information.
&quot;aws&quot;: { # AwsSourceDetails message describes a specific source details for the AWS source type. # AWS type source details.
&quot;accessKeyId&quot;: &quot;A String&quot;, # AWS access key ID.
&quot;awsRegion&quot;: &quot;A String&quot;, # Immutable. The AWS region that the source VMs will be migrated from.
&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.
&quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
&quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
{
&quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
},
],
&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.
},
&quot;inventorySecurityGroupNames&quot;: [ # AWS security group names to limit the scope of the source inventory.
&quot;A String&quot;,
],
&quot;inventoryTags&quot;: { # AWS resource tags to limit the scope of the source inventory.
&quot;a_key&quot;: &quot;A String&quot;,
},
&quot;migrationResourcesUserTags&quot;: { # User specified tags to add to every M2VM generated resource in AWS. 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 `m2vm`.
&quot;a_key&quot;: &quot;A String&quot;,
},
&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.
&quot;secretAccessKey&quot;: &quot;A String&quot;, # Input only. AWS secret access key.
&quot;state&quot;: &quot;A String&quot;, # Output only. State of the source as determined by the health check.
},
&quot;createTime&quot;: &quot;A String&quot;, # Output only. The create time timestamp.
&quot;description&quot;: &quot;A String&quot;, # User-provided description of the source.
&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.
Expand Down Expand Up @@ -341,6 +420,31 @@ <h3>Method Details</h3>
&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.
&quot;sources&quot;: [ # Output only. The list of sources response.
{ # Source message describes a specific vm migration Source resource. It contains the source environment information.
&quot;aws&quot;: { # AwsSourceDetails message describes a specific source details for the AWS source type. # AWS type source details.
&quot;accessKeyId&quot;: &quot;A String&quot;, # AWS access key ID.
&quot;awsRegion&quot;: &quot;A String&quot;, # Immutable. The AWS region that the source VMs will be migrated from.
&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.
&quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
&quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
{
&quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
},
],
&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.
},
&quot;inventorySecurityGroupNames&quot;: [ # AWS security group names to limit the scope of the source inventory.
&quot;A String&quot;,
],
&quot;inventoryTags&quot;: { # AWS resource tags to limit the scope of the source inventory.
&quot;a_key&quot;: &quot;A String&quot;,
},
&quot;migrationResourcesUserTags&quot;: { # User specified tags to add to every M2VM generated resource in AWS. 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 `m2vm`.
&quot;a_key&quot;: &quot;A String&quot;,
},
&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.
&quot;secretAccessKey&quot;: &quot;A String&quot;, # Input only. AWS secret access key.
&quot;state&quot;: &quot;A String&quot;, # Output only. State of the source as determined by the health check.
},
&quot;createTime&quot;: &quot;A String&quot;, # Output only. The create time timestamp.
&quot;description&quot;: &quot;A String&quot;, # User-provided description of the source.
&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.
Expand Down Expand Up @@ -395,6 +499,31 @@ <h3>Method Details</h3>
The object takes the form of:

{ # Source message describes a specific vm migration Source resource. It contains the source environment information.
&quot;aws&quot;: { # AwsSourceDetails message describes a specific source details for the AWS source type. # AWS type source details.
&quot;accessKeyId&quot;: &quot;A String&quot;, # AWS access key ID.
&quot;awsRegion&quot;: &quot;A String&quot;, # Immutable. The AWS region that the source VMs will be migrated from.
&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.
&quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
&quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
{
&quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
},
],
&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.
},
&quot;inventorySecurityGroupNames&quot;: [ # AWS security group names to limit the scope of the source inventory.
&quot;A String&quot;,
],
&quot;inventoryTags&quot;: { # AWS resource tags to limit the scope of the source inventory.
&quot;a_key&quot;: &quot;A String&quot;,
},
&quot;migrationResourcesUserTags&quot;: { # User specified tags to add to every M2VM generated resource in AWS. 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 `m2vm`.
&quot;a_key&quot;: &quot;A String&quot;,
},
&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.
&quot;secretAccessKey&quot;: &quot;A String&quot;, # Input only. AWS secret access key.
&quot;state&quot;: &quot;A String&quot;, # Output only. State of the source as determined by the health check.
},
&quot;createTime&quot;: &quot;A String&quot;, # Output only. The create time timestamp.
&quot;description&quot;: &quot;A String&quot;, # User-provided description of the source.
&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.
Expand Down
Expand Up @@ -138,6 +138,10 @@ <h3>Method Details</h3>
The object takes the form of:

{ # MigratingVm describes the VM that will be migrated from a Source environment and its replication state.
&quot;awsSourceVmDetails&quot;: { # Represent the source AWS VM details. # Output only. Details of the VM from an AWS source.
&quot;committedStorageBytes&quot;: &quot;A String&quot;, # The total size of the disks being migrated in bytes.
&quot;firmware&quot;: &quot;A String&quot;, # The firmware type of the source VM.
},
&quot;computeEngineTargetDefaults&quot;: { # ComputeEngineTargetDefaults is a collection of details for creating a VM in a target Compute Engine project. # Details of the target VM in Compute Engine.
&quot;additionalLicenses&quot;: [ # Additional licenses to assign to the VM.
&quot;A String&quot;,
Expand Down Expand Up @@ -937,6 +941,10 @@ <h3>Method Details</h3>
An object of the form:

{ # MigratingVm describes the VM that will be migrated from a Source environment and its replication state.
&quot;awsSourceVmDetails&quot;: { # Represent the source AWS VM details. # Output only. Details of the VM from an AWS source.
&quot;committedStorageBytes&quot;: &quot;A String&quot;, # The total size of the disks being migrated in bytes.
&quot;firmware&quot;: &quot;A String&quot;, # The firmware type of the source VM.
},
&quot;computeEngineTargetDefaults&quot;: { # ComputeEngineTargetDefaults is a collection of details for creating a VM in a target Compute Engine project. # Details of the target VM in Compute Engine.
&quot;additionalLicenses&quot;: [ # Additional licenses to assign to the VM.
&quot;A String&quot;,
Expand Down Expand Up @@ -1636,6 +1644,10 @@ <h3>Method Details</h3>
{ # Response message for &#x27;ListMigratingVms&#x27; request.
&quot;migratingVms&quot;: [ # Output only. The list of Migrating VMs response.
{ # MigratingVm describes the VM that will be migrated from a Source environment and its replication state.
&quot;awsSourceVmDetails&quot;: { # Represent the source AWS VM details. # Output only. Details of the VM from an AWS source.
&quot;committedStorageBytes&quot;: &quot;A String&quot;, # The total size of the disks being migrated in bytes.
&quot;firmware&quot;: &quot;A String&quot;, # The firmware type of the source VM.
},
&quot;computeEngineTargetDefaults&quot;: { # ComputeEngineTargetDefaults is a collection of details for creating a VM in a target Compute Engine project. # Details of the target VM in Compute Engine.
&quot;additionalLicenses&quot;: [ # Additional licenses to assign to the VM.
&quot;A String&quot;,
Expand Down Expand Up @@ -2339,6 +2351,10 @@ <h3>Method Details</h3>
The object takes the form of:

{ # MigratingVm describes the VM that will be migrated from a Source environment and its replication state.
&quot;awsSourceVmDetails&quot;: { # Represent the source AWS VM details. # Output only. Details of the VM from an AWS source.
&quot;committedStorageBytes&quot;: &quot;A String&quot;, # The total size of the disks being migrated in bytes.
&quot;firmware&quot;: &quot;A String&quot;, # The firmware type of the source VM.
},
&quot;computeEngineTargetDefaults&quot;: { # ComputeEngineTargetDefaults is a collection of details for creating a VM in a target Compute Engine project. # Details of the target VM in Compute Engine.
&quot;additionalLicenses&quot;: [ # Additional licenses to assign to the VM.
&quot;A String&quot;,
Expand Down

0 comments on commit 53fdd26

Please sign in to comment.