Class: Google::Apis::VmmigrationV1::AzureSourceDetails
- Inherits:
-
Object
- Object
- Google::Apis::VmmigrationV1::AzureSourceDetails
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/vmmigration_v1/classes.rb,
lib/google/apis/vmmigration_v1/representations.rb,
lib/google/apis/vmmigration_v1/representations.rb
Overview
AzureSourceDetails message describes a specific source details for the Azure source type.
Instance Attribute Summary collapse
-
#azure_location ⇒ String
Immutable.
-
#client_secret_creds ⇒ Google::Apis::VmmigrationV1::ClientSecretCredentials
Message describing Azure Credentials using tenant ID, client ID and secret.
-
#error ⇒ Google::Apis::VmmigrationV1::Status
The
Status
type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. -
#migration_resources_user_tags ⇒ Hash<String,String>
User specified tags to add to every M2VM generated resource in Azure.
-
#resource_group_id ⇒ String
Output only.
-
#state ⇒ String
Output only.
-
#subscription_id ⇒ String
Immutable.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AzureSourceDetails
constructor
A new instance of AzureSourceDetails.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ AzureSourceDetails
Returns a new instance of AzureSourceDetails.
568 569 570 |
# File 'lib/google/apis/vmmigration_v1/classes.rb', line 568 def initialize(**args) update!(**args) end |
Instance Attribute Details
#azure_location ⇒ String
Immutable. The Azure location (region) that the source VMs will be migrated
from.
Corresponds to the JSON property azureLocation
527 528 529 |
# File 'lib/google/apis/vmmigration_v1/classes.rb', line 527 def azure_location @azure_location end |
#client_secret_creds ⇒ Google::Apis::VmmigrationV1::ClientSecretCredentials
Message describing Azure Credentials using tenant ID, client ID and secret.
Corresponds to the JSON property clientSecretCreds
532 533 534 |
# File 'lib/google/apis/vmmigration_v1/classes.rb', line 532 def client_secret_creds @client_secret_creds end |
#error ⇒ Google::Apis::VmmigrationV1::Status
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. 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.
Corresponds to the JSON property error
542 543 544 |
# File 'lib/google/apis/vmmigration_v1/classes.rb', line 542 def error @error end |
#migration_resources_user_tags ⇒ Hash<String,String>
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
.
Corresponds to the JSON property migrationResourcesUserTags
550 551 552 |
# File 'lib/google/apis/vmmigration_v1/classes.rb', line 550 def @migration_resources_user_tags end |
#resource_group_id ⇒ String
Output only. The ID of the Azure resource group that contains all resources
related to the migration process of this source.
Corresponds to the JSON property resourceGroupId
556 557 558 |
# File 'lib/google/apis/vmmigration_v1/classes.rb', line 556 def resource_group_id @resource_group_id end |
#state ⇒ String
Output only. State of the source as determined by the health check.
Corresponds to the JSON property state
561 562 563 |
# File 'lib/google/apis/vmmigration_v1/classes.rb', line 561 def state @state end |
#subscription_id ⇒ String
Immutable. Azure subscription ID.
Corresponds to the JSON property subscriptionId
566 567 568 |
# File 'lib/google/apis/vmmigration_v1/classes.rb', line 566 def subscription_id @subscription_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
573 574 575 576 577 578 579 580 581 |
# File 'lib/google/apis/vmmigration_v1/classes.rb', line 573 def update!(**args) @azure_location = args[:azure_location] if args.key?(:azure_location) @client_secret_creds = args[:client_secret_creds] if args.key?(:client_secret_creds) @error = args[:error] if args.key?(:error) @migration_resources_user_tags = args[:migration_resources_user_tags] if args.key?(:migration_resources_user_tags) @resource_group_id = args[:resource_group_id] if args.key?(:resource_group_id) @state = args[:state] if args.key?(:state) @subscription_id = args[:subscription_id] if args.key?(:subscription_id) end |