Freigeben über


ArmStorageModelFactory.StorageAccountData Methode

Definition

Initialisiert eine neue instance von StorageAccountData.

public static Azure.ResourceManager.Storage.StorageAccountData StorageAccountData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, System.Collections.Generic.IDictionary<string,string> tags = default, Azure.Core.AzureLocation location = default, Azure.ResourceManager.Storage.Models.StorageSku sku = default, Azure.ResourceManager.Storage.Models.StorageKind? kind = default, Azure.ResourceManager.Models.ManagedServiceIdentity identity = default, Azure.ResourceManager.Resources.Models.ExtendedLocation extendedLocation = default, Azure.ResourceManager.Storage.Models.StorageProvisioningState? provisioningState = default, Azure.ResourceManager.Storage.Models.StorageAccountEndpoints primaryEndpoints = default, Azure.Core.AzureLocation? primaryLocation = default, Azure.ResourceManager.Storage.Models.StorageAccountStatus? statusOfPrimary = default, DateTimeOffset? lastGeoFailoverOn = default, Azure.Core.AzureLocation? secondaryLocation = default, Azure.ResourceManager.Storage.Models.StorageAccountStatus? statusOfSecondary = default, DateTimeOffset? createdOn = default, Azure.ResourceManager.Storage.Models.StorageCustomDomain customDomain = default, Azure.ResourceManager.Storage.Models.StorageAccountSasPolicy sasPolicy = default, int? keyExpirationPeriodInDays = default, Azure.ResourceManager.Storage.Models.StorageAccountKeyCreationTime keyCreationTime = default, Azure.ResourceManager.Storage.Models.StorageAccountEndpoints secondaryEndpoints = default, Azure.ResourceManager.Storage.Models.StorageAccountEncryption encryption = default, Azure.ResourceManager.Storage.Models.StorageAccountAccessTier? accessTier = default, Azure.ResourceManager.Storage.Models.FilesIdentityBasedAuthentication azureFilesIdentityBasedAuthentication = default, bool? enableHttpsTrafficOnly = default, Azure.ResourceManager.Storage.Models.StorageAccountNetworkRuleSet networkRuleSet = default, bool? isSftpEnabled = default, bool? isLocalUserEnabled = default, bool? isHnsEnabled = default, Azure.ResourceManager.Storage.Models.GeoReplicationStatistics geoReplicationStats = default, bool? isFailoverInProgress = default, Azure.ResourceManager.Storage.Models.LargeFileSharesState? largeFileSharesState = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Storage.StoragePrivateEndpointConnectionData> privateEndpointConnections = default, Azure.ResourceManager.Storage.Models.StorageRoutingPreference routingPreference = default, Azure.ResourceManager.Storage.Models.BlobRestoreStatus blobRestoreStatus = default, bool? allowBlobPublicAccess = default, Azure.ResourceManager.Storage.Models.StorageMinimumTlsVersion? minimumTlsVersion = default, bool? allowSharedKeyAccess = default, bool? isNfsV3Enabled = default, bool? allowCrossTenantReplication = default, bool? isDefaultToOAuthAuthentication = default, Azure.ResourceManager.Storage.Models.StoragePublicNetworkAccess? publicNetworkAccess = default, Azure.ResourceManager.Storage.Models.ImmutableStorageAccount immutableStorageWithVersioning = default, Azure.ResourceManager.Storage.Models.AllowedCopyScope? allowedCopyScope = default, Azure.ResourceManager.Storage.Models.StorageAccountSkuConversionStatus storageAccountSkuConversionStatus = default, Azure.ResourceManager.Storage.Models.StorageDnsEndpointType? dnsEndpointType = default);
static member StorageAccountData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * System.Collections.Generic.IDictionary<string, string> * Azure.Core.AzureLocation * Azure.ResourceManager.Storage.Models.StorageSku * Nullable<Azure.ResourceManager.Storage.Models.StorageKind> * Azure.ResourceManager.Models.ManagedServiceIdentity * Azure.ResourceManager.Resources.Models.ExtendedLocation * Nullable<Azure.ResourceManager.Storage.Models.StorageProvisioningState> * Azure.ResourceManager.Storage.Models.StorageAccountEndpoints * Nullable<Azure.Core.AzureLocation> * Nullable<Azure.ResourceManager.Storage.Models.StorageAccountStatus> * Nullable<DateTimeOffset> * Nullable<Azure.Core.AzureLocation> * Nullable<Azure.ResourceManager.Storage.Models.StorageAccountStatus> * Nullable<DateTimeOffset> * Azure.ResourceManager.Storage.Models.StorageCustomDomain * Azure.ResourceManager.Storage.Models.StorageAccountSasPolicy * Nullable<int> * Azure.ResourceManager.Storage.Models.StorageAccountKeyCreationTime * Azure.ResourceManager.Storage.Models.StorageAccountEndpoints * Azure.ResourceManager.Storage.Models.StorageAccountEncryption * Nullable<Azure.ResourceManager.Storage.Models.StorageAccountAccessTier> * Azure.ResourceManager.Storage.Models.FilesIdentityBasedAuthentication * Nullable<bool> * Azure.ResourceManager.Storage.Models.StorageAccountNetworkRuleSet * Nullable<bool> * Nullable<bool> * Nullable<bool> * Azure.ResourceManager.Storage.Models.GeoReplicationStatistics * Nullable<bool> * Nullable<Azure.ResourceManager.Storage.Models.LargeFileSharesState> * seq<Azure.ResourceManager.Storage.StoragePrivateEndpointConnectionData> * Azure.ResourceManager.Storage.Models.StorageRoutingPreference * Azure.ResourceManager.Storage.Models.BlobRestoreStatus * Nullable<bool> * Nullable<Azure.ResourceManager.Storage.Models.StorageMinimumTlsVersion> * Nullable<bool> * Nullable<bool> * Nullable<bool> * Nullable<bool> * Nullable<Azure.ResourceManager.Storage.Models.StoragePublicNetworkAccess> * Azure.ResourceManager.Storage.Models.ImmutableStorageAccount * Nullable<Azure.ResourceManager.Storage.Models.AllowedCopyScope> * Azure.ResourceManager.Storage.Models.StorageAccountSkuConversionStatus * Nullable<Azure.ResourceManager.Storage.Models.StorageDnsEndpointType> -> Azure.ResourceManager.Storage.StorageAccountData
Public Shared Function StorageAccountData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional location As AzureLocation = Nothing, Optional sku As StorageSku = Nothing, Optional kind As Nullable(Of StorageKind) = Nothing, Optional identity As ManagedServiceIdentity = Nothing, Optional extendedLocation As ExtendedLocation = Nothing, Optional provisioningState As Nullable(Of StorageProvisioningState) = Nothing, Optional primaryEndpoints As StorageAccountEndpoints = Nothing, Optional primaryLocation As Nullable(Of AzureLocation) = Nothing, Optional statusOfPrimary As Nullable(Of StorageAccountStatus) = Nothing, Optional lastGeoFailoverOn As Nullable(Of DateTimeOffset) = Nothing, Optional secondaryLocation As Nullable(Of AzureLocation) = Nothing, Optional statusOfSecondary As Nullable(Of StorageAccountStatus) = Nothing, Optional createdOn As Nullable(Of DateTimeOffset) = Nothing, Optional customDomain As StorageCustomDomain = Nothing, Optional sasPolicy As StorageAccountSasPolicy = Nothing, Optional keyExpirationPeriodInDays As Nullable(Of Integer) = Nothing, Optional keyCreationTime As StorageAccountKeyCreationTime = Nothing, Optional secondaryEndpoints As StorageAccountEndpoints = Nothing, Optional encryption As StorageAccountEncryption = Nothing, Optional accessTier As Nullable(Of StorageAccountAccessTier) = Nothing, Optional azureFilesIdentityBasedAuthentication As FilesIdentityBasedAuthentication = Nothing, Optional enableHttpsTrafficOnly As Nullable(Of Boolean) = Nothing, Optional networkRuleSet As StorageAccountNetworkRuleSet = 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 GeoReplicationStatistics = Nothing, Optional isFailoverInProgress As Nullable(Of Boolean) = Nothing, Optional largeFileSharesState As Nullable(Of LargeFileSharesState) = Nothing, Optional privateEndpointConnections As IEnumerable(Of StoragePrivateEndpointConnectionData) = Nothing, Optional routingPreference As StorageRoutingPreference = Nothing, Optional blobRestoreStatus As BlobRestoreStatus = Nothing, Optional allowBlobPublicAccess As Nullable(Of Boolean) = Nothing, Optional minimumTlsVersion As Nullable(Of StorageMinimumTlsVersion) = Nothing, Optional allowSharedKeyAccess As Nullable(Of Boolean) = Nothing, Optional isNfsV3Enabled As Nullable(Of Boolean) = Nothing, Optional allowCrossTenantReplication As Nullable(Of Boolean) = Nothing, Optional isDefaultToOAuthAuthentication As Nullable(Of Boolean) = Nothing, Optional publicNetworkAccess As Nullable(Of StoragePublicNetworkAccess) = Nothing, Optional immutableStorageWithVersioning As ImmutableStorageAccount = Nothing, Optional allowedCopyScope As Nullable(Of AllowedCopyScope) = Nothing, Optional storageAccountSkuConversionStatus As StorageAccountSkuConversionStatus = Nothing, Optional dnsEndpointType As Nullable(Of StorageDnsEndpointType) = Nothing) As StorageAccountData

Parameter

id
ResourceIdentifier

Die ID.

name
String

Der Name.

resourceType
ResourceType

Der resourceType.

systemData
SystemData

SystemData.

tags
IDictionary<String,String>

Die Tags.

location
AzureLocation

Der Speicherort.

sku
StorageSku

Ruft die SKU ab.

kind
Nullable<StorageKind>

Ruft die Art ab.

identity
ManagedServiceIdentity

Die Identität der Ressource.

extendedLocation
ExtendedLocation

Der extendedLocation-Standort der Ressource.

provisioningState
Nullable<StorageProvisioningState>

Ruft die status des Speicherkontos zum Zeitpunkt des Aufrufs des Vorgangs ab.

primaryEndpoints
StorageAccountEndpoints

Ruft die URLs ab, die zum Abrufen eines öffentlichen Blobs, einer Warteschlange oder eines Tabellenobjekts verwendet werden. Beachten Sie, dass Standard_ZRS- und Premium_LRS konten nur den Blobendpunkt zurückgeben.

primaryLocation
Nullable<AzureLocation>

Ruft den Speicherort des primären Rechenzentrums für das Speicherkonto ab.

statusOfPrimary
Nullable<StorageAccountStatus>

Ruft die status ab, die angibt, ob der primäre Speicherort des Speicherkontos verfügbar oder nicht verfügbar ist.

lastGeoFailoverOn
Nullable<DateTimeOffset>

Ruft den Zeitstempel der letzten instance eines Failovers zum sekundären Standort ab. Nur der letzte Zeitstempel wird beibehalten. Dieses Element wird nicht zurückgegeben, wenn noch nie ein Failover instance. Nur verfügbar, wenn accountType Standard_GRS oder Standard_RAGRS ist.

secondaryLocation
Nullable<AzureLocation>

Ruft den Speicherort der georeplizierten sekundären Instanz für das Speicherkonto ab. Nur verfügbar, wenn accountType Standard_GRS oder Standard_RAGRS ist.

statusOfSecondary
Nullable<StorageAccountStatus>

Ruft die status ab, die angibt, ob der sekundäre Speicherort des Speicherkontos verfügbar oder nicht verfügbar ist. Nur verfügbar, wenn der SKU-Name Standard_GRS oder Standard_RAGRS ist.

createdOn
Nullable<DateTimeOffset>

Ruft das Erstellungsdatum und die Uhrzeit des Speicherkontos in UTC ab.

customDomain
StorageCustomDomain

Ruft die benutzerdefinierte Domäne ab, die der Benutzer diesem Speicherkonto zugewiesen hat.

sasPolicy
StorageAccountSasPolicy

SasPolicy, die dem Speicherkonto zugewiesen ist.

keyExpirationPeriodInDays
Nullable<Int32>

Dem Speicherkonto zugewiesene KeyPolicy.

keyCreationTime
StorageAccountKeyCreationTime

Erstellungszeit von Speicherkontoschlüsseln.

secondaryEndpoints
StorageAccountEndpoints

Ruft die URLs ab, die zum Abrufen eines öffentlichen Blobs, einer Warteschlange oder eines Tabellenobjekts vom sekundären Speicherort des Speicherkontos verwendet werden. Nur verfügbar, wenn der SKU-Name Standard_RAGRS ist.

encryption
StorageAccountEncryption

Verschlüsselungseinstellungen, die für die serverseitige Verschlüsselung für das Speicherkonto verwendet werden sollen.

accessTier
Nullable<StorageAccountAccessTier>

Erforderlich für Speicherkonten, wobei Art = BlobStorage. Die Zugriffsebene wird für die Abrechnung verwendet. Die Zugriffsebene "Premium" ist der Standardwert für den Speicherkontotyp Premium-Blockblobs und kann für den Speicherkontotyp Premium-Blockblobs nicht geändert werden.

azureFilesIdentityBasedAuthentication
FilesIdentityBasedAuthentication

Stellt die identitätsbasierten Authentifizierungseinstellungen für Azure Files bereit.

enableHttpsTrafficOnly
Nullable<Boolean>

Lässt HTTPS-Datenverkehr nur an den Speicherdienst zu, wenn auf TRUE festgelegt ist.

networkRuleSet
StorageAccountNetworkRuleSet

Netzwerkregelsatz.

isSftpEnabled
Nullable<Boolean>

Aktiviert das Secure File Transfer Protocol, wenn es auf TRUE festgelegt ist.

isLocalUserEnabled
Nullable<Boolean>

Aktiviert das Feature "Lokale Benutzer", wenn es auf "true" festgelegt ist.

isHnsEnabled
Nullable<Boolean>

Konto hierarchischerNamespace aktiviert, wenn auf TRUE festgelegt ist.

geoReplicationStats
GeoReplicationStatistics

Georeplikationsstatistiken.

isFailoverInProgress
Nullable<Boolean>

Wenn das Failover ausgeführt wird, ist der Wert true, andernfalls ist er NULL.

largeFileSharesState
Nullable<LargeFileSharesState>

Lassen Sie große Dateifreigaben zu, wenn aktiviert ist. Es kann nicht deaktiviert werden, sobald es aktiviert ist.

privateEndpointConnections
IEnumerable<StoragePrivateEndpointConnectionData>

Liste der privaten Endpunktverbindungen, die dem angegebenen Speicherkonto zugeordnet sind.

routingPreference
StorageRoutingPreference

Verwaltet Informationen zur Netzwerkroutingauswahl, die der Benutzer für die Datenübertragung ausgewählt hat.

blobRestoreStatus
BlobRestoreStatus

Blobwiederherstellung status.

allowBlobPublicAccess
Nullable<Boolean>

Zulassen oder Verweigern des öffentlichen Zugriffs auf alle Blobs oder Container im Speicherkonto. Die Standardinterpretation ist true für diese Eigenschaft.

minimumTlsVersion
Nullable<StorageMinimumTlsVersion>

Legen Sie die TLS-Mindestversion fest, die für Anforderungen auf Speicher zulässig sein soll. Die Standardinterpretation ist TLS 1.0 für diese Eigenschaft.

allowSharedKeyAccess
Nullable<Boolean>

Gibt an, ob das Speicherkonto die Autorisierung von Anforderungen mit dem Kontozugriffsschlüssel über gemeinsam genutzten Schlüssel zulässt. Wenn false, müssen alle Anforderungen, einschließlich Shared Access Signatures, mit Azure Active Directory (Azure AD) autorisiert werden. Der Standardwert ist NULL, was true entspricht.

isNfsV3Enabled
Nullable<Boolean>

NfS 3.0-Protokollunterstützung aktiviert, wenn auf TRUE festgelegt.

allowCrossTenantReplication
Nullable<Boolean>

Die AAD-Mandantenobjektreplikation zulassen oder nicht zulassen. Die Standardinterpretation ist true für diese Eigenschaft.

isDefaultToOAuthAuthentication
Nullable<Boolean>

Ein boolesches Flag, das angibt, ob die Standardauthentifizierung OAuth ist oder nicht. Die Standardinterpretation ist false für diese Eigenschaft.

publicNetworkAccess
Nullable<StoragePublicNetworkAccess>

Zulassen oder Verweigern des Zugriffs auf das Speicherkonto durch öffentliche Netzwerke. Der Wert ist optional, aber wenn er übergeben wird, muss "Aktiviert" oder "Deaktiviert" sein.

immutableStorageWithVersioning
ImmutableStorageAccount

Die Eigenschaft ist unveränderlich und kann nur zum Zeitpunkt der Kontoerstellung auf TRUE festgelegt werden. Wenn dieser Wert auf TRUE festgelegt ist, wird standardmäßig die Unveränderlichkeit auf Objektebene für alle Container im Konto aktiviert.

allowedCopyScope
Nullable<AllowedCopyScope>

Schränken Sie das Kopieren auf und aus Speicherkonten innerhalb eines AAD-Mandanten oder mit privaten Links in dasselbe VNet ein.

storageAccountSkuConversionStatus
StorageAccountSkuConversionStatus

Diese Eigenschaft ist readOnly und wird vom Server während der sKU-Konvertierungsvorgänge für asynchrone Speicherkonten festgelegt.

dnsEndpointType
Nullable<StorageDnsEndpointType>

Ermöglicht es Ihnen, den Typ des Endpunkts anzugeben. Legen Sie dies auf AzureDNSZone fest, um eine große Anzahl von Konten in einem einzelnen Abonnement zu erstellen. Dadurch werden Konten in einer Azure DNS-Zone erstellt, und die Endpunkt-URL weist einen alphanumerischen DNS-Zonenbezeichner auf.

Gibt zurück

Eine neue StorageAccountData instance zum Simulieren.

Gilt für: