Share via


ArmServiceFabricModelFactory.ClusterCodeVersionsResult Method

Definition

Initializes a new instance of ClusterCodeVersionsResult.

public static Azure.ResourceManager.ServiceFabric.Models.ClusterCodeVersionsResult ClusterCodeVersionsResult (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, string codeVersion = default, DateTimeOffset? supportExpireOn = default, Azure.ResourceManager.ServiceFabric.Models.ClusterEnvironment? environment = default);
static member ClusterCodeVersionsResult : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * string * Nullable<DateTimeOffset> * Nullable<Azure.ResourceManager.ServiceFabric.Models.ClusterEnvironment> -> Azure.ResourceManager.ServiceFabric.Models.ClusterCodeVersionsResult
Public Shared Function ClusterCodeVersionsResult (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional codeVersion As String = Nothing, Optional supportExpireOn As Nullable(Of DateTimeOffset) = Nothing, Optional environment As Nullable(Of ClusterEnvironment) = Nothing) As ClusterCodeVersionsResult

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

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 ClusterCodeVersionsResult instance for mocking.

Applies to