Exemplo n.º 1
0
 internal ManagedInstanceData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, IDictionary <string, string> tags, AzureLocation location, ManagedServiceIdentity identity, SqlSku 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, resourceType, 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;
 }
Exemplo n.º 2
0
 internal ComputeInstanceDataDisk(Caching?caching, int?diskSizeGB, int?lun, StorageAccountType?storageAccountType)
 {
     Caching            = caching;
     DiskSizeGB         = diskSizeGB;
     Lun                = lun;
     StorageAccountType = storageAccountType;
 }
Exemplo n.º 3
0
 internal DataDisk(int lun, CachingType?caching, int diskSizeGB, StorageAccountType?storageAccountType)
 {
     Lun                = lun;
     Caching            = caching;
     DiskSizeGB         = diskSizeGB;
     StorageAccountType = storageAccountType;
 }
 internal TargetRegion(string name, int?regionalReplicaCount, StorageAccountType?storageAccountType, EncryptionImages encryption)
 {
     Name = name;
     RegionalReplicaCount = regionalReplicaCount;
     StorageAccountType   = storageAccountType;
     Encryption           = encryption;
 }
Exemplo n.º 5
0
 /// <summary>
 /// Initializes a new instance of the DataDisk class.
 /// </summary>
 /// <param name="lun">The logical unit number.</param>
 /// <param name="diskSizeGB">The initial disk size in GB when creating
 /// new data disk.</param>
 /// <param name="caching">The type of caching to be enabled for the
 /// data disks.</param>
 /// <param name="storageAccountType">The storage account type to be
 /// used for the data disk.</param>
 public DataDisk(int lun, int diskSizeGB, CachingType?caching = default(CachingType?), StorageAccountType?storageAccountType = default(StorageAccountType?))
 {
     Lun                = lun;
     Caching            = caching;
     DiskSizeGB         = diskSizeGB;
     StorageAccountType = storageAccountType;
     CustomInit();
 }
Exemplo n.º 6
0
 internal GalleryTargetExtendedLocation(string name, GalleryExtendedLocation extendedLocation, int?extendedLocationReplicaCount, StorageAccountType?storageAccountType, EncryptionImages encryption)
 {
     Name                         = name;
     ExtendedLocation             = extendedLocation;
     ExtendedLocationReplicaCount = extendedLocationReplicaCount;
     StorageAccountType           = storageAccountType;
     Encryption                   = encryption;
 }
 internal GalleryArtifactPublishingProfileBase(IList <TargetRegion> targetRegions, int?replicaCount, bool?excludeFromLatest, DateTimeOffset?publishedDate, DateTimeOffset?endOfLifeDate, StorageAccountType?storageAccountType)
 {
     TargetRegions      = targetRegions;
     ReplicaCount       = replicaCount;
     ExcludeFromLatest  = excludeFromLatest;
     PublishedDate      = publishedDate;
     EndOfLifeDate      = endOfLifeDate;
     StorageAccountType = storageAccountType;
 }
Exemplo n.º 8
0
 internal GalleryArtifactPublishingProfileBase(IList <TargetRegion> targetRegions, int?replicaCount, bool?excludeFromLatest, DateTimeOffset?publishedOn, DateTimeOffset?endOfLifeOn, StorageAccountType?storageAccountType, ReplicationMode?replicationMode, IList <GalleryTargetExtendedLocation> targetExtendedLocations)
 {
     TargetRegions           = targetRegions;
     ReplicaCount            = replicaCount;
     ExcludeFromLatest       = excludeFromLatest;
     PublishedOn             = publishedOn;
     EndOfLifeOn             = endOfLifeOn;
     StorageAccountType      = storageAccountType;
     ReplicationMode         = replicationMode;
     TargetExtendedLocations = targetExtendedLocations;
 }
Exemplo n.º 9
0
 internal GalleryImageVersionPublishingProfile(IList <TargetRegion> targetRegions, int?replicaCount, bool?excludeFromLatest, DateTimeOffset?publishedOn, DateTimeOffset?endOfLifeOn, StorageAccountType?storageAccountType, ReplicationMode?replicationMode, IList <GalleryTargetExtendedLocation> targetExtendedLocations) : base(targetRegions, replicaCount, excludeFromLatest, publishedOn, endOfLifeOn, storageAccountType, replicationMode, targetExtendedLocations)
 {
 }
 internal GalleryImageVersionPublishingProfile(IList <TargetRegion> targetRegions, int?replicaCount, bool?excludeFromLatest, DateTimeOffset?publishedDate, DateTimeOffset?endOfLifeDate, StorageAccountType?storageAccountType) : base(targetRegions, replicaCount, excludeFromLatest, publishedDate, endOfLifeDate, storageAccountType)
 {
 }
Exemplo n.º 11
0
 internal GalleryApplicationVersionPublishingProfile(IList <TargetRegion> targetRegions, int?replicaCount, bool?excludeFromLatest, DateTimeOffset?publishedDate, DateTimeOffset?endOfLifeDate, StorageAccountType?storageAccountType, UserArtifactSource source, UserArtifactManage manageActions, bool?enableHealthCheck) : base(targetRegions, replicaCount, excludeFromLatest, publishedDate, endOfLifeDate, storageAccountType)
 {
     Source            = source;
     ManageActions     = manageActions;
     EnableHealthCheck = enableHealthCheck;
 }
 internal static string ToSerializedValue(this StorageAccountType?value)
 {
     return(value == null ? null : ((StorageAccountType)value).ToSerializedValue());
 }
Exemplo n.º 13
0
 internal GalleryApplicationVersionPublishingProfile(IList <TargetRegion> targetRegions, int?replicaCount, bool?excludeFromLatest, DateTimeOffset?publishedOn, DateTimeOffset?endOfLifeOn, StorageAccountType?storageAccountType, ReplicationMode?replicationMode, IList <GalleryTargetExtendedLocation> targetExtendedLocations, UserArtifactSource source, UserArtifactManage manageActions, UserArtifactSettings settings, IDictionary <string, string> advancedSettings, bool?enableHealthCheck) : base(targetRegions, replicaCount, excludeFromLatest, publishedOn, endOfLifeOn, storageAccountType, replicationMode, targetExtendedLocations)
 {
     Source            = source;
     ManageActions     = manageActions;
     Settings          = settings;
     AdvancedSettings  = advancedSettings;
     EnableHealthCheck = enableHealthCheck;
 }