共用方式為


ArmContainerServiceModelFactory.ManagedClusterPodIdentity Method

Definition

Initializes a new instance of ManagedClusterPodIdentity.

public static Azure.ResourceManager.ContainerService.Models.ManagedClusterPodIdentity ManagedClusterPodIdentity (string name = default, string namespace = default, string bindingSelector = default, Azure.ResourceManager.ContainerService.Models.ContainerServiceUserAssignedIdentity identity = default, Azure.ResourceManager.ContainerService.Models.ManagedClusterPodIdentityProvisioningState? provisioningState = default, Azure.ResponseError errorDetail = default);
static member ManagedClusterPodIdentity : string * string * string * Azure.ResourceManager.ContainerService.Models.ContainerServiceUserAssignedIdentity * Nullable<Azure.ResourceManager.ContainerService.Models.ManagedClusterPodIdentityProvisioningState> * Azure.ResponseError -> Azure.ResourceManager.ContainerService.Models.ManagedClusterPodIdentity
Public Shared Function ManagedClusterPodIdentity (Optional name As String = Nothing, Optional namespace As String = Nothing, Optional bindingSelector As String = Nothing, Optional identity As ContainerServiceUserAssignedIdentity = Nothing, Optional provisioningState As Nullable(Of ManagedClusterPodIdentityProvisioningState) = Nothing, Optional errorDetail As ResponseError = Nothing) As ManagedClusterPodIdentity

Parameters

name
String

The name of the pod identity.

namespace
String

The namespace of the pod identity.

bindingSelector
String

The binding selector to use for the AzureIdentityBinding resource.

identity
ContainerServiceUserAssignedIdentity

The user assigned identity details.

provisioningState
Nullable<ManagedClusterPodIdentityProvisioningState>

The current provisioning state of the pod identity.

errorDetail
ResponseError

Returns

A new ManagedClusterPodIdentity instance for mocking.

Applies to