ArmFileSharesModelFactory.FileShareProperties Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
FileShareProperties(String, String, Nullable<FileShareMediaTier>, Nullable<FileShareRedundancyLevel>, Nullable<FileShareProtocol>, Nullable<Int32>, Nullable<DateTimeOffset>, Nullable<Int32>, Nullable<DateTimeOffset>, Nullable<Int32>, Nullable<DateTimeOffset>, Nullable<Int32>, Nullable<Int64>, Nullable<ShareRootSquash>, IEnumerable<String>, Nullable<FileShareProvisioningState>, Nullable<FileSharePublicNetworkAccess>, IEnumerable<FileSharePrivateEndpointConnectionData>)
- Source:
- ArmFileSharesModelFactory.cs
public static Azure.ResourceManager.FileShares.Models.FileShareProperties FileShareProperties(string mountName = default, string hostName = default, Azure.ResourceManager.FileShares.Models.FileShareMediaTier? mediaTier = default, Azure.ResourceManager.FileShares.Models.FileShareRedundancyLevel? redundancy = default, Azure.ResourceManager.FileShares.Models.FileShareProtocol? protocol = default, int? provisionedStorageInGiB = default, DateTimeOffset? provisionedStorageNextAllowedDowngradeOn = default, int? provisionedIOPerSec = default, DateTimeOffset? provisionedIOPerSecNextAllowedDowngradeOn = default, int? provisionedThroughputMiBPerSec = default, DateTimeOffset? provisionedThroughputNextAllowedDowngradeOn = default, int? includedBurstIOPerSec = default, long? maxBurstIOPerSecCredits = default, Azure.ResourceManager.FileShares.Models.ShareRootSquash? nfsProtocolRootSquash = default, System.Collections.Generic.IEnumerable<string> publicAccessAllowedSubnets = default, Azure.ResourceManager.FileShares.Models.FileShareProvisioningState? provisioningState = default, Azure.ResourceManager.FileShares.Models.FileSharePublicNetworkAccess? publicNetworkAccess = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.FileShares.FileSharePrivateEndpointConnectionData> privateEndpointConnections = default);
static member FileShareProperties : string * string * Nullable<Azure.ResourceManager.FileShares.Models.FileShareMediaTier> * Nullable<Azure.ResourceManager.FileShares.Models.FileShareRedundancyLevel> * Nullable<Azure.ResourceManager.FileShares.Models.FileShareProtocol> * Nullable<int> * Nullable<DateTimeOffset> * Nullable<int> * Nullable<DateTimeOffset> * Nullable<int> * Nullable<DateTimeOffset> * Nullable<int> * Nullable<int64> * Nullable<Azure.ResourceManager.FileShares.Models.ShareRootSquash> * seq<string> * Nullable<Azure.ResourceManager.FileShares.Models.FileShareProvisioningState> * Nullable<Azure.ResourceManager.FileShares.Models.FileSharePublicNetworkAccess> * seq<Azure.ResourceManager.FileShares.FileSharePrivateEndpointConnectionData> -> Azure.ResourceManager.FileShares.Models.FileShareProperties
Public Shared Function FileShareProperties (Optional mountName As String = Nothing, Optional hostName As String = Nothing, Optional mediaTier As Nullable(Of FileShareMediaTier) = Nothing, Optional redundancy As Nullable(Of FileShareRedundancyLevel) = Nothing, Optional protocol As Nullable(Of FileShareProtocol) = Nothing, Optional provisionedStorageInGiB As Nullable(Of Integer) = Nothing, Optional provisionedStorageNextAllowedDowngradeOn As Nullable(Of DateTimeOffset) = Nothing, Optional provisionedIOPerSec As Nullable(Of Integer) = Nothing, Optional provisionedIOPerSecNextAllowedDowngradeOn As Nullable(Of DateTimeOffset) = Nothing, Optional provisionedThroughputMiBPerSec As Nullable(Of Integer) = Nothing, Optional provisionedThroughputNextAllowedDowngradeOn As Nullable(Of DateTimeOffset) = Nothing, Optional includedBurstIOPerSec As Nullable(Of Integer) = Nothing, Optional maxBurstIOPerSecCredits As Nullable(Of Long) = Nothing, Optional nfsProtocolRootSquash As Nullable(Of ShareRootSquash) = Nothing, Optional publicAccessAllowedSubnets As IEnumerable(Of String) = Nothing, Optional provisioningState As Nullable(Of FileShareProvisioningState) = Nothing, Optional publicNetworkAccess As Nullable(Of FileSharePublicNetworkAccess) = Nothing, Optional privateEndpointConnections As IEnumerable(Of FileSharePrivateEndpointConnectionData) = Nothing) As FileShareProperties
Parameters
- mountName
- String
The name of the file share as seen by the end user when mounting the share, such as in a URI or UNC format in their operating system.
- hostName
- String
The host name of the file share.
- mediaTier
- Nullable<FileShareMediaTier>
The storage media tier of the file share.
- redundancy
- Nullable<FileShareRedundancyLevel>
The chosen redundancy level of the file share.
- protocol
- Nullable<FileShareProtocol>
The file sharing protocol for this file share.
The provisioned storage size of the share in GiB (1 GiB is 1024^3 bytes or 1073741824 bytes). A component of the file share's bill is the provisioned storage, regardless of the amount of used storage.
- provisionedStorageNextAllowedDowngradeOn
- Nullable<DateTimeOffset>
A date/time value that specifies when the provisioned storage for the file share is permitted to be reduced.
- provisionedIOPerSecNextAllowedDowngradeOn
- Nullable<DateTimeOffset>
A date/time value that specifies when the provisioned IOPS for the file share is permitted to be reduced.
- provisionedThroughputNextAllowedDowngradeOn
- Nullable<DateTimeOffset>
A date/time value that specifies when the provisioned throughput for the file share is permitted to be reduced.
Burst IOPS are extra buffer IOPS enabling you to consume more than your provisioned IOPS for a short period of time, depending on the burst credits available for your share.
Max burst IOPS credits shows the maximum number of burst credits the share can have at the current IOPS provisioning level.
- nfsProtocolRootSquash
- Nullable<ShareRootSquash>
Root squash defines how root users on clients are mapped to the NFS share.
- publicAccessAllowedSubnets
- IEnumerable<String>
The allowed set of subnets when access is restricted.
- provisioningState
- Nullable<FileShareProvisioningState>
The status of the last operation.
- publicNetworkAccess
- Nullable<FileSharePublicNetworkAccess>
Gets or sets allow or disallow public network access to azure managed file share.
- privateEndpointConnections
- IEnumerable<FileSharePrivateEndpointConnectionData>
The list of associated private endpoint connections.
Returns
A new FileShareProperties instance for mocking.
Applies to
FileShareProperties(String, String, Nullable<FileShareMediaTier>, Nullable<FileShareRedundancyLevel>, Nullable<FileShareProtocol>, Nullable<Int32>, Nullable<DateTimeOffset>, Nullable<Int32>, Nullable<DateTimeOffset>, Nullable<Int32>, Nullable<DateTimeOffset>, Nullable<Int32>, Nullable<Int64>, NfsProtocolProperties, IEnumerable<String>, Nullable<FileShareProvisioningState>, Nullable<FileSharePublicNetworkAccess>, IEnumerable<FileSharePrivateEndpointConnectionData>)
- Source:
- ArmFileSharesModelFactory.cs
public static Azure.ResourceManager.FileShares.Models.FileShareProperties FileShareProperties(string mountName = default, string hostName = default, Azure.ResourceManager.FileShares.Models.FileShareMediaTier? mediaTier = default, Azure.ResourceManager.FileShares.Models.FileShareRedundancyLevel? redundancy = default, Azure.ResourceManager.FileShares.Models.FileShareProtocol? protocol = default, int? provisionedStorageInGiB = default, DateTimeOffset? provisionedStorageNextAllowedDowngradeOn = default, int? provisionedIOPerSec = default, DateTimeOffset? provisionedIOPerSecNextAllowedDowngradeOn = default, int? provisionedThroughputMiBPerSec = default, DateTimeOffset? provisionedThroughputNextAllowedDowngradeOn = default, int? includedBurstIOPerSec = default, long? maxBurstIOPerSecCredits = default, Azure.ResourceManager.FileShares.Models.NfsProtocolProperties nfsProtocolProperties = default, System.Collections.Generic.IEnumerable<string> publicAccessAllowedSubnets = default, Azure.ResourceManager.FileShares.Models.FileShareProvisioningState? provisioningState = default, Azure.ResourceManager.FileShares.Models.FileSharePublicNetworkAccess? publicNetworkAccess = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.FileShares.FileSharePrivateEndpointConnectionData> privateEndpointConnections = default);
static member FileShareProperties : string * string * Nullable<Azure.ResourceManager.FileShares.Models.FileShareMediaTier> * Nullable<Azure.ResourceManager.FileShares.Models.FileShareRedundancyLevel> * Nullable<Azure.ResourceManager.FileShares.Models.FileShareProtocol> * Nullable<int> * Nullable<DateTimeOffset> * Nullable<int> * Nullable<DateTimeOffset> * Nullable<int> * Nullable<DateTimeOffset> * Nullable<int> * Nullable<int64> * Azure.ResourceManager.FileShares.Models.NfsProtocolProperties * seq<string> * Nullable<Azure.ResourceManager.FileShares.Models.FileShareProvisioningState> * Nullable<Azure.ResourceManager.FileShares.Models.FileSharePublicNetworkAccess> * seq<Azure.ResourceManager.FileShares.FileSharePrivateEndpointConnectionData> -> Azure.ResourceManager.FileShares.Models.FileShareProperties
Public Shared Function FileShareProperties (Optional mountName As String = Nothing, Optional hostName As String = Nothing, Optional mediaTier As Nullable(Of FileShareMediaTier) = Nothing, Optional redundancy As Nullable(Of FileShareRedundancyLevel) = Nothing, Optional protocol As Nullable(Of FileShareProtocol) = Nothing, Optional provisionedStorageInGiB As Nullable(Of Integer) = Nothing, Optional provisionedStorageNextAllowedDowngradeOn As Nullable(Of DateTimeOffset) = Nothing, Optional provisionedIOPerSec As Nullable(Of Integer) = Nothing, Optional provisionedIOPerSecNextAllowedDowngradeOn As Nullable(Of DateTimeOffset) = Nothing, Optional provisionedThroughputMiBPerSec As Nullable(Of Integer) = Nothing, Optional provisionedThroughputNextAllowedDowngradeOn As Nullable(Of DateTimeOffset) = Nothing, Optional includedBurstIOPerSec As Nullable(Of Integer) = Nothing, Optional maxBurstIOPerSecCredits As Nullable(Of Long) = Nothing, Optional nfsProtocolProperties As NfsProtocolProperties = Nothing, Optional publicAccessAllowedSubnets As IEnumerable(Of String) = Nothing, Optional provisioningState As Nullable(Of FileShareProvisioningState) = Nothing, Optional publicNetworkAccess As Nullable(Of FileSharePublicNetworkAccess) = Nothing, Optional privateEndpointConnections As IEnumerable(Of FileSharePrivateEndpointConnectionData) = Nothing) As FileShareProperties
Parameters
- mountName
- String
The name of the file share as seen by the end user when mounting the share, such as in a URI or UNC format in their operating system.
- hostName
- String
The host name of the file share.
- mediaTier
- Nullable<FileShareMediaTier>
The storage media tier of the file share.
- redundancy
- Nullable<FileShareRedundancyLevel>
The chosen redundancy level of the file share.
- protocol
- Nullable<FileShareProtocol>
The file sharing protocol for this file share.
The provisioned storage size of the share in GiB (1 GiB is 1024^3 bytes or 1073741824 bytes). A component of the file share's bill is the provisioned storage, regardless of the amount of used storage.
- provisionedStorageNextAllowedDowngradeOn
- Nullable<DateTimeOffset>
A date/time value that specifies when the provisioned storage for the file share is permitted to be reduced.
- provisionedIOPerSecNextAllowedDowngradeOn
- Nullable<DateTimeOffset>
A date/time value that specifies when the provisioned IOPS for the file share is permitted to be reduced.
- provisionedThroughputNextAllowedDowngradeOn
- Nullable<DateTimeOffset>
A date/time value that specifies when the provisioned throughput for the file share is permitted to be reduced.
Burst IOPS are extra buffer IOPS enabling you to consume more than your provisioned IOPS for a short period of time, depending on the burst credits available for your share.
Max burst IOPS credits shows the maximum number of burst credits the share can have at the current IOPS provisioning level.
- nfsProtocolProperties
- NfsProtocolProperties
Protocol settings specific NFS.
- publicAccessAllowedSubnets
- IEnumerable<String>
The allowed set of subnets when access is restricted.
- provisioningState
- Nullable<FileShareProvisioningState>
The status of the last operation.
- publicNetworkAccess
- Nullable<FileSharePublicNetworkAccess>
Gets or sets allow or disallow public network access to azure managed file share.
- privateEndpointConnections
- IEnumerable<FileSharePrivateEndpointConnectionData>
The list of associated private endpoint connections.
Returns
A new FileShareProperties instance for mocking.