语言

你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。

ArmComputeWorkloadManagerModelFactory.ReferencedExecutionIdentity Method

Definition

A customer-provided identity used by an execution runtime.

public static Azure.ResourceManager.Compute.WorkloadManager.Models.ReferencedExecutionIdentity ReferencedExecutionIdentity(Azure.ResourceManager.Compute.WorkloadManager.Models.ExecutionIdentityScope scope = default, Azure.Core.ResourceIdentifier userAssignedIdentityResourceId = default);
static member ReferencedExecutionIdentity : Azure.ResourceManager.Compute.WorkloadManager.Models.ExecutionIdentityScope * Azure.Core.ResourceIdentifier -> Azure.ResourceManager.Compute.WorkloadManager.Models.ReferencedExecutionIdentity
Public Shared Function ReferencedExecutionIdentity (Optional scope As ExecutionIdentityScope = Nothing, Optional userAssignedIdentityResourceId As ResourceIdentifier = Nothing) As ReferencedExecutionIdentity

Parameters

scope
ExecutionIdentityScope

The execution boundary across which the identity is shared.

userAssignedIdentityResourceId
ResourceIdentifier

The customer-provided user-assigned identity.

Returns

A new ReferencedExecutionIdentity instance for mocking.

Applies to