Share via


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

IWithSystemAssignedIdentityBasedAccessOrCreate 接口

定义

容器实例定义的阶段,允许指定具有特定基于角色的访问的系统分配的托管服务标识。

public interface IWithSystemAssignedIdentityBasedAccessOrCreate : Microsoft.Azure.Management.ContainerInstance.Fluent.ContainerGroup.Definition.IWithCreate, Microsoft.Azure.Management.ContainerInstance.Fluent.ContainerGroup.Definition.IWithSystemAssignedIdentityBasedAccessOrCreateBeta, Microsoft.Azure.Management.ResourceManager.Fluent.Core.IBeta, Microsoft.Azure.Management.ResourceManager.Fluent.Core.Resource.Definition.IDefinitionWithTags<Microsoft.Azure.Management.ContainerInstance.Fluent.ContainerGroup.Definition.IWithCreate>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.ResourceActions.ICreatable<Microsoft.Azure.Management.ContainerInstance.Fluent.IContainerGroup>
type IWithSystemAssignedIdentityBasedAccessOrCreate = interface
    interface IWithCreate
    interface IWithRestartPolicy
    interface IWithRestartPolicyBeta
    interface IBeta
    interface IWithSystemAssignedManagedServiceIdentity
    interface IWithSystemAssignedManagedServiceIdentityBeta
    interface IWithUserAssignedManagedServiceIdentity
    interface IWithUserAssignedManagedServiceIdentityBeta
    interface IWithDnsPrefix
    interface IWithNetworkProfile
    interface IWithNetworkProfileBeta
    interface IWithLogAnalytics
    interface IWithLogAnalyticsBeta
    interface ICreatable<IContainerGroup>
    interface IIndexable
    interface IDefinitionWithTags<IWithCreate>
    interface IWithSystemAssignedIdentityBasedAccessOrCreateBeta
Public Interface IWithSystemAssignedIdentityBasedAccessOrCreate
Implements IBeta, ICreatable(Of IContainerGroup), IDefinitionWithTags(Of IWithCreate), IWithCreate, IWithSystemAssignedIdentityBasedAccessOrCreateBeta
派生
实现

属性

Key

容器实例定义的阶段,允许指定具有特定基于角色的访问的系统分配的托管服务标识。

(继承自 IIndexable)
Name

获取可创建资源的名称。

(继承自 ICreatable<T>)

方法

Create()

执行创建请求。

(继承自 ICreatable<T>)
CreateAsync(CancellationToken, Boolean)

将请求放入队列,并允许 HTTP 客户端在系统资源可用时执行它。

(继承自 ICreatable<T>)
WithDnsPrefix(String)

指定要用于为容器组创建 FQDN 的 DNS 前缀。

(继承自 IWithDnsPrefix)
WithExistingUserAssignedManagedServiceIdentity(IIdentity)

指定要与容器组关联的现有用户分配标识。

(继承自 IWithUserAssignedManagedServiceIdentityBeta)
WithLogAnalytics(String, String)

指定要用于容器组的 log Analytics 工作区。

(继承自 IWithLogAnalyticsBeta)
WithLogAnalytics(String, String, LogAnalyticsLogType, IDictionary<String,String>)

指定具有容器组的可选加载项的 Log Analytics 工作区。

(继承自 IWithLogAnalyticsBeta)
WithNetworkProfileId(String, String, String)

指定容器组的网络配置文件信息。

(继承自 IWithNetworkProfileBeta)
WithNewUserAssignedManagedServiceIdentity(ICreatable<IIdentity>)

指定要与虚拟机关联的尚未创建的用户分配标识的定义。

(继承自 IWithUserAssignedManagedServiceIdentityBeta)
WithRestartPolicy(ContainerGroupRestartPolicy)

指定容器组内所有容器实例的重启策略。

(继承自 IWithRestartPolicyBeta)
WithSystemAssignedIdentityBasedAccessTo(String, BuiltInRole)

指定系统分配的托管服务标识,该标识有权访问具有特定角色的特定资源。

WithSystemAssignedIdentityBasedAccessTo(String, String)

指定系统分配的托管服务标识,该标识有权访问具有 ID 中指定角色的特定资源。

WithSystemAssignedIdentityBasedAccessToCurrentResourceGroup(BuiltInRole)

指定具有当前资源组访问权限且具有指定角色的系统分配托管服务标识。

WithSystemAssignedIdentityBasedAccessToCurrentResourceGroup(String)

指定一个系统分配的托管服务标识,该标识有权访问当前资源组,并且具有 ID 中的指定角色。

WithSystemAssignedManagedServiceIdentity()

为容器组指定系统分配的托管服务标识。

(继承自 IWithSystemAssignedManagedServiceIdentityBeta)
WithTag(String, String)

将标记添加到资源。

(继承自 IDefinitionWithTags<T>)
WithTags(IDictionary<String,String>)

将资源的标记指定为 {@link Map}。

(继承自 IDefinitionWithTags<T>)

适用于