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

ManagementPolicyImpl 类

定义

public class ManagementPolicyImpl : Microsoft.Azure.Management.ResourceManager.Fluent.Core.ResourceActions.CreatableUpdatable<Microsoft.Azure.Management.Storage.Fluent.IManagementPolicy,Microsoft.Azure.Management.Storage.Fluent.Models.ManagementPolicyInner,Microsoft.Azure.Management.Storage.Fluent.ManagementPolicyImpl,Microsoft.Azure.Management.ResourceManager.Fluent.Core.IHasId,Microsoft.Azure.Management.Storage.Fluent.ManagementPolicy.Update.IUpdate>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.IBeta, Microsoft.Azure.Management.ResourceManager.Fluent.Core.IHasId, Microsoft.Azure.Management.ResourceManager.Fluent.Core.IHasInner<Microsoft.Azure.Management.Storage.Fluent.Models.ManagementPolicyInner>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.IHasManager<Microsoft.Azure.Management.Storage.Fluent.StorageManager>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.ResourceActions.IAppliable<Microsoft.Azure.Management.Storage.Fluent.IManagementPolicy>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.ResourceActions.ICreatable<Microsoft.Azure.Management.Storage.Fluent.IManagementPolicy>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.ResourceActions.IRefreshable<Microsoft.Azure.Management.Storage.Fluent.IManagementPolicy>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.ResourceActions.IUpdatable<Microsoft.Azure.Management.Storage.Fluent.ManagementPolicy.Update.IUpdate>, Microsoft.Azure.Management.Storage.Fluent.IManagementPolicy, Microsoft.Azure.Management.Storage.Fluent.ManagementPolicy.Definition.IDefinition, Microsoft.Azure.Management.Storage.Fluent.ManagementPolicy.Update.IUpdate
type ManagementPolicyImpl = class
    inherit CreatableUpdatable<IManagementPolicy, ManagementPolicyInner, ManagementPolicyImpl, IHasId, IUpdate>
    interface IManagementPolicy
    interface IBeta
    interface IHasInner<ManagementPolicyInner>
    interface IHasId
    interface IIndexable
    interface IRefreshable<IManagementPolicy>
    interface IUpdatable<IUpdate>
    interface IHasManager<StorageManager>
    interface IDefinition
    interface IBlank
    interface IWithStorageAccount
    interface IWithRule
    interface IWithCreate
    interface ICreatable<IManagementPolicy>
    interface IUpdate
    interface IAppliable<IManagementPolicy>
    interface IWithPolicy
    interface IRule
Public Class ManagementPolicyImpl
Inherits CreatableUpdatable(Of IManagementPolicy, ManagementPolicyInner, ManagementPolicyImpl, IHasId, IUpdate)
Implements IAppliable(Of IManagementPolicy), IBeta, ICreatable(Of IManagementPolicy), IDefinition, IHasId, IHasInner(Of ManagementPolicyInner), IHasManager(Of StorageManager), IManagementPolicy, IRefreshable(Of IManagementPolicy), IUpdatable(Of IUpdate), IUpdate
继承
实现

属性

CreatorTaskGroup (继承自 Creatable<IFluentResourceT,InnerResourceT,FluentResourceT,IResourceT>)
Inner (继承自 IndexableRefreshableWrapper<IFluentResourceT,InnerResourceT>)
Key (继承自 Indexable)

方法

AddCreatableDependency(IResourceCreator<IResourceT>) (继承自 Creatable<IFluentResourceT,InnerResourceT,FluentResourceT,IResourceT>)
Apply() (继承自 CreatableUpdatable<IFluentResourceT,InnerResourceT,FluentResourceT,IResourceT,IUpdatableT>)
ApplyAsync(CancellationToken, Boolean) (继承自 CreatableUpdatable<IFluentResourceT,InnerResourceT,FluentResourceT,IResourceT,IUpdatableT>)
Create() (继承自 Creatable<IFluentResourceT,InnerResourceT,FluentResourceT,IResourceT>)
CreateAsync(CancellationToken, Boolean) (继承自 Creatable<IFluentResourceT,InnerResourceT,FluentResourceT,IResourceT>)
CreatedResource(String) (继承自 Creatable<IFluentResourceT,InnerResourceT,FluentResourceT,IResourceT>)
CreateResource() (继承自 Creatable<IFluentResourceT,InnerResourceT,FluentResourceT,IResourceT>)
CreateResourceAsync(CancellationToken)
DefineRule(String)
GetInnerAsync(CancellationToken)
Id()
IsInCreateMode()
LastModifiedTime()
Manager()
Name()
Policy()
Refresh() (继承自 IndexableRefreshableWrapper<IFluentResourceT,InnerResourceT>)
RefreshAsync(CancellationToken) (继承自 IndexableRefreshableWrapper<IFluentResourceT,InnerResourceT>)
Rules()
SetInner(InnerResourceT) (继承自 IndexableRefreshableWrapper<IFluentResourceT,InnerResourceT>)
Type()
Update() (继承自 CreatableUpdatable<IFluentResourceT,InnerResourceT,FluentResourceT,IResourceT,IUpdatableT>)
UpdateRule(String)
WithExistingStorageAccount(String, String)
WithoutRule(String)
WithPolicy(ManagementPolicySchema)

显式接口实现

IHasId.Id
IHasManager<StorageManager>.Manager
IManagementPolicy.Id

获取 ID 值。

IManagementPolicy.LastModifiedTime

获取 lastModifiedTime 值。

IManagementPolicy.Name

获取名称值。

IManagementPolicy.Policy

获取策略值。

IManagementPolicy.Rules

获取此策略的规则列表。

IManagementPolicy.Type

获取类型值。

IResourceCreator<IResourceT>.CreateResource() (继承自 Creatable<IFluentResourceT,InnerResourceT,FluentResourceT,IResourceT>)
IResourceCreator<IResourceT>.CreateResourceAsync(CancellationToken) (继承自 Creatable<IFluentResourceT,InnerResourceT,FluentResourceT,IResourceT>)
IRule.UpdateRule(String)

更新其名称为输入参数名称的规则的函数。

IRule.WithoutRule(String)

删除名称为输入参数名称的规则的函数。

IWithPolicy.WithPolicy(ManagementPolicySchema)

指定策略。

IWithRule.DefineRule(String)

定义要附加到此策略的规则的函数。

IWithStorageAccount.WithExistingStorageAccount(String, String)

指定 resourceGroupName、accountName。

适用于