Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Policies

Package version

Class representing a Policies.

Hierarchy

  • Policies

Index

Constructors

constructor

Methods

createOrUpdate

  • createOrUpdate(resourceGroupName: string, labName: string, policySetName: string, name: string, policy: Policy, options?: msRest.RequestOptionsBase): Promise<Models.PoliciesCreateOrUpdateResponse>
  • createOrUpdate(resourceGroupName: string, labName: string, policySetName: string, name: string, policy: Policy, callback: msRest.ServiceCallback<Policy>): void
  • createOrUpdate(resourceGroupName: string, labName: string, policySetName: string, name: string, policy: Policy, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Policy>): void
  • Create or replace an existing policy.

    Parameters

    • resourceGroupName: string

      The name of the resource group.

    • labName: string

      The name of the lab.

    • policySetName: string

      The name of the policy set.

    • name: string

      The name of the policy.

    • policy: Policy

      A Policy.

    • Optional options: msRest.RequestOptionsBase

    Returns Promise<Models.PoliciesCreateOrUpdateResponse>

    Promise<Models.PoliciesCreateOrUpdateResponse>

  • Parameters

    • resourceGroupName: string

      The name of the resource group.

    • labName: string

      The name of the lab.

    • policySetName: string

      The name of the policy set.

    • name: string

      The name of the policy.

    • policy: Policy

      A Policy.

    • callback: msRest.ServiceCallback<Policy>

      The callback

    Returns void

  • Parameters

    • resourceGroupName: string

      The name of the resource group.

    • labName: string

      The name of the lab.

    • policySetName: string

      The name of the policy set.

    • name: string

      The name of the policy.

    • policy: Policy

      A Policy.

    • options: msRest.RequestOptionsBase

      The optional parameters

    • callback: msRest.ServiceCallback<Policy>

      The callback

    Returns void

deleteMethod

  • deleteMethod(resourceGroupName: string, labName: string, policySetName: string, name: string, options?: msRest.RequestOptionsBase): Promise<msRest.RestResponse>
  • deleteMethod(resourceGroupName: string, labName: string, policySetName: string, name: string, callback: msRest.ServiceCallback<void>): void
  • deleteMethod(resourceGroupName: string, labName: string, policySetName: string, name: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<void>): void
  • Delete policy.

    Parameters

    • resourceGroupName: string

      The name of the resource group.

    • labName: string

      The name of the lab.

    • policySetName: string

      The name of the policy set.

    • name: string

      The name of the policy.

    • Optional options: msRest.RequestOptionsBase

    Returns Promise<msRest.RestResponse>

    Promise<msRest.RestResponse>

  • Parameters

    • resourceGroupName: string

      The name of the resource group.

    • labName: string

      The name of the lab.

    • policySetName: string

      The name of the policy set.

    • name: string

      The name of the policy.

    • callback: msRest.ServiceCallback<void>

      The callback

    Returns void

  • Parameters

    • resourceGroupName: string

      The name of the resource group.

    • labName: string

      The name of the lab.

    • policySetName: string

      The name of the policy set.

    • name: string

      The name of the policy.

    • options: msRest.RequestOptionsBase

      The optional parameters

    • callback: msRest.ServiceCallback<void>

      The callback

    Returns void

get

  • get(resourceGroupName: string, labName: string, policySetName: string, name: string, options?: Models.PoliciesGetOptionalParams): Promise<Models.PoliciesGetResponse>
  • get(resourceGroupName: string, labName: string, policySetName: string, name: string, callback: msRest.ServiceCallback<Policy>): void
  • get(resourceGroupName: string, labName: string, policySetName: string, name: string, options: PoliciesGetOptionalParams, callback: msRest.ServiceCallback<Policy>): void
  • Get policy.

    Parameters

    • resourceGroupName: string

      The name of the resource group.

    • labName: string

      The name of the lab.

    • policySetName: string

      The name of the policy set.

    • name: string

      The name of the policy.

    • Optional options: Models.PoliciesGetOptionalParams

    Returns Promise<Models.PoliciesGetResponse>

    Promise<Models.PoliciesGetResponse>

  • Parameters

    • resourceGroupName: string

      The name of the resource group.

    • labName: string

      The name of the lab.

    • policySetName: string

      The name of the policy set.

    • name: string

      The name of the policy.

    • callback: msRest.ServiceCallback<Policy>

      The callback

    Returns void

  • Parameters

    • resourceGroupName: string

      The name of the resource group.

    • labName: string

      The name of the lab.

    • policySetName: string

      The name of the policy set.

    • name: string

      The name of the policy.

    • options: PoliciesGetOptionalParams

      The optional parameters

    • callback: msRest.ServiceCallback<Policy>

      The callback

    Returns void

list

  • list(resourceGroupName: string, labName: string, policySetName: string, options?: Models.PoliciesListOptionalParams): Promise<Models.PoliciesListResponse>
  • list(resourceGroupName: string, labName: string, policySetName: string, callback: msRest.ServiceCallback<PolicyList>): void
  • list(resourceGroupName: string, labName: string, policySetName: string, options: PoliciesListOptionalParams, callback: msRest.ServiceCallback<PolicyList>): void
  • List policies in a given policy set.

    Parameters

    • resourceGroupName: string

      The name of the resource group.

    • labName: string

      The name of the lab.

    • policySetName: string

      The name of the policy set.

    • Optional options: Models.PoliciesListOptionalParams

    Returns Promise<Models.PoliciesListResponse>

    Promise<Models.PoliciesListResponse>

  • Parameters

    • resourceGroupName: string

      The name of the resource group.

    • labName: string

      The name of the lab.

    • policySetName: string

      The name of the policy set.

    • callback: msRest.ServiceCallback<PolicyList>

      The callback

    Returns void

  • Parameters

    • resourceGroupName: string

      The name of the resource group.

    • labName: string

      The name of the lab.

    • policySetName: string

      The name of the policy set.

    • options: PoliciesListOptionalParams

      The optional parameters

    • callback: msRest.ServiceCallback<PolicyList>

      The callback

    Returns void

listNext

  • listNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise<Models.PoliciesListNextResponse>
  • listNext(nextPageLink: string, callback: msRest.ServiceCallback<PolicyList>): void
  • listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<PolicyList>): void
  • List policies in a given policy set.

    Parameters

    • nextPageLink: string

      The NextLink from the previous successful call to List operation.

    • Optional options: msRest.RequestOptionsBase

    Returns Promise<Models.PoliciesListNextResponse>

    Promise<Models.PoliciesListNextResponse>

  • Parameters

    • nextPageLink: string

      The NextLink from the previous successful call to List operation.

    • callback: msRest.ServiceCallback<PolicyList>

      The callback

    Returns void

  • Parameters

    • nextPageLink: string

      The NextLink from the previous successful call to List operation.

    • options: msRest.RequestOptionsBase

      The optional parameters

    • callback: msRest.ServiceCallback<PolicyList>

      The callback

    Returns void

update

  • update(resourceGroupName: string, labName: string, policySetName: string, name: string, policy: PolicyFragment, options?: msRest.RequestOptionsBase): Promise<Models.PoliciesUpdateResponse>
  • update(resourceGroupName: string, labName: string, policySetName: string, name: string, policy: PolicyFragment, callback: msRest.ServiceCallback<Policy>): void
  • update(resourceGroupName: string, labName: string, policySetName: string, name: string, policy: PolicyFragment, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Policy>): void
  • Modify properties of policies.

    Parameters

    • resourceGroupName: string

      The name of the resource group.

    • labName: string

      The name of the lab.

    • policySetName: string

      The name of the policy set.

    • name: string

      The name of the policy.

    • policy: PolicyFragment

      A Policy.

    • Optional options: msRest.RequestOptionsBase

    Returns Promise<Models.PoliciesUpdateResponse>

    Promise<Models.PoliciesUpdateResponse>

  • Parameters

    • resourceGroupName: string

      The name of the resource group.

    • labName: string

      The name of the lab.

    • policySetName: string

      The name of the policy set.

    • name: string

      The name of the policy.

    • policy: PolicyFragment

      A Policy.

    • callback: msRest.ServiceCallback<Policy>

      The callback

    Returns void

  • Parameters

    • resourceGroupName: string

      The name of the resource group.

    • labName: string

      The name of the lab.

    • policySetName: string

      The name of the policy set.

    • name: string

      The name of the policy.

    • policy: PolicyFragment

      A Policy.

    • options: msRest.RequestOptionsBase

      The optional parameters

    • callback: msRest.ServiceCallback<Policy>

      The callback

    Returns void

Generated using TypeDoc