你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
ManagementPolicyImpl 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
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
- 继承
-
ManagementPolicyImpl
- 实现
-
IBeta IHasId IHasInner<ManagementPolicyInner> IHasManager<StorageManager> IAppliable<IManagementPolicy> ICreatable<IManagementPolicy> IIndexable IRefreshable<IManagementPolicy> IUpdatable<IUpdate> IManagementPolicy IBlank IDefinition IWithCreate IWithRule IWithStorageAccount IRule IUpdate IWithPolicy
属性
CreatorTaskGroup | (继承自 Creatable<IFluentResourceT,InnerResourceT,FluentResourceT,IResourceT>) |
Inner | (继承自 IndexableRefreshableWrapper<IFluentResourceT,InnerResourceT>) |
Key | (继承自 Indexable) |
方法
显式接口实现
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。 |