PolicyOperations interface
Interface representing a Policy operations.
Properties
| create | Creates the policy. |
| delete | |
| get | Gets the details of the policy. |
| list | Gets the list of policies in the given vault. |
Property Details
create
Creates the policy.
create: (resourceGroupName: string, vaultName: string, policyName: string, resource: PolicyModel, options?: PolicyCreateOptionalParams) => PollerLike<OperationState<PolicyModel>, PolicyModel>
Property Value
(resourceGroupName: string, vaultName: string, policyName: string, resource: PolicyModel, options?: PolicyCreateOptionalParams) => PollerLike<OperationState<PolicyModel>, PolicyModel>
delete
delete: (resourceGroupName: string, vaultName: string, policyName: string, options?: PolicyDeleteOptionalParams) => PollerLike<OperationState<void>, void>
Property Value
(resourceGroupName: string, vaultName: string, policyName: string, options?: PolicyDeleteOptionalParams) => PollerLike<OperationState<void>, void>
get
Gets the details of the policy.
get: (resourceGroupName: string, vaultName: string, policyName: string, options?: PolicyGetOptionalParams) => Promise<PolicyModel>
Property Value
(resourceGroupName: string, vaultName: string, policyName: string, options?: PolicyGetOptionalParams) => Promise<PolicyModel>
list
Gets the list of policies in the given vault.
list: (resourceGroupName: string, vaultName: string, options?: PolicyListOptionalParams) => PagedAsyncIterableIterator<PolicyModel, PolicyModel[], PageSettings>
Property Value
(resourceGroupName: string, vaultName: string, options?: PolicyListOptionalParams) => PagedAsyncIterableIterator<PolicyModel, PolicyModel[], PageSettings>