Skip to content

Commit

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

The following keys were added:
- schemas.ImageImport.properties.machineImageTargetDefaults.$ref (Total Keys: 1)
- schemas.ImageImportJob.properties.machineImageTargetDetails (Total Keys: 2)
- schemas.MachineImageParametersOverrides (Total Keys: 3)
- schemas.MachineImageTargetDetails (Total Keys: 19)
- schemas.NetworkInterface.properties.networkTier.type (Total Keys: 1)
- schemas.ServiceAccount (Total Keys: 5)
- schemas.ShieldedInstanceConfig (Total Keys: 5)
- schemas.SkipOsAdaptation (Total Keys: 2)

#### vmmigration:v1alpha1

The following keys were added:
- schemas.ImageImport.properties.machineImageTargetDefaults.$ref (Total Keys: 1)
- schemas.ImageImportJob.properties.machineImageTargetDetails (Total Keys: 2)
- schemas.MachineImageParametersOverrides (Total Keys: 3)
- schemas.MachineImageTargetDetails (Total Keys: 19)
- schemas.NetworkInterface.properties.networkTier.type (Total Keys: 1)
- schemas.ServiceAccount (Total Keys: 5)
- schemas.ShieldedInstanceConfig (Total Keys: 5)
- schemas.SkipOsAdaptation (Total Keys: 2)
  • Loading branch information
yoshi-automation committed Jul 25, 2024
1 parent 8fa1081 commit 5dce2c4
Show file tree
Hide file tree
Showing 12 changed files with 1,158 additions and 2 deletions.
282 changes: 282 additions & 0 deletions docs/dyn/vmmigration_v1.projects.locations.imageImports.html

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,53 @@ <h3>Method Details</h3>
&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;machineImageTargetDetails&quot;: { # The target details of the machine image resource that will be created by the image import job. # Output only. Target details used to import a machine image.
&quot;additionalLicenses&quot;: [ # Optional. Additional licenses to assign to the instance created by the machine image. Format: https://www.googleapis.com/compute/v1/projects/PROJECT_ID/global/licenses/LICENSE_NAME Or https://www.googleapis.com/compute/beta/projects/PROJECT_ID/global/licenses/LICENSE_NAME
&quot;A String&quot;,
],
&quot;description&quot;: &quot;A String&quot;, # Optional. An optional description of the machine image.
&quot;encryption&quot;: { # Encryption message describes the details of the applied encryption. # Immutable. The encryption to apply to the machine image.
&quot;kmsKey&quot;: &quot;A String&quot;, # Required. The name of the encryption key that is stored in Google Cloud KMS.
},
&quot;labels&quot;: { # Optional. The labels to apply to the instance created by the machine image.
&quot;a_key&quot;: &quot;A String&quot;,
},
&quot;machineImageName&quot;: &quot;A String&quot;, # Required. The name of the machine image to be created.
&quot;machineImageParametersOverrides&quot;: { # Parameters overriding decisions based on the source machine image configurations. # Optional. Parameters overriding decisions based on the source machine image configurations.
&quot;machineType&quot;: &quot;A String&quot;, # Optional. The machine type to create the MachineImage with. If empty, the service will choose a relevant machine type based on the information from the source image. For more information about machine types, please refer to https://cloud.google.com/compute/docs/machine-resource.
},
&quot;networkInterfaces&quot;: [ # Optional. The network interfaces to create with the instance created by the machine image. Internal and external IP addresses are ignored for machine image import.
{ # NetworkInterface represents a NIC of a VM.
&quot;externalIp&quot;: &quot;A String&quot;, # Optional. The external IP to define in the NIC.
&quot;internalIp&quot;: &quot;A String&quot;, # Optional. The internal IP to define in the NIC. The formats accepted are: `ephemeral` \ ipv4 address \ a named address resource full path.
&quot;network&quot;: &quot;A String&quot;, # The network to connect the NIC to.
&quot;networkTier&quot;: &quot;A String&quot;, # Optional. The networking tier used for configuring network access configuration. If left empty, will default to PREMIUM.
&quot;subnetwork&quot;: &quot;A String&quot;, # Optional. The subnetwork to connect the NIC to.
},
],
&quot;osAdaptationParameters&quot;: { # Parameters affecting the OS adaptation process. # Optional. Use to set the parameters relevant for the OS adaptation process.
&quot;generalize&quot;: True or False, # Optional. Set to true in order to generalize the imported image. The generalization process enables co-existence of multiple VMs created from the same image. For Windows, generalizing the image removes computer-specific information such as installed drivers and the computer security identifier (SID).
&quot;licenseType&quot;: &quot;A String&quot;, # Optional. Choose which type of license to apply to the imported image.
},
&quot;serviceAccount&quot;: { # Service account to assign to the instance created by the machine image. # Optional. The service account to assign to the instance created by the machine image.
&quot;email&quot;: &quot;A String&quot;, # Required. The email address of the service account.
&quot;scopes&quot;: [ # Optional. The list of scopes to be made available for this service account.
&quot;A String&quot;,
],
},
&quot;shieldedInstanceConfig&quot;: { # Shielded instance configuration. # Optional. Shielded instance configuration.
&quot;enableIntegrityMonitoring&quot;: True or False, # Optional. Defines whether the instance created by the machine image has integrity monitoring enabled. This can be set to true only if the image boot option is EFI, and vTPM is enabled.
&quot;enableVtpm&quot;: True or False, # Optional. Defines whether the instance created by the machine image has vTPM enabled. This can be set to true only if the image boot option is EFI.
&quot;secureBoot&quot;: &quot;A String&quot;, # Optional. Defines whether the instance created by the machine image has Secure Boot enabled. This can be set to true only if the image boot option is EFI.
},
&quot;singleRegionStorage&quot;: True or False, # Optional. Set to true to set the machine image storageLocations to the single region of the import job. When false, the closest multi-region is selected.
&quot;skipOsAdaptation&quot;: { # Mentions that the machine image import is not using OS adaptation process. # Optional. Use to skip OS adaptation process.
},
&quot;tags&quot;: [ # Optional. The tags to apply to the instance created by the machine image.
&quot;A String&quot;,
],
&quot;targetProject&quot;: &quot;A String&quot;, # Required. Reference to the TargetProject resource that represents the target project in which the imported machine image will be created.
},
&quot;name&quot;: &quot;A String&quot;, # Output only. The resource path of the ImageImportJob.
&quot;state&quot;: &quot;A String&quot;, # Output only. The state of the image import.
&quot;steps&quot;: [ # Output only. The image import steps list representing its progress.
Expand Down Expand Up @@ -289,6 +336,53 @@ <h3>Method Details</h3>
&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;machineImageTargetDetails&quot;: { # The target details of the machine image resource that will be created by the image import job. # Output only. Target details used to import a machine image.
&quot;additionalLicenses&quot;: [ # Optional. Additional licenses to assign to the instance created by the machine image. Format: https://www.googleapis.com/compute/v1/projects/PROJECT_ID/global/licenses/LICENSE_NAME Or https://www.googleapis.com/compute/beta/projects/PROJECT_ID/global/licenses/LICENSE_NAME
&quot;A String&quot;,
],
&quot;description&quot;: &quot;A String&quot;, # Optional. An optional description of the machine image.
&quot;encryption&quot;: { # Encryption message describes the details of the applied encryption. # Immutable. The encryption to apply to the machine image.
&quot;kmsKey&quot;: &quot;A String&quot;, # Required. The name of the encryption key that is stored in Google Cloud KMS.
},
&quot;labels&quot;: { # Optional. The labels to apply to the instance created by the machine image.
&quot;a_key&quot;: &quot;A String&quot;,
},
&quot;machineImageName&quot;: &quot;A String&quot;, # Required. The name of the machine image to be created.
&quot;machineImageParametersOverrides&quot;: { # Parameters overriding decisions based on the source machine image configurations. # Optional. Parameters overriding decisions based on the source machine image configurations.
&quot;machineType&quot;: &quot;A String&quot;, # Optional. The machine type to create the MachineImage with. If empty, the service will choose a relevant machine type based on the information from the source image. For more information about machine types, please refer to https://cloud.google.com/compute/docs/machine-resource.
},
&quot;networkInterfaces&quot;: [ # Optional. The network interfaces to create with the instance created by the machine image. Internal and external IP addresses are ignored for machine image import.
{ # NetworkInterface represents a NIC of a VM.
&quot;externalIp&quot;: &quot;A String&quot;, # Optional. The external IP to define in the NIC.
&quot;internalIp&quot;: &quot;A String&quot;, # Optional. The internal IP to define in the NIC. The formats accepted are: `ephemeral` \ ipv4 address \ a named address resource full path.
&quot;network&quot;: &quot;A String&quot;, # The network to connect the NIC to.
&quot;networkTier&quot;: &quot;A String&quot;, # Optional. The networking tier used for configuring network access configuration. If left empty, will default to PREMIUM.
&quot;subnetwork&quot;: &quot;A String&quot;, # Optional. The subnetwork to connect the NIC to.
},
],
&quot;osAdaptationParameters&quot;: { # Parameters affecting the OS adaptation process. # Optional. Use to set the parameters relevant for the OS adaptation process.
&quot;generalize&quot;: True or False, # Optional. Set to true in order to generalize the imported image. The generalization process enables co-existence of multiple VMs created from the same image. For Windows, generalizing the image removes computer-specific information such as installed drivers and the computer security identifier (SID).
&quot;licenseType&quot;: &quot;A String&quot;, # Optional. Choose which type of license to apply to the imported image.
},
&quot;serviceAccount&quot;: { # Service account to assign to the instance created by the machine image. # Optional. The service account to assign to the instance created by the machine image.
&quot;email&quot;: &quot;A String&quot;, # Required. The email address of the service account.
&quot;scopes&quot;: [ # Optional. The list of scopes to be made available for this service account.
&quot;A String&quot;,
],
},
&quot;shieldedInstanceConfig&quot;: { # Shielded instance configuration. # Optional. Shielded instance configuration.
&quot;enableIntegrityMonitoring&quot;: True or False, # Optional. Defines whether the instance created by the machine image has integrity monitoring enabled. This can be set to true only if the image boot option is EFI, and vTPM is enabled.
&quot;enableVtpm&quot;: True or False, # Optional. Defines whether the instance created by the machine image has vTPM enabled. This can be set to true only if the image boot option is EFI.
&quot;secureBoot&quot;: &quot;A String&quot;, # Optional. Defines whether the instance created by the machine image has Secure Boot enabled. This can be set to true only if the image boot option is EFI.
},
&quot;singleRegionStorage&quot;: True or False, # Optional. Set to true to set the machine image storageLocations to the single region of the import job. When false, the closest multi-region is selected.
&quot;skipOsAdaptation&quot;: { # Mentions that the machine image import is not using OS adaptation process. # Optional. Use to skip OS adaptation process.
},
&quot;tags&quot;: [ # Optional. The tags to apply to the instance created by the machine image.
&quot;A String&quot;,
],
&quot;targetProject&quot;: &quot;A String&quot;, # Required. Reference to the TargetProject resource that represents the target project in which the imported machine image will be created.
},
&quot;name&quot;: &quot;A String&quot;, # Output only. The resource path of the ImageImportJob.
&quot;state&quot;: &quot;A String&quot;, # Output only. The state of the image import.
&quot;steps&quot;: [ # Output only. The image import steps list representing its progress.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,7 @@ <h3>Method Details</h3>
&quot;externalIp&quot;: &quot;A String&quot;, # Optional. The external IP to define in the NIC.
&quot;internalIp&quot;: &quot;A String&quot;, # Optional. The internal IP to define in the NIC. The formats accepted are: `ephemeral` \ ipv4 address \ a named address resource full path.
&quot;network&quot;: &quot;A String&quot;, # The network to connect the NIC to.
&quot;networkTier&quot;: &quot;A String&quot;, # Optional. The networking tier used for configuring network access configuration. If left empty, will default to PREMIUM.
&quot;subnetwork&quot;: &quot;A String&quot;, # Optional. The subnetwork to connect the NIC to.
},
],
Expand Down Expand Up @@ -345,6 +346,7 @@ <h3>Method Details</h3>
&quot;externalIp&quot;: &quot;A String&quot;, # Optional. The external IP to define in the NIC.
&quot;internalIp&quot;: &quot;A String&quot;, # Optional. The internal IP to define in the NIC. The formats accepted are: `ephemeral` \ ipv4 address \ a named address resource full path.
&quot;network&quot;: &quot;A String&quot;, # The network to connect the NIC to.
&quot;networkTier&quot;: &quot;A String&quot;, # Optional. The networking tier used for configuring network access configuration. If left empty, will default to PREMIUM.
&quot;subnetwork&quot;: &quot;A String&quot;, # Optional. The subnetwork to connect the NIC to.
},
],
Expand Down Expand Up @@ -462,6 +464,7 @@ <h3>Method Details</h3>
&quot;externalIp&quot;: &quot;A String&quot;, # Optional. The external IP to define in the NIC.
&quot;internalIp&quot;: &quot;A String&quot;, # Optional. The internal IP to define in the NIC. The formats accepted are: `ephemeral` \ ipv4 address \ a named address resource full path.
&quot;network&quot;: &quot;A String&quot;, # The network to connect the NIC to.
&quot;networkTier&quot;: &quot;A String&quot;, # Optional. The networking tier used for configuring network access configuration. If left empty, will default to PREMIUM.
&quot;subnetwork&quot;: &quot;A String&quot;, # Optional. The subnetwork to connect the NIC to.
},
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,7 @@ <h3>Method Details</h3>
&quot;externalIp&quot;: &quot;A String&quot;, # Optional. The external IP to define in the NIC.
&quot;internalIp&quot;: &quot;A String&quot;, # Optional. The internal IP to define in the NIC. The formats accepted are: `ephemeral` \ ipv4 address \ a named address resource full path.
&quot;network&quot;: &quot;A String&quot;, # The network to connect the NIC to.
&quot;networkTier&quot;: &quot;A String&quot;, # Optional. The networking tier used for configuring network access configuration. If left empty, will default to PREMIUM.
&quot;subnetwork&quot;: &quot;A String&quot;, # Optional. The subnetwork to connect the NIC to.
},
],
Expand Down Expand Up @@ -455,6 +456,7 @@ <h3>Method Details</h3>
&quot;externalIp&quot;: &quot;A String&quot;, # Optional. The external IP to define in the NIC.
&quot;internalIp&quot;: &quot;A String&quot;, # Optional. The internal IP to define in the NIC. The formats accepted are: `ephemeral` \ ipv4 address \ a named address resource full path.
&quot;network&quot;: &quot;A String&quot;, # The network to connect the NIC to.
&quot;networkTier&quot;: &quot;A String&quot;, # Optional. The networking tier used for configuring network access configuration. If left empty, will default to PREMIUM.
&quot;subnetwork&quot;: &quot;A String&quot;, # Optional. The subnetwork to connect the NIC to.
},
],
Expand Down Expand Up @@ -682,6 +684,7 @@ <h3>Method Details</h3>
&quot;externalIp&quot;: &quot;A String&quot;, # Optional. The external IP to define in the NIC.
&quot;internalIp&quot;: &quot;A String&quot;, # Optional. The internal IP to define in the NIC. The formats accepted are: `ephemeral` \ ipv4 address \ a named address resource full path.
&quot;network&quot;: &quot;A String&quot;, # The network to connect the NIC to.
&quot;networkTier&quot;: &quot;A String&quot;, # Optional. The networking tier used for configuring network access configuration. If left empty, will default to PREMIUM.
&quot;subnetwork&quot;: &quot;A String&quot;, # Optional. The subnetwork to connect the NIC to.
},
],
Expand Down
Loading

0 comments on commit 5dce2c4

Please sign in to comment.