コード例 #1
0
 internal StorageAccountData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, IDictionary <string, string> tags, AzureLocation location, StorageSku sku, StorageKind?kind, ManagedServiceIdentity identity, ExtendedLocation extendedLocation, ProvisioningState?provisioningState, Endpoints primaryEndpoints, string primaryLocation, AccountStatus?statusOfPrimary, DateTimeOffset?lastGeoFailoverOn, string secondaryLocation, AccountStatus?statusOfSecondary, DateTimeOffset?creationOn, CustomDomain customDomain, SasPolicy sasPolicy, KeyPolicy keyPolicy, KeyCreationTime keyCreationTime, Endpoints secondaryEndpoints, Encryption encryption, AccessTier?accessTier, AzureFilesIdentityBasedAuthentication azureFilesIdentityBasedAuthentication, bool?enableHttpsTrafficOnly, NetworkRuleSet networkRuleSet, bool?isSftpEnabled, bool?isLocalUserEnabled, bool?isHnsEnabled, GeoReplicationStats geoReplicationStats, bool?failoverInProgress, LargeFileSharesState?largeFileSharesState, IReadOnlyList <StoragePrivateEndpointConnectionData> privateEndpointConnections, RoutingPreference routingPreference, BlobRestoreStatus blobRestoreStatus, bool?allowBlobPublicAccess, MinimumTlsVersion?minimumTlsVersion, bool?allowSharedKeyAccess, bool?enableNfsV3, bool?allowCrossTenantReplication, bool?defaultToOAuthAuthentication, PublicNetworkAccess?publicNetworkAccess, ImmutableStorageAccount immutableStorageWithVersioning, AllowedCopyScope?allowedCopyScope, StorageAccountSkuConversionStatus storageAccountSkuConversionStatus, DnsEndpointType?dnsEndpointType) : base(id, name, resourceType, systemData, tags, location)
 {
     Sku                = sku;
     Kind               = kind;
     Identity           = identity;
     ExtendedLocation   = extendedLocation;
     ProvisioningState  = provisioningState;
     PrimaryEndpoints   = primaryEndpoints;
     PrimaryLocation    = primaryLocation;
     StatusOfPrimary    = statusOfPrimary;
     LastGeoFailoverOn  = lastGeoFailoverOn;
     SecondaryLocation  = secondaryLocation;
     StatusOfSecondary  = statusOfSecondary;
     CreationOn         = creationOn;
     CustomDomain       = customDomain;
     SasPolicy          = sasPolicy;
     KeyPolicy          = keyPolicy;
     KeyCreationTime    = keyCreationTime;
     SecondaryEndpoints = secondaryEndpoints;
     Encryption         = encryption;
     AccessTier         = accessTier;
     AzureFilesIdentityBasedAuthentication = azureFilesIdentityBasedAuthentication;
     EnableHttpsTrafficOnly     = enableHttpsTrafficOnly;
     NetworkRuleSet             = networkRuleSet;
     IsSftpEnabled              = isSftpEnabled;
     IsLocalUserEnabled         = isLocalUserEnabled;
     IsHnsEnabled               = isHnsEnabled;
     GeoReplicationStats        = geoReplicationStats;
     FailoverInProgress         = failoverInProgress;
     LargeFileSharesState       = largeFileSharesState;
     PrivateEndpointConnections = privateEndpointConnections;
     RoutingPreference          = routingPreference;
     BlobRestoreStatus          = blobRestoreStatus;
     AllowBlobPublicAccess      = allowBlobPublicAccess;
     MinimumTlsVersion          = minimumTlsVersion;
     AllowSharedKeyAccess       = allowSharedKeyAccess;
     EnableNfsV3 = enableNfsV3;
     AllowCrossTenantReplication    = allowCrossTenantReplication;
     DefaultToOAuthAuthentication   = defaultToOAuthAuthentication;
     PublicNetworkAccess            = publicNetworkAccess;
     ImmutableStorageWithVersioning = immutableStorageWithVersioning;
     AllowedCopyScope = allowedCopyScope;
     StorageAccountSkuConversionStatus = storageAccountSkuConversionStatus;
     DnsEndpointType = dnsEndpointType;
 }
コード例 #2
0
 internal StorageAccountData(ResourceIdentifier id, string name, ResourceType type, IDictionary <string, string> tags, Location location, Models.Sku sku, Kind?kind, Identity identity, ExtendedLocation extendedLocation, ProvisioningState?provisioningState, Endpoints primaryEndpoints, string primaryLocation, AccountStatus?statusOfPrimary, DateTimeOffset?lastGeoFailoverTime, string secondaryLocation, AccountStatus?statusOfSecondary, DateTimeOffset?creationTime, CustomDomain customDomain, SasPolicy sasPolicy, KeyPolicy keyPolicy, KeyCreationTime keyCreationTime, Endpoints secondaryEndpoints, Encryption encryption, AccessTier?accessTier, AzureFilesIdentityBasedAuthentication azureFilesIdentityBasedAuthentication, bool?enableHttpsTrafficOnly, NetworkRuleSet networkRuleSet, bool?isHnsEnabled, GeoReplicationStats geoReplicationStats, bool?failoverInProgress, LargeFileSharesState?largeFileSharesState, IReadOnlyList <PrivateEndpointConnectionData> privateEndpointConnections, RoutingPreference routingPreference, BlobRestoreStatus blobRestoreStatus, bool?allowBlobPublicAccess, MinimumTlsVersion?minimumTlsVersion, bool?allowSharedKeyAccess, bool?enableNfsV3, bool?allowCrossTenantReplication) : base(id, name, type, tags, location)
 {
     Sku                 = sku;
     Kind                = kind;
     Identity            = identity;
     ExtendedLocation    = extendedLocation;
     ProvisioningState   = provisioningState;
     PrimaryEndpoints    = primaryEndpoints;
     PrimaryLocation     = primaryLocation;
     StatusOfPrimary     = statusOfPrimary;
     LastGeoFailoverTime = lastGeoFailoverTime;
     SecondaryLocation   = secondaryLocation;
     StatusOfSecondary   = statusOfSecondary;
     CreationTime        = creationTime;
     CustomDomain        = customDomain;
     SasPolicy           = sasPolicy;
     KeyPolicy           = keyPolicy;
     KeyCreationTime     = keyCreationTime;
     SecondaryEndpoints  = secondaryEndpoints;
     Encryption          = encryption;
     AccessTier          = accessTier;
     AzureFilesIdentityBasedAuthentication = azureFilesIdentityBasedAuthentication;
     EnableHttpsTrafficOnly     = enableHttpsTrafficOnly;
     NetworkRuleSet             = networkRuleSet;
     IsHnsEnabled               = isHnsEnabled;
     GeoReplicationStats        = geoReplicationStats;
     FailoverInProgress         = failoverInProgress;
     LargeFileSharesState       = largeFileSharesState;
     PrivateEndpointConnections = privateEndpointConnections;
     RoutingPreference          = routingPreference;
     BlobRestoreStatus          = blobRestoreStatus;
     AllowBlobPublicAccess      = allowBlobPublicAccess;
     MinimumTlsVersion          = minimumTlsVersion;
     AllowSharedKeyAccess       = allowSharedKeyAccess;
     EnableNfsV3 = enableNfsV3;
     AllowCrossTenantReplication = allowCrossTenantReplication;
 }
コード例 #3
0
 internal UserManagedHttpsContent(CertificateSource certificateSource, ProtocolType protocolType, MinimumTlsVersion?minimumTlsVersion, KeyVaultCertificateSourceDefinition certificateSourceParameters) : base(certificateSource, protocolType, minimumTlsVersion)
 {
     CertificateSourceParameters = certificateSourceParameters;
     CertificateSource           = certificateSource;
 }
コード例 #4
0
 internal CdnManagedHttpsContent(CertificateSource certificateSource, ProtocolType protocolType, MinimumTlsVersion?minimumTlsVersion, CdnCertificateSource certificateSourceParameters) : base(certificateSource, protocolType, minimumTlsVersion)
 {
     CertificateSourceParameters = certificateSourceParameters;
     CertificateSource           = certificateSource;
 }
コード例 #5
0
 internal CustomDomainHttpsContent(CertificateSource certificateSource, ProtocolType protocolType, MinimumTlsVersion?minimumTlsVersion)
 {
     CertificateSource = certificateSource;
     ProtocolType      = protocolType;
     MinimumTlsVersion = minimumTlsVersion;
 }
コード例 #6
0
 /// <summary>
 /// Initializes a new instance of the CustomDomainHttpsParameters
 /// class.
 /// </summary>
 /// <param name="protocolType">Defines the TLS extension protocol that
 /// is used for secure delivery. Possible values include:
 /// 'ServerNameIndication', 'IPBased'</param>
 /// <param name="minimumTlsVersion">TLS protocol version that will be
 /// used for Https. Possible values include: 'None', 'TLS10',
 /// 'TLS12'</param>
 public CustomDomainHttpsParameters(string protocolType, MinimumTlsVersion?minimumTlsVersion = default(MinimumTlsVersion?))
 {
     ProtocolType      = protocolType;
     MinimumTlsVersion = minimumTlsVersion;
     CustomInit();
 }
コード例 #7
0
 internal static string ToSerializedValue(this MinimumTlsVersion?value)
 {
     return(value == null ? null : ((MinimumTlsVersion)value).ToSerializedValue());
 }
コード例 #8
0
 /// <summary>
 /// Initializes a new instance of the UserManagedHttpsParameters class.
 /// </summary>
 /// <param name="protocolType">Defines the TLS extension protocol that
 /// is used for secure delivery. Possible values include:
 /// 'ServerNameIndication', 'IPBased'</param>
 /// <param name="certificateSourceParameters">Defines the certificate
 /// source parameters using user's keyvault certificate for enabling
 /// SSL.</param>
 /// <param name="minimumTlsVersion">TLS protocol version that will be
 /// used for Https. Possible values include: 'None', 'TLS10',
 /// 'TLS12'</param>
 public UserManagedHttpsParameters(string protocolType, KeyVaultCertificateSourceParameters certificateSourceParameters, MinimumTlsVersion?minimumTlsVersion = default(MinimumTlsVersion?))
     : base(protocolType, minimumTlsVersion)
 {
     CertificateSourceParameters = certificateSourceParameters;
     CustomInit();
 }