class Azure::DataBox::Mgmt::V2018_01_01::Models::DestinationManagedDiskDetails

Details for the destination compute disks.

Attributes

dataDestinationType[RW]
resource_group_id[RW]

@return [String] Destination Resource Group Id where the Compute disks should be created.

staging_storage_account_id[RW]

@return [String] Arm Id of the storage account that can be used to copy the vhd for staging.

Private Class Methods

mapper() click to toggle source

Mapper for DestinationManagedDiskDetails class as Ruby Hash. This will be used for serialization/deserialization.

# File lib/2018-01-01/generated/azure_mgmt_databox/models/destination_managed_disk_details.rb, line 35
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'ManagedDisk',
    type: {
      name: 'Composite',
      class_name: 'DestinationManagedDiskDetails',
      model_properties: {
        account_id: {
          client_side_validation: true,
          required: false,
          serialized_name: 'accountId',
          type: {
            name: 'String'
          }
        },
        dataDestinationType: {
          client_side_validation: true,
          required: true,
          serialized_name: 'dataDestinationType',
          type: {
            name: 'String'
          }
        },
        resource_group_id: {
          client_side_validation: true,
          required: true,
          serialized_name: 'resourceGroupId',
          type: {
            name: 'String'
          }
        },
        staging_storage_account_id: {
          client_side_validation: true,
          required: true,
          serialized_name: 'stagingStorageAccountId',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end
new() click to toggle source
# File lib/2018-01-01/generated/azure_mgmt_databox/models/destination_managed_disk_details.rb, line 16
def initialize
  @dataDestinationType = "ManagedDisk"
end