다음을 통해 공유


ArmServiceFabricModelFactory.ClusterVersionDetails Method

Definition

Initializes a new instance of ClusterVersionDetails.

public static Azure.ResourceManager.ServiceFabric.Models.ClusterVersionDetails ClusterVersionDetails (string codeVersion = default, DateTimeOffset? supportExpireOn = default, Azure.ResourceManager.ServiceFabric.Models.ClusterEnvironment? environment = default);
static member ClusterVersionDetails : string * Nullable<DateTimeOffset> * Nullable<Azure.ResourceManager.ServiceFabric.Models.ClusterEnvironment> -> Azure.ResourceManager.ServiceFabric.Models.ClusterVersionDetails
Public Shared Function ClusterVersionDetails (Optional codeVersion As String = Nothing, Optional supportExpireOn As Nullable(Of DateTimeOffset) = Nothing, Optional environment As Nullable(Of ClusterEnvironment) = Nothing) As ClusterVersionDetails

Parameters

codeVersion
String

The Service Fabric runtime version of the cluster.

supportExpireOn
Nullable<DateTimeOffset>

The date of expiry of support of the version.

environment
Nullable<ClusterEnvironment>

Indicates if this version is for Windows or Linux operating system.

Returns

A new ClusterVersionDetails instance for mocking.

Applies to