class Azure::Kusto::Mgmt::V2019_09_07::Models::AttachedDatabaseConfiguration

Class representing an attached database configuration.

Attributes

attached_database_names[RW]

@return [Array<String>] The list of databases from the clusterResourceId which are currently attached to the cluster.

cluster_resource_id[RW]

@return [String] The resource id of the cluster where the databases you would like to attach reside.

database_name[RW]

@return [String] The name of the database which you would like to attach, use * if you want to follow all current and future databases.

default_principals_modification_kind[RW]

@return [DefaultPrincipalsModificationKind] The default principals modification kind. Possible values include: 'Union', 'Replace', 'None'

location[RW]

@return [String] Resource location.

provisioning_state[RW]

@return [ProvisioningState] The provisioned state of the resource. Possible values include: 'Running', 'Creating', 'Deleting', 'Succeeded', 'Failed', 'Moving'

Public Class Methods

mapper() click to toggle source

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

# File lib/2019-09-07/generated/azure_mgmt_kusto/models/attached_database_configuration.rb, line 44
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'AttachedDatabaseConfiguration',
    type: {
      name: 'Composite',
      class_name: 'AttachedDatabaseConfiguration',
      model_properties: {
        id: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'id',
          type: {
            name: 'String'
          }
        },
        name: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'name',
          type: {
            name: 'String'
          }
        },
        type: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'type',
          type: {
            name: 'String'
          }
        },
        location: {
          client_side_validation: true,
          required: false,
          serialized_name: 'location',
          type: {
            name: 'String'
          }
        },
        provisioning_state: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.provisioningState',
          type: {
            name: 'String'
          }
        },
        database_name: {
          client_side_validation: true,
          required: true,
          serialized_name: 'properties.databaseName',
          type: {
            name: 'String'
          }
        },
        cluster_resource_id: {
          client_side_validation: true,
          required: true,
          serialized_name: 'properties.clusterResourceId',
          type: {
            name: 'String'
          }
        },
        attached_database_names: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.attachedDatabaseNames',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'StringElementType',
                type: {
                  name: 'String'
                }
            }
          }
        },
        default_principals_modification_kind: {
          client_side_validation: true,
          required: true,
          serialized_name: 'properties.defaultPrincipalsModificationKind',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end