共用方式為


ArmContainerServiceModelFactory.ManagedClusterPropertiesForSnapshot Method

Definition

Initializes a new instance of ManagedClusterPropertiesForSnapshot.

public static Azure.ResourceManager.ContainerService.Models.ManagedClusterPropertiesForSnapshot ManagedClusterPropertiesForSnapshot (string kubernetesVersion = default, Azure.ResourceManager.ContainerService.Models.ManagedClusterSku sku = default, bool? enableRbac = default, Azure.ResourceManager.ContainerService.Models.ContainerServiceNetworkProfileForSnapshot networkProfile = default);
static member ManagedClusterPropertiesForSnapshot : string * Azure.ResourceManager.ContainerService.Models.ManagedClusterSku * Nullable<bool> * Azure.ResourceManager.ContainerService.Models.ContainerServiceNetworkProfileForSnapshot -> Azure.ResourceManager.ContainerService.Models.ManagedClusterPropertiesForSnapshot
Public Shared Function ManagedClusterPropertiesForSnapshot (Optional kubernetesVersion As String = Nothing, Optional sku As ManagedClusterSku = Nothing, Optional enableRbac As Nullable(Of Boolean) = Nothing, Optional networkProfile As ContainerServiceNetworkProfileForSnapshot = Nothing) As ManagedClusterPropertiesForSnapshot

Parameters

kubernetesVersion
String

The current kubernetes version.

sku
ManagedClusterSku

The current managed cluster sku.

enableRbac
Nullable<Boolean>

Whether the cluster has enabled Kubernetes Role-Based Access Control or not.

networkProfile
ContainerServiceNetworkProfileForSnapshot

The current network profile.

Returns

A new ManagedClusterPropertiesForSnapshot instance for mocking.

Applies to