Partilhar via


ArmServiceFabricManagedClustersModelFactory.ServiceFabricManagedClusterVersion Method

Definition

Initializes a new instance of ServiceFabricManagedClusterVersion.

public static Azure.ResourceManager.ServiceFabricManagedClusters.Models.ServiceFabricManagedClusterVersion ServiceFabricManagedClusterVersion (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, string clusterCodeVersion = default, DateTimeOffset? versionSupportExpireOn = default, Azure.ResourceManager.ServiceFabricManagedClusters.Models.ServiceFabricManagedClusterOSType? osType = default);
static member ServiceFabricManagedClusterVersion : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * string * Nullable<DateTimeOffset> * Nullable<Azure.ResourceManager.ServiceFabricManagedClusters.Models.ServiceFabricManagedClusterOSType> -> Azure.ResourceManager.ServiceFabricManagedClusters.Models.ServiceFabricManagedClusterVersion
Public Shared Function ServiceFabricManagedClusterVersion (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional clusterCodeVersion As String = Nothing, Optional versionSupportExpireOn As Nullable(Of DateTimeOffset) = Nothing, Optional osType As Nullable(Of ServiceFabricManagedClusterOSType) = Nothing) As ServiceFabricManagedClusterVersion

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

clusterCodeVersion
String

The Service Fabric runtime version of the cluster.

versionSupportExpireOn
Nullable<DateTimeOffset>

The date of expiry of support of the version.

osType
Nullable<ServiceFabricManagedClusterOSType>

Cluster operating system, the default will be Windows.

Returns

A new ServiceFabricManagedClusterVersion instance for mocking.

Applies to