internal InstancePoolData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, IDictionary <string, string> tags, AzureLocation location, Models.Sku sku, string subnetId, int?vCores, InstancePoolLicenseType?licenseType) : base(id, name, type, systemData, tags, location)
 {
     Sku         = sku;
     SubnetId    = subnetId;
     VCores      = vCores;
     LicenseType = licenseType;
 }
 internal ManagedInstanceData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, IDictionary <string, string> tags, AzureLocation location, ManagedServiceIdentity identity, Models.Sku sku, ManagedInstancePropertiesProvisioningState?provisioningState, ManagedServerCreateMode?managedInstanceCreateMode, string fullyQualifiedDomainName, string administratorLogin, string administratorLoginPassword, string subnetId, string state, ManagedInstanceLicenseType?licenseType, int?vCores, int?storageSizeInGB, string collation, string dnsZone, string dnsZonePartner, bool?publicDataEndpointEnabled, string sourceManagedInstanceId, DateTimeOffset?restorePointInTime, ManagedInstanceProxyOverride?proxyOverride, string timezoneId, string instancePoolId, string maintenanceConfigurationId, IReadOnlyList <ManagedInstancePecProperty> privateEndpointConnections, string minimalTlsVersion, StorageAccountType?storageAccountType, bool?zoneRedundant, string primaryUserAssignedIdentityId, string keyId, ManagedInstanceExternalAdministrator administrators) : base(id, name, type, systemData, tags, location)
 {
     Identity                      = identity;
     Sku                           = sku;
     ProvisioningState             = provisioningState;
     ManagedInstanceCreateMode     = managedInstanceCreateMode;
     FullyQualifiedDomainName      = fullyQualifiedDomainName;
     AdministratorLogin            = administratorLogin;
     AdministratorLoginPassword    = administratorLoginPassword;
     SubnetId                      = subnetId;
     State                         = state;
     LicenseType                   = licenseType;
     VCores                        = vCores;
     StorageSizeInGB               = storageSizeInGB;
     Collation                     = collation;
     DnsZone                       = dnsZone;
     DnsZonePartner                = dnsZonePartner;
     PublicDataEndpointEnabled     = publicDataEndpointEnabled;
     SourceManagedInstanceId       = sourceManagedInstanceId;
     RestorePointInTime            = restorePointInTime;
     ProxyOverride                 = proxyOverride;
     TimezoneId                    = timezoneId;
     InstancePoolId                = instancePoolId;
     MaintenanceConfigurationId    = maintenanceConfigurationId;
     PrivateEndpointConnections    = privateEndpointConnections;
     MinimalTlsVersion             = minimalTlsVersion;
     StorageAccountType            = storageAccountType;
     ZoneRedundant                 = zoneRedundant;
     PrimaryUserAssignedIdentityId = primaryUserAssignedIdentityId;
     KeyId                         = keyId;
     Administrators                = administrators;
 }
Beispiel #3
0
 internal ElasticPoolData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, IDictionary <string, string> tags, AzureLocation location, Models.Sku sku, string kind, ElasticPoolState?state, DateTimeOffset?creationDate, long?maxSizeBytes, ElasticPoolPerDatabaseSettings perDatabaseSettings, bool?zoneRedundant, ElasticPoolLicenseType?licenseType, string maintenanceConfigurationId) : base(id, name, type, systemData, tags, location)
 {
     Sku                        = sku;
     Kind                       = kind;
     State                      = state;
     CreationDate               = creationDate;
     MaxSizeBytes               = maxSizeBytes;
     PerDatabaseSettings        = perDatabaseSettings;
     ZoneRedundant              = zoneRedundant;
     LicenseType                = licenseType;
     MaintenanceConfigurationId = maintenanceConfigurationId;
 }
 internal RestorableDroppedDatabaseData(ResourceIdentifier id, string name, ResourceType type, Models.Sku sku, string location, IDictionary <string, string> tags, string databaseName, long?maxSizeBytes, string elasticPoolId, DateTimeOffset?creationDate, DateTimeOffset?deletionDate, DateTimeOffset?earliestRestoreDate, RestorableDroppedDatabasePropertiesBackupStorageRedundancy?backupStorageRedundancy) : base(id, name, type)
 {
     Sku                     = sku;
     Location                = location;
     Tags                    = tags;
     DatabaseName            = databaseName;
     MaxSizeBytes            = maxSizeBytes;
     ElasticPoolId           = elasticPoolId;
     CreationDate            = creationDate;
     DeletionDate            = deletionDate;
     EarliestRestoreDate     = earliestRestoreDate;
     BackupStorageRedundancy = backupStorageRedundancy;
 }
 internal SyncGroupData(ResourceIdentifier id, string name, ResourceType type, Models.Sku sku, int?interval, DateTimeOffset?lastSyncTime, SyncConflictResolutionPolicy?conflictResolutionPolicy, string syncDatabaseId, string hubDatabaseUserName, string hubDatabasePassword, SyncGroupState?syncState, SyncGroupSchema schema, bool?enableConflictLogging, int?conflictLoggingRetentionInDays, bool?usePrivateLinkConnection, string privateEndpointName) : base(id, name, type)
 {
     Sku                            = sku;
     Interval                       = interval;
     LastSyncTime                   = lastSyncTime;
     ConflictResolutionPolicy       = conflictResolutionPolicy;
     SyncDatabaseId                 = syncDatabaseId;
     HubDatabaseUserName            = hubDatabaseUserName;
     HubDatabasePassword            = hubDatabasePassword;
     SyncState                      = syncState;
     Schema                         = schema;
     EnableConflictLogging          = enableConflictLogging;
     ConflictLoggingRetentionInDays = conflictLoggingRetentionInDays;
     UsePrivateLinkConnection       = usePrivateLinkConnection;
     PrivateEndpointName            = privateEndpointName;
 }
 internal SqlDatabaseData(ResourceIdentifier id, string name, ResourceType type, IDictionary <string, string> tags, Location location, Models.Sku sku, string kind, string managedBy, CreateMode?createMode, string collation, long?maxSizeBytes, SampleSchemaName?sampleName, string elasticPoolId, string sourceDatabaseId, DatabaseStatus?status, Guid?databaseId, DateTimeOffset?creationDate, string currentServiceObjectiveName, string requestedServiceObjectiveName, string defaultSecondaryLocation, string failoverGroupId, DateTimeOffset?restorePointInTime, DateTimeOffset?sourceDatabaseDeletionDate, string recoveryServicesRecoveryPointId, string longTermRetentionBackupResourceId, string recoverableDatabaseId, string restorableDroppedDatabaseId, CatalogCollationType?catalogCollation, bool?zoneRedundant, DatabaseLicenseType?licenseType, long?maxLogSizeBytes, DateTimeOffset?earliestRestoreDate, DatabaseReadScale?readScale, int?highAvailabilityReplicaCount, SecondaryType?secondaryType, Models.Sku currentSku, int?autoPauseDelay, CurrentBackupStorageRedundancy?currentBackupStorageRedundancy, RequestedBackupStorageRedundancy?requestedBackupStorageRedundancy, double?minCapacity, DateTimeOffset?pausedDate, DateTimeOffset?resumedDate, string maintenanceConfigurationId, bool?isLedgerOn, bool?isInfraEncryptionEnabled) : base(id, name, type, tags, location)
 {
     Sku                               = sku;
     Kind                              = kind;
     ManagedBy                         = managedBy;
     CreateMode                        = createMode;
     Collation                         = collation;
     MaxSizeBytes                      = maxSizeBytes;
     SampleName                        = sampleName;
     ElasticPoolId                     = elasticPoolId;
     SourceDatabaseId                  = sourceDatabaseId;
     Status                            = status;
     DatabaseId                        = databaseId;
     CreationDate                      = creationDate;
     CurrentServiceObjectiveName       = currentServiceObjectiveName;
     RequestedServiceObjectiveName     = requestedServiceObjectiveName;
     DefaultSecondaryLocation          = defaultSecondaryLocation;
     FailoverGroupId                   = failoverGroupId;
     RestorePointInTime                = restorePointInTime;
     SourceDatabaseDeletionDate        = sourceDatabaseDeletionDate;
     RecoveryServicesRecoveryPointId   = recoveryServicesRecoveryPointId;
     LongTermRetentionBackupResourceId = longTermRetentionBackupResourceId;
     RecoverableDatabaseId             = recoverableDatabaseId;
     RestorableDroppedDatabaseId       = restorableDroppedDatabaseId;
     CatalogCollation                  = catalogCollation;
     ZoneRedundant                     = zoneRedundant;
     LicenseType                       = licenseType;
     MaxLogSizeBytes                   = maxLogSizeBytes;
     EarliestRestoreDate               = earliestRestoreDate;
     ReadScale                         = readScale;
     HighAvailabilityReplicaCount      = highAvailabilityReplicaCount;
     SecondaryType                     = secondaryType;
     CurrentSku                        = currentSku;
     AutoPauseDelay                    = autoPauseDelay;
     CurrentBackupStorageRedundancy    = currentBackupStorageRedundancy;
     RequestedBackupStorageRedundancy  = requestedBackupStorageRedundancy;
     MinCapacity                       = minCapacity;
     PausedDate                        = pausedDate;
     ResumedDate                       = resumedDate;
     MaintenanceConfigurationId        = maintenanceConfigurationId;
     IsLedgerOn                        = isLedgerOn;
     IsInfraEncryptionEnabled          = isInfraEncryptionEnabled;
 }
 internal JobAgentData(ResourceIdentifier id, string name, ResourceType type, IDictionary <string, string> tags, Location location, Models.Sku sku, string databaseId, JobAgentState?state) : base(id, name, type, tags, location)
 {
     Sku        = sku;
     DatabaseId = databaseId;
     State      = state;
 }