共用方式為


IDefinition Interface

Definition

Container interface for all the definitions that need to be implemented.

public interface IDefinition : Microsoft.Azure.Management.ResourceManager.Fluent.Core.GroupableResource.Definition.IWithCreatableResourceGroup<Microsoft.Azure.Management.Storage.Fluent.StorageAccount.Definition.IWithCreate>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.GroupableResource.Definition.IWithExistingResourceGroup<Microsoft.Azure.Management.Storage.Fluent.StorageAccount.Definition.IWithCreate>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.GroupableResource.Definition.IWithGroup<Microsoft.Azure.Management.Storage.Fluent.StorageAccount.Definition.IWithCreate>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.GroupableResource.Definition.IWithNewResourceGroup<Microsoft.Azure.Management.Storage.Fluent.StorageAccount.Definition.IWithCreate>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.IBeta, Microsoft.Azure.Management.ResourceManager.Fluent.Core.Resource.Definition.IDefinitionWithRegion<Microsoft.Azure.Management.Storage.Fluent.StorageAccount.Definition.IWithGroup>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.Resource.Definition.IDefinitionWithTags<Microsoft.Azure.Management.Storage.Fluent.StorageAccount.Definition.IWithCreate>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.ResourceActions.ICreatable<Microsoft.Azure.Management.Storage.Fluent.IStorageAccount>, Microsoft.Azure.Management.Storage.Fluent.StorageAccount.Definition.IBlank, Microsoft.Azure.Management.Storage.Fluent.StorageAccount.Definition.IWithCreateAndAccessTier, Microsoft.Azure.Management.Storage.Fluent.StorageAccount.Definition.IWithGroup
type IDefinition = interface
    interface IBlank
    interface IDefinitionWithRegion<IWithGroup>
    interface IWithGroup
    interface IWithGroup<IWithCreate>
    interface IWithExistingResourceGroup<IWithCreate>
    interface IWithNewResourceGroup<IWithCreate>
    interface IWithCreatableResourceGroup<IWithCreate>
    interface IWithCreate
    interface ICreatable<IStorageAccount>
    interface IIndexable
    interface IWithSku
    interface IWithSkuBeta
    interface IBeta
    interface IWithBlobStorageAccountKind
    interface IWithGeneralPurposeAccountKind
    interface IWithFileStorageAccountKind
    interface IWithBlockBlobStorageAccountKind
    interface IWithEncryption
    interface IWithEncryptionBeta
    interface IWithCustomDomain
    interface IWithManagedServiceIdentity
    interface IWithManagedServiceIdentityBeta
    interface IWithAccessTraffic
    interface IWithNetworkAccess
    interface IWithHns
    interface IWithAzureFilesAadIntegration
    interface IDefinitionWithTags<IWithCreate>
    interface IWithCreateAndAccessTier
Public Interface IDefinition
Implements IBeta, IBlank, ICreatable(Of IStorageAccount), IDefinitionWithRegion(Of IWithGroup), IDefinitionWithTags(Of IWithCreate), IWithCreatableResourceGroup(Of IWithCreate), IWithCreateAndAccessTier, IWithExistingResourceGroup(Of IWithCreate), IWithGroup, IWithGroup(Of IWithCreate), IWithNewResourceGroup(Of IWithCreate)
Implements

Properties

Key (Inherited from IIndexable)
Name

Gets the name of the creatable resource.

(Inherited from ICreatable<T>)

Methods

Create()

Execute the create request.

(Inherited from ICreatable<T>)
CreateAsync(CancellationToken, Boolean)

Puts the request into the queue and allow the HTTP client to execute it when system resources are available.

(Inherited from ICreatable<T>)
WithAccessFromAllNetworks()

Specifies that by default access to storage account should be allowed from all networks.

(Inherited from IWithNetworkAccess)
WithAccessFromAzureServices()

Specifies that access to the storage account should be allowed from applications running on Microsoft Azure services.

(Inherited from IWithNetworkAccess)
WithAccessFromIpAddress(String)

Specifies that access to the storage account from the specific ip address should be allowed.

(Inherited from IWithNetworkAccess)
WithAccessFromIpAddressRange(String)

Specifies that access to the storage account from the specific ip range should be allowed.

(Inherited from IWithNetworkAccess)
WithAccessFromNetworkSubnet(String)

Specifies that access to the storage account from the specific virtual network subnet should be allowed.

(Inherited from IWithNetworkAccess)
WithAccessFromSelectedNetworks()

Specifies that by default access to storage account should be denied from all networks except from those networks specified via WithNetworkAccess.withAccessFromNetworkSubnet(String) WithNetworkAccess.withAccessFromIpAddress(String) and WithNetworkAccess.withAccessFromIpAddressRange(String).

(Inherited from IWithNetworkAccess)
WithAccessTier(AccessTier)

Specifies the access tier used for billing. Access tier cannot be changed more than once every 7 days (168 hours). Access tier cannot be set for StandardLRS, StandardGRS, StandardRAGRS, or PremiumLRS account types.

(Inherited from IWithCreateAndAccessTier)
WithAzureFilesAadIntegrationEnabled(Boolean)

Specifies whether Azure files aad integration is enabled or not.

(Inherited from IWithAzureFilesAadIntegration)
WithBlobEncryption()

Specifies that encryption needs be enabled for blob service.

(Inherited from IWithEncryptionBeta)
WithBlobStorageAccountKind()

Specifies the storage account kind to be "BlobStorage". The access tier is defaulted to be "Hot".

(Inherited from IWithBlobStorageAccountKind)
WithBlockBlobStorageAccountKind()

Specifies the storage account kind to be "BlockBlobStorage".

(Inherited from IWithBlockBlobStorageAccountKind)
WithCustomDomain(CustomDomain)

Specifies the user domain assigned to the storage account.

(Inherited from IWithCustomDomain)
WithCustomDomain(String, Boolean)

Specifies the user domain assigned to the storage account.

(Inherited from IWithCustomDomain)
WithCustomDomain(String)

Specifies the user domain assigned to the storage account.

(Inherited from IWithCustomDomain)
WithEncryption()
Obsolete.

Specifies that encryption needs be enabled for blob service.

(Inherited from IWithEncryption)
WithEncryptionKeyFromKeyVault(String, String, String)

Specifies the KeyVault key to be used as encryption key.

(Inherited from IWithEncryptionBeta)
WithExistingResourceGroup(IResourceGroup)

Associates the resource with an existing resource group.

(Inherited from IWithExistingResourceGroup<T>)
WithExistingResourceGroup(String)

Associates the resource with an existing resource group.

(Inherited from IWithExistingResourceGroup<T>)
WithFileEncryption()

Specifies that encryption needs be enabled for file service.

(Inherited from IWithEncryptionBeta)
WithFileStorageAccountKind()

Specifies the storage account kind to be "FileStorage".

(Inherited from IWithFileStorageAccountKind)
WithGeneralPurposeAccountKind()

Specifies the storage account kind to be "Storage", the kind for general purposes.

(Inherited from IWithGeneralPurposeAccountKind)
WithGeneralPurposeAccountKindV2()

Specifies the storage account kind to be "StorageV2", the kind for general purposes.

(Inherited from IWithGeneralPurposeAccountKind)
WithHnsEnabled(Boolean)

Specifies whether Hns is enabled or not.

(Inherited from IWithHns)
WithNewResourceGroup() (Inherited from IWithNewResourceGroup<T>)
WithNewResourceGroup(ICreatable<IResourceGroup>)

Creates a new resource group to put the resource in, based on the definition specified.

(Inherited from IWithCreatableResourceGroup<T>)
WithNewResourceGroup(String) (Inherited from IWithNewResourceGroup<T>)
WithOnlyHttpsTraffic()

Specifies that only https traffic should be allowed to storage account.

(Inherited from IWithAccessTraffic)
WithoutBlobEncryption()

Disables encryption for blob service.

(Inherited from IWithEncryptionBeta)
WithoutFileEncryption()

Disables encryption for file service.

(Inherited from IWithEncryptionBeta)
WithReadAccessToLogEntriesFromAnyNetwork()

Specifies that read access to the storage logging should be allowed from any network.

(Inherited from IWithNetworkAccess)
WithReadAccessToMetricsFromAnyNetwork()

Specifies that read access to the storage metrics should be allowed from any network.

(Inherited from IWithNetworkAccess)
WithRegion(Region)

Specifies the region for the resource.

(Inherited from IDefinitionWithRegion<T>)
WithRegion(String)

Specifies the region for the resource by name.

(Inherited from IDefinitionWithRegion<T>)
WithSku(SkuName)
Obsolete.

Specifies the sku of the storage account.

(Inherited from IWithSku)
WithSku(StorageAccountSkuType)

Specifies the sku of the storage account.

(Inherited from IWithSkuBeta)
WithSystemAssignedManagedServiceIdentity()

Specifies that implicit managed service identity (MSI) needs to be enabled.

(Inherited from IWithManagedServiceIdentityBeta)
WithTag(String, String)

Adds a tag to the resource.

(Inherited from IDefinitionWithTags<T>)
WithTags(IDictionary<String,String>)

Specifies tags for the resource as a {@link Map}.

(Inherited from IDefinitionWithTags<T>)

Applies to