class Azure::SQL::Mgmt::V2015_05_01_preview::Models::ManagedInstance

An Azure SQL managed instance.

Attributes

administrator_login[RW]

@return [String] Administrator username for the managed instance. Can only be specified when the managed instance is being created (and is required for creation).

administrator_login_password[RW]

@return [String] The administrator login password (required for managed instance creation).

collation[RW]

@return [String] Collation of the managed instance.

dns_zone[RW]

@return [String] The Dns Zone that the managed instance is in.

dns_zone_partner[RW]

@return [String] The resource id of another managed instance whose DNS zone this managed instance will share after creation.

fully_qualified_domain_name[RW]

@return [String] The fully qualified domain name of the managed instance.

identity[RW]

@return [ResourceIdentity] The Azure Active Directory identity of the managed instance.

instance_pool_id[RW]

@return [String] The Id of the instance pool this managed server belongs to.

license_type[RW]

@return [ManagedInstanceLicenseType] The license type. Possible values are 'LicenseIncluded' (regular price inclusive of a new SQL license) and 'BasePrice' (discounted AHB price for bringing your own SQL licenses). Possible values include: 'LicenseIncluded', 'BasePrice'

managed_instance_create_mode[RW]

@return [ManagedServerCreateMode] Specifies the mode of database creation.

Default: Regular instance creation.

Restore: Creates an instance by restoring a set of backups to specific point in time. RestorePointInTime and SourceManagedInstanceId must be specified. Possible values include: 'Default', 'PointInTimeRestore'

proxy_override[RW]

@return [ManagedInstanceProxyOverride] Connection type used for connecting to the instance. Possible values include: 'Proxy', 'Redirect', 'Default'

public_data_endpoint_enabled[RW]

@return [Boolean] Whether or not the public data endpoint is enabled.

restore_point_in_time[RW]

@return [DateTime] Specifies the point in time (ISO8601 format) of the source database that will be restored to create the new database.

sku[RW]

@return [Sku] Managed instance SKU. Allowed values for sku.name: GP_Gen4, GP_Gen5, BC_Gen4, BC_Gen5

source_managed_instance_id[RW]

@return [String] The resource identifier of the source managed instance associated with create operation of this instance.

state[RW]

@return [String] The state of the managed instance.

storage_size_in_gb[RW]

@return [Integer] Storage size in GB. Minimum value: 32. Maximum value:

  1. Increments of 32 GB allowed only.

subnet_id[RW]

@return [String] Subnet resource ID for the managed instance.

timezone_id[RW]

@return [String] Id of the timezone. Allowed values are timezones supported by Windows. Windows keeps details on supported timezones, including the id, in registry under KEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionTime Zones. You can get those registry values via SQL Server by querying SELECT name AS timezone_id FROM sys.time_zone_info. List of Ids can also be obtained by executing [System.TimeZoneInfo]::GetSystemTimeZones() in PowerShell. An example of valid timezone id is “Pacific Standard Time” or “W. Europe Standard Time”.

v_cores[RW]

@return [Integer] The number of vCores. Allowed values: 8, 16, 24, 32, 40, 64, 80.

Private Class Methods

mapper() click to toggle source

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

# File lib/2015-05-01-preview/generated/azure_mgmt_sql/models/managed_instance.rb, line 115
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'ManagedInstance',
    type: {
      name: 'Composite',
      class_name: 'ManagedInstance',
      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: true,
          serialized_name: 'location',
          type: {
            name: 'String'
          }
        },
        tags: {
          client_side_validation: true,
          required: false,
          serialized_name: 'tags',
          type: {
            name: 'Dictionary',
            value: {
                client_side_validation: true,
                required: false,
                serialized_name: 'StringElementType',
                type: {
                  name: 'String'
                }
            }
          }
        },
        identity: {
          client_side_validation: true,
          required: false,
          serialized_name: 'identity',
          type: {
            name: 'Composite',
            class_name: 'ResourceIdentity'
          }
        },
        sku: {
          client_side_validation: true,
          required: false,
          serialized_name: 'sku',
          type: {
            name: 'Composite',
            class_name: 'Sku'
          }
        },
        managed_instance_create_mode: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.managedInstanceCreateMode',
          type: {
            name: 'String'
          }
        },
        fully_qualified_domain_name: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.fullyQualifiedDomainName',
          type: {
            name: 'String'
          }
        },
        administrator_login: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.administratorLogin',
          type: {
            name: 'String'
          }
        },
        administrator_login_password: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.administratorLoginPassword',
          type: {
            name: 'String'
          }
        },
        subnet_id: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.subnetId',
          type: {
            name: 'String'
          }
        },
        state: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.state',
          type: {
            name: 'String'
          }
        },
        license_type: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.licenseType',
          type: {
            name: 'String'
          }
        },
        v_cores: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.vCores',
          type: {
            name: 'Number'
          }
        },
        storage_size_in_gb: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.storageSizeInGB',
          type: {
            name: 'Number'
          }
        },
        collation: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.collation',
          type: {
            name: 'String'
          }
        },
        dns_zone: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.dnsZone',
          type: {
            name: 'String'
          }
        },
        dns_zone_partner: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.dnsZonePartner',
          type: {
            name: 'String'
          }
        },
        public_data_endpoint_enabled: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.publicDataEndpointEnabled',
          type: {
            name: 'Boolean'
          }
        },
        source_managed_instance_id: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.sourceManagedInstanceId',
          type: {
            name: 'String'
          }
        },
        restore_point_in_time: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.restorePointInTime',
          type: {
            name: 'DateTime'
          }
        },
        proxy_override: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.proxyOverride',
          type: {
            name: 'String'
          }
        },
        timezone_id: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.timezoneId',
          type: {
            name: 'String'
          }
        },
        instance_pool_id: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.instancePoolId',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end