StorageAccount コンストラクター
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
オーバーロード
StorageAccount()
StorageAccount クラスの新しいインスタンスを初期化します。
public StorageAccount ();
Public Sub New ()
適用対象
StorageAccount(String, String, String, String, IDictionary<String, String>, Sku, String, Identity, ExtendedLocation, Nullable<ProvisioningState>, Endpoints, String, Nullable<AccountStatus>, Nullable<DateTime>, String, Nullable<AccountStatus>, Nullable<DateTime>, CustomDomain, SasPolicy, KeyPolicy, KeyCreationTime, Endpoints, Encryption, Nullable<AccessTier>, AzureFilesIdentityBasedAuthentication, Nullable<Boolean>, NetworkRuleSet, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, GeoReplicationStats, Nullable<Boolean>, String, IList<PrivateEndpointConnection>, RoutingPreference, BlobRestoreStatus, Nullable<Boolean>, String, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, String, ImmutableStorageAccount, String, StorageAccountSkuConversionStatus, String)
StorageAccount クラスの新しいインスタンスを初期化します。
public StorageAccount (string location, string id = default, string name = default, string type = default, System.Collections.Generic.IDictionary<string,string> tags = default, Microsoft.Azure.Management.Storage.Models.Sku sku = default, string kind = default, Microsoft.Azure.Management.Storage.Models.Identity identity = default, Microsoft.Azure.Management.Storage.Models.ExtendedLocation extendedLocation = default, Microsoft.Azure.Management.Storage.Models.ProvisioningState? provisioningState = default, Microsoft.Azure.Management.Storage.Models.Endpoints primaryEndpoints = default, string primaryLocation = default, Microsoft.Azure.Management.Storage.Models.AccountStatus? statusOfPrimary = default, DateTime? lastGeoFailoverTime = default, string secondaryLocation = default, Microsoft.Azure.Management.Storage.Models.AccountStatus? statusOfSecondary = default, DateTime? creationTime = default, Microsoft.Azure.Management.Storage.Models.CustomDomain customDomain = default, Microsoft.Azure.Management.Storage.Models.SasPolicy sasPolicy = default, Microsoft.Azure.Management.Storage.Models.KeyPolicy keyPolicy = default, Microsoft.Azure.Management.Storage.Models.KeyCreationTime keyCreationTime = default, Microsoft.Azure.Management.Storage.Models.Endpoints secondaryEndpoints = default, Microsoft.Azure.Management.Storage.Models.Encryption encryption = default, Microsoft.Azure.Management.Storage.Models.AccessTier? accessTier = default, Microsoft.Azure.Management.Storage.Models.AzureFilesIdentityBasedAuthentication azureFilesIdentityBasedAuthentication = default, bool? enableHttpsTrafficOnly = default, Microsoft.Azure.Management.Storage.Models.NetworkRuleSet networkRuleSet = default, bool? isSftpEnabled = default, bool? isLocalUserEnabled = default, bool? isHnsEnabled = default, Microsoft.Azure.Management.Storage.Models.GeoReplicationStats geoReplicationStats = default, bool? failoverInProgress = default, string largeFileSharesState = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Storage.Models.PrivateEndpointConnection> privateEndpointConnections = default, Microsoft.Azure.Management.Storage.Models.RoutingPreference routingPreference = default, Microsoft.Azure.Management.Storage.Models.BlobRestoreStatus blobRestoreStatus = default, bool? allowBlobPublicAccess = default, string minimumTlsVersion = default, bool? allowSharedKeyAccess = default, bool? enableNfsV3 = default, bool? allowCrossTenantReplication = default, bool? defaultToOAuthAuthentication = default, string publicNetworkAccess = default, Microsoft.Azure.Management.Storage.Models.ImmutableStorageAccount immutableStorageWithVersioning = default, string allowedCopyScope = default, Microsoft.Azure.Management.Storage.Models.StorageAccountSkuConversionStatus storageAccountSkuConversionStatus = default, string dnsEndpointType = default);
new Microsoft.Azure.Management.Storage.Models.StorageAccount : string * string * string * string * System.Collections.Generic.IDictionary<string, string> * Microsoft.Azure.Management.Storage.Models.Sku * string * Microsoft.Azure.Management.Storage.Models.Identity * Microsoft.Azure.Management.Storage.Models.ExtendedLocation * Nullable<Microsoft.Azure.Management.Storage.Models.ProvisioningState> * Microsoft.Azure.Management.Storage.Models.Endpoints * string * Nullable<Microsoft.Azure.Management.Storage.Models.AccountStatus> * Nullable<DateTime> * string * Nullable<Microsoft.Azure.Management.Storage.Models.AccountStatus> * Nullable<DateTime> * Microsoft.Azure.Management.Storage.Models.CustomDomain * Microsoft.Azure.Management.Storage.Models.SasPolicy * Microsoft.Azure.Management.Storage.Models.KeyPolicy * Microsoft.Azure.Management.Storage.Models.KeyCreationTime * Microsoft.Azure.Management.Storage.Models.Endpoints * Microsoft.Azure.Management.Storage.Models.Encryption * Nullable<Microsoft.Azure.Management.Storage.Models.AccessTier> * Microsoft.Azure.Management.Storage.Models.AzureFilesIdentityBasedAuthentication * Nullable<bool> * Microsoft.Azure.Management.Storage.Models.NetworkRuleSet * Nullable<bool> * Nullable<bool> * Nullable<bool> * Microsoft.Azure.Management.Storage.Models.GeoReplicationStats * Nullable<bool> * string * System.Collections.Generic.IList<Microsoft.Azure.Management.Storage.Models.PrivateEndpointConnection> * Microsoft.Azure.Management.Storage.Models.RoutingPreference * Microsoft.Azure.Management.Storage.Models.BlobRestoreStatus * Nullable<bool> * string * Nullable<bool> * Nullable<bool> * Nullable<bool> * Nullable<bool> * string * Microsoft.Azure.Management.Storage.Models.ImmutableStorageAccount * string * Microsoft.Azure.Management.Storage.Models.StorageAccountSkuConversionStatus * string -> Microsoft.Azure.Management.Storage.Models.StorageAccount
Public Sub New (location As String, Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional sku As Sku = Nothing, Optional kind As String = Nothing, Optional identity As Identity = Nothing, Optional extendedLocation As ExtendedLocation = Nothing, Optional provisioningState As Nullable(Of ProvisioningState) = Nothing, Optional primaryEndpoints As Endpoints = Nothing, Optional primaryLocation As String = Nothing, Optional statusOfPrimary As Nullable(Of AccountStatus) = Nothing, Optional lastGeoFailoverTime As Nullable(Of DateTime) = Nothing, Optional secondaryLocation As String = Nothing, Optional statusOfSecondary As Nullable(Of AccountStatus) = Nothing, Optional creationTime As Nullable(Of DateTime) = Nothing, Optional customDomain As CustomDomain = Nothing, Optional sasPolicy As SasPolicy = Nothing, Optional keyPolicy As KeyPolicy = Nothing, Optional keyCreationTime As KeyCreationTime = Nothing, Optional secondaryEndpoints As Endpoints = Nothing, Optional encryption As Encryption = Nothing, Optional accessTier As Nullable(Of AccessTier) = Nothing, Optional azureFilesIdentityBasedAuthentication As AzureFilesIdentityBasedAuthentication = Nothing, Optional enableHttpsTrafficOnly As Nullable(Of Boolean) = Nothing, Optional networkRuleSet As NetworkRuleSet = Nothing, Optional isSftpEnabled As Nullable(Of Boolean) = Nothing, Optional isLocalUserEnabled As Nullable(Of Boolean) = Nothing, Optional isHnsEnabled As Nullable(Of Boolean) = Nothing, Optional geoReplicationStats As GeoReplicationStats = Nothing, Optional failoverInProgress As Nullable(Of Boolean) = Nothing, Optional largeFileSharesState As String = Nothing, Optional privateEndpointConnections As IList(Of PrivateEndpointConnection) = Nothing, Optional routingPreference As RoutingPreference = Nothing, Optional blobRestoreStatus As BlobRestoreStatus = Nothing, Optional allowBlobPublicAccess As Nullable(Of Boolean) = Nothing, Optional minimumTlsVersion As String = Nothing, Optional allowSharedKeyAccess As Nullable(Of Boolean) = Nothing, Optional enableNfsV3 As Nullable(Of Boolean) = Nothing, Optional allowCrossTenantReplication As Nullable(Of Boolean) = Nothing, Optional defaultToOAuthAuthentication As Nullable(Of Boolean) = Nothing, Optional publicNetworkAccess As String = Nothing, Optional immutableStorageWithVersioning As ImmutableStorageAccount = Nothing, Optional allowedCopyScope As String = Nothing, Optional storageAccountSkuConversionStatus As StorageAccountSkuConversionStatus = Nothing, Optional dnsEndpointType As String = Nothing)
パラメーター
- location
- String
リソースが保存されている地理的な場所
- id
- String
リソースの完全修飾リソース ID。 例 - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- name
- String
リソースの名前
- type
- String
リソースの型。 例: "Microsoft.Compute/virtualMachines" または "Microsoft.Storage/storageAccounts"
- tags
- IDictionary<String,String>
リソース タグ。
- sku
- Sku
SKU を取得します。
- kind
- String
Kind を取得します。 使用できる値は、'Storage'、'StorageV2'、'BlobStorage'、'FileStorage'、'BlockBlobStorage' です。
- identity
- Identity
リソースの ID。
- extendedLocation
- ExtendedLocation
リソースの extendedLocation。
- provisioningState
- Nullable<ProvisioningState>
操作が呼び出されたときのストレージ アカウントの状態を取得します。 使用可能な値は、'Creating'、'ResolvingDNS'、'Succeeded' です。
- primaryEndpoints
- Endpoints
パブリック BLOB、キュー、またはテーブル オブジェクトの取得を実行するために使用される URL を取得します。 Standard_ZRSアカウントとPremium_LRS アカウントでは BLOB エンドポイントのみが返されることに注意してください。
- primaryLocation
- String
ストレージ アカウントのプライマリ データ センターの場所を取得します。
- statusOfPrimary
- Nullable<AccountStatus>
ストレージ アカウントのプライマリの場所が使用可能か使用不可かを示す状態を取得します。 使用可能な値は次のとおりです。'available'、'unavailable'
セカンダリの場所へのフェールオーバーの最新のインスタンスのタイムスタンプを取得します。 最新のタイムスタンプのみが保持されます。 フェールオーバー インスタンスがない場合、この要素は返されません。 accountType がStandard_GRSまたはStandard_RAGRSの場合にのみ使用できます。
- secondaryLocation
- String
ストレージ アカウントの geo レプリケートされたセカンダリの場所を取得します。 accountType がStandard_GRSまたはStandard_RAGRSの場合にのみ使用できます。
- statusOfSecondary
- Nullable<AccountStatus>
ストレージ アカウントのセカンダリの場所が使用可能か使用不可かを示す状態を取得します。 SKU 名がStandard_GRSまたはStandard_RAGRSの場合にのみ使用できます。 使用可能な値は次のとおりです。'available'、'unavailable'
- customDomain
- CustomDomain
ユーザーがこのストレージ アカウントに割り当てたカスタム ドメインを取得します。
- sasPolicy
- SasPolicy
ストレージ アカウントに割り当てられた SasPolicy。
- keyPolicy
- KeyPolicy
ストレージ アカウントに割り当てられた KeyPolicy。
- keyCreationTime
- KeyCreationTime
ストレージ アカウント キーの作成時間。
- secondaryEndpoints
- Endpoints
ストレージ アカウントのセカンダリの場所からパブリック BLOB、キュー、またはテーブル オブジェクトの取得を実行するために使用される URL を取得します。 SKU 名がStandard_RAGRSされている場合にのみ使用できます。
- encryption
- Encryption
ストレージ アカウントのサーバー側暗号化に使用する暗号化設定。
- accessTier
- Nullable<AccessTier>
kind = BlobStorage のストレージ アカウントに必要です。 アクセス層は課金に使用されます。 "Premium" アクセス層は Premium ブロック BLOB ストレージ アカウントの種類の既定値であり、Premium ブロック BLOB ストレージ アカウントの種類に対しては変更できません。 指定できる値は、'Hot'、'Cool'、'Premium' です。
- azureFilesIdentityBasedAuthentication
- AzureFilesIdentityBasedAuthentication
Azure Filesの ID ベースの認証設定を提供します。
- networkRuleSet
- NetworkRuleSet
ネットワーク ルール セット
- geoReplicationStats
- GeoReplicationStats
Geo レプリケーションの統計
- largeFileSharesState
- String
[有効] に設定されている場合は、大きなファイル共有を許可します。 有効にした後は無効にできません。 使用可能な値は 'Disabled'、'Enabled' です。
- privateEndpointConnections
- IList<PrivateEndpointConnection>
指定したストレージ アカウントに関連付けられているプライベート エンドポイント接続の一覧
- routingPreference
- RoutingPreference
データ転送のためにユーザーが選択したネットワーク ルーティングの選択に関する情報を保持します
- blobRestoreStatus
- BlobRestoreStatus
BLOB の復元の状態
ストレージ アカウント内のすべての BLOB またはコンテナーへのパブリック アクセスを許可または禁止します。 このプロパティの既定の解釈は true です。
- minimumTlsVersion
- String
ストレージへの要求で許可される最小 TLS バージョンを設定します。 このプロパティの既定の解釈は TLS 1.0 です。 使用可能な値は、'TLS1_0'、'TLS1_1'、'TLS1_2' です。
ストレージ アカウントが、共有キーを介してアカウント アクセス キーを使用して要求の承認を許可するかどうかを示します。 false の場合、共有アクセス署名を含むすべての要求が Azure Active Directory (Azure AD) で承認されている必要があります。 既定値は null で、true と同じです。
AAD テナント オブジェクト間のレプリケーションを許可または禁止します。 このプロパティの既定の解釈は true です。
既定の認証が OAuth かどうかを示すブール型フラグ。 このプロパティの既定の解釈は false です。
- publicNetworkAccess
- String
ストレージ アカウントへのパブリック ネットワーク アクセスを許可または禁止します。 値は省略可能ですが、渡される場合は、'Enabled' または 'Disabled' である必要があります。 使用可能な値は次のとおりです: 'Enabled'、'Disabled'
- immutableStorageWithVersioning
- ImmutableStorageAccount
プロパティは不変であり、アカウント作成時にのみ true に設定できます。 true に設定すると、アカウント内のすべてのコンテナーのオブジェクト レベルの不変性が既定で有効になります。
- allowedCopyScope
- String
AAD テナント内または同じ VNet へのプライベート リンクを使用して、ストレージ アカウントとの間でコピーを制限します。 使用可能な値は、'PrivateLink'、'AAD' です。
- storageAccountSkuConversionStatus
- StorageAccountSkuConversionStatus
このプロパティは readOnly であり、非同期ストレージ アカウント SKU 変換操作中にサーバーによって設定されます。
- dnsEndpointType
- String
エンドポイントの種類を指定できます。 これを AzureDNSZone に設定して、1 つのサブスクリプションに多数のアカウントを作成します。これにより、Azure DNS ゾーンにアカウントが作成され、エンドポイント URL には英数字の DNS ゾーン識別子が含まれます。 使用可能な値は、'Standard'、'AzureDnsZone' です。
適用対象
Azure SDK for .NET