ArmContainerOrchestratorRuntimeModelFactory.ConnectedClusterStorageClassProperties 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.
Initializes a new instance of ConnectedClusterStorageClassProperties.
public static Azure.ResourceManager.ContainerOrchestratorRuntime.Models.ConnectedClusterStorageClassProperties ConnectedClusterStorageClassProperties (Azure.ResourceManager.ContainerOrchestratorRuntime.Models.VolumeExpansion? allowVolumeExpansion = default, System.Collections.Generic.IEnumerable<string> mountOptions = default, string provisioner = default, Azure.ResourceManager.ContainerOrchestratorRuntime.Models.VolumeBindingMode? volumeBindingMode = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.ContainerOrchestratorRuntime.Models.StorageClassAccessMode> accessModes = default, Azure.ResourceManager.ContainerOrchestratorRuntime.Models.DataResilienceTier? dataResilience = default, Azure.ResourceManager.ContainerOrchestratorRuntime.Models.FailoverTier? failoverSpeed = default, System.Collections.Generic.IEnumerable<string> limitations = default, Azure.ResourceManager.ContainerOrchestratorRuntime.Models.PerformanceTier? performance = default, long? priority = default, Azure.ResourceManager.ContainerOrchestratorRuntime.Models.StorageClassTypeProperties typeProperties = default, Azure.ResourceManager.ContainerOrchestratorRuntime.Models.ContainerOrchestratorProvisioningState? provisioningState = default);
static member ConnectedClusterStorageClassProperties : Nullable<Azure.ResourceManager.ContainerOrchestratorRuntime.Models.VolumeExpansion> * seq<string> * string * Nullable<Azure.ResourceManager.ContainerOrchestratorRuntime.Models.VolumeBindingMode> * seq<Azure.ResourceManager.ContainerOrchestratorRuntime.Models.StorageClassAccessMode> * Nullable<Azure.ResourceManager.ContainerOrchestratorRuntime.Models.DataResilienceTier> * Nullable<Azure.ResourceManager.ContainerOrchestratorRuntime.Models.FailoverTier> * seq<string> * Nullable<Azure.ResourceManager.ContainerOrchestratorRuntime.Models.PerformanceTier> * Nullable<int64> * Azure.ResourceManager.ContainerOrchestratorRuntime.Models.StorageClassTypeProperties * Nullable<Azure.ResourceManager.ContainerOrchestratorRuntime.Models.ContainerOrchestratorProvisioningState> -> Azure.ResourceManager.ContainerOrchestratorRuntime.Models.ConnectedClusterStorageClassProperties
Public Shared Function ConnectedClusterStorageClassProperties (Optional allowVolumeExpansion As Nullable(Of VolumeExpansion) = Nothing, Optional mountOptions As IEnumerable(Of String) = Nothing, Optional provisioner As String = Nothing, Optional volumeBindingMode As Nullable(Of VolumeBindingMode) = Nothing, Optional accessModes As IEnumerable(Of StorageClassAccessMode) = Nothing, Optional dataResilience As Nullable(Of DataResilienceTier) = Nothing, Optional failoverSpeed As Nullable(Of FailoverTier) = Nothing, Optional limitations As IEnumerable(Of String) = Nothing, Optional performance As Nullable(Of PerformanceTier) = Nothing, Optional priority As Nullable(Of Long) = Nothing, Optional typeProperties As StorageClassTypeProperties = Nothing, Optional provisioningState As Nullable(Of ContainerOrchestratorProvisioningState) = Nothing) As ConnectedClusterStorageClassProperties
Parameters
- allowVolumeExpansion
- Nullable<VolumeExpansion>
Volume can be expanded or not.
- mountOptions
- IEnumerable<String>
Additional mount options.
- provisioner
- String
Provisioner name.
- volumeBindingMode
- Nullable<VolumeBindingMode>
Binding mode of volumes: Immediate, WaitForFirstConsumer.
- accessModes
- IEnumerable<StorageClassAccessMode>
The access mode: [ReadWriteOnce, ReadWriteMany] or [ReadWriteOnce].
- dataResilience
- Nullable<DataResilienceTier>
Allow single data node failure.
- failoverSpeed
- Nullable<FailoverTier>
Failover speed: NA, Slow, Fast.
- limitations
- IEnumerable<String>
Limitations of the storage class.
- performance
- Nullable<PerformanceTier>
Performance tier.
Selection priority when multiple storage classes meet the criteria. 0: Highest, -1: Never use.
- typeProperties
- StorageClassTypeProperties
Properties of the StorageClass Please note StorageClassTypeProperties is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include BlobStorageClassTypeProperties, NativeStorageClassTypeProperties, NfsStorageClassTypeProperties, RwxStorageClassTypeProperties and SmbStorageClassTypeProperties.
- provisioningState
- Nullable<ContainerOrchestratorProvisioningState>
Resource provision state.
Returns
A new ConnectedClusterStorageClassProperties instance for mocking.
Applies to
Azure SDK for .NET