语言

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

ArmComputeWorkloadManagerModelFactory.ServiceManagedExecutionIdentity Method

Definition

An identity created and owned by Workload Manager.

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

Parameters

scope
ExecutionIdentityScope

The execution boundary across which the identity is shared.

userAssignedIdentityResourceId
ResourceIdentifier

The service-created user-assigned identity.

Returns

A new ServiceManagedExecutionIdentity instance for mocking.

Applies to