Options
All
  • Public
  • Public/Protected
  • All
Menu

Class AuthorizationPolicies

Package version

Class representing a AuthorizationPolicies.

Hierarchy

  • AuthorizationPolicies

Index

Constructors

constructor

Methods

createOrUpdate

  • Creates an authorization policy or updates an existing authorization policy.

    Parameters

    • resourceGroupName: string

      The name of the resource group.

    • hubName: string

      The name of the hub.

    • authorizationPolicyName: string

      The name of the policy.

    • parameters: AuthorizationPolicyResourceFormat

      Parameters supplied to the CreateOrUpdate authorization policy operation.

    • Optional options: msRest.RequestOptionsBase

    Returns Promise<Models.AuthorizationPoliciesCreateOrUpdateResponse>

    Promise<Models.AuthorizationPoliciesCreateOrUpdateResponse>

  • Parameters

    • resourceGroupName: string

      The name of the resource group.

    • hubName: string

      The name of the hub.

    • authorizationPolicyName: string

      The name of the policy.

    • parameters: AuthorizationPolicyResourceFormat

      Parameters supplied to the CreateOrUpdate authorization policy operation.

    • callback: msRest.ServiceCallback<AuthorizationPolicyResourceFormat>

      The callback

    Returns void

  • Parameters

    • resourceGroupName: string

      The name of the resource group.

    • hubName: string

      The name of the hub.

    • authorizationPolicyName: string

      The name of the policy.

    • parameters: AuthorizationPolicyResourceFormat

      Parameters supplied to the CreateOrUpdate authorization policy operation.

    • options: msRest.RequestOptionsBase

      The optional parameters

    • callback: msRest.ServiceCallback<AuthorizationPolicyResourceFormat>

      The callback

    Returns void

get

  • get(resourceGroupName: string, hubName: string, authorizationPolicyName: string, options?: msRest.RequestOptionsBase): Promise<Models.AuthorizationPoliciesGetResponse>
  • get(resourceGroupName: string, hubName: string, authorizationPolicyName: string, callback: msRest.ServiceCallback<AuthorizationPolicyResourceFormat>): void
  • get(resourceGroupName: string, hubName: string, authorizationPolicyName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<AuthorizationPolicyResourceFormat>): void
  • Gets an authorization policy in the hub.

    Parameters

    • resourceGroupName: string

      The name of the resource group.

    • hubName: string

      The name of the hub.

    • authorizationPolicyName: string

      The name of the policy.

    • Optional options: msRest.RequestOptionsBase

    Returns Promise<Models.AuthorizationPoliciesGetResponse>

    Promise<Models.AuthorizationPoliciesGetResponse>

  • Parameters

    • resourceGroupName: string

      The name of the resource group.

    • hubName: string

      The name of the hub.

    • authorizationPolicyName: string

      The name of the policy.

    • callback: msRest.ServiceCallback<AuthorizationPolicyResourceFormat>

      The callback

    Returns void

  • Parameters

    • resourceGroupName: string

      The name of the resource group.

    • hubName: string

      The name of the hub.

    • authorizationPolicyName: string

      The name of the policy.

    • options: msRest.RequestOptionsBase

      The optional parameters

    • callback: msRest.ServiceCallback<AuthorizationPolicyResourceFormat>

      The callback

    Returns void

listByHub

  • listByHub(resourceGroupName: string, hubName: string, options?: msRest.RequestOptionsBase): Promise<Models.AuthorizationPoliciesListByHubResponse>
  • listByHub(resourceGroupName: string, hubName: string, callback: msRest.ServiceCallback<AuthorizationPolicyListResult>): void
  • listByHub(resourceGroupName: string, hubName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<AuthorizationPolicyListResult>): void
  • Gets all the authorization policies in a specified hub.

    Parameters

    • resourceGroupName: string

      The name of the resource group.

    • hubName: string

      The name of the hub.

    • Optional options: msRest.RequestOptionsBase

    Returns Promise<Models.AuthorizationPoliciesListByHubResponse>

    Promise<Models.AuthorizationPoliciesListByHubResponse>

  • Parameters

    • resourceGroupName: string

      The name of the resource group.

    • hubName: string

      The name of the hub.

    • callback: msRest.ServiceCallback<AuthorizationPolicyListResult>

      The callback

    Returns void

  • Parameters

    • resourceGroupName: string

      The name of the resource group.

    • hubName: string

      The name of the hub.

    • options: msRest.RequestOptionsBase

      The optional parameters

    • callback: msRest.ServiceCallback<AuthorizationPolicyListResult>

      The callback

    Returns void

listByHubNext

  • listByHubNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise<Models.AuthorizationPoliciesListByHubNextResponse>
  • listByHubNext(nextPageLink: string, callback: msRest.ServiceCallback<AuthorizationPolicyListResult>): void
  • listByHubNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<AuthorizationPolicyListResult>): void
  • Gets all the authorization policies in a specified hub.

    Parameters

    • nextPageLink: string

      The NextLink from the previous successful call to List operation.

    • Optional options: msRest.RequestOptionsBase

    Returns Promise<Models.AuthorizationPoliciesListByHubNextResponse>

    Promise<Models.AuthorizationPoliciesListByHubNextResponse>

  • Parameters

    • nextPageLink: string

      The NextLink from the previous successful call to List operation.

    • callback: msRest.ServiceCallback<AuthorizationPolicyListResult>

      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<AuthorizationPolicyListResult>

      The callback

    Returns void

regeneratePrimaryKey

  • regeneratePrimaryKey(resourceGroupName: string, hubName: string, authorizationPolicyName: string, options?: msRest.RequestOptionsBase): Promise<Models.AuthorizationPoliciesRegeneratePrimaryKeyResponse>
  • regeneratePrimaryKey(resourceGroupName: string, hubName: string, authorizationPolicyName: string, callback: msRest.ServiceCallback<AuthorizationPolicy>): void
  • regeneratePrimaryKey(resourceGroupName: string, hubName: string, authorizationPolicyName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<AuthorizationPolicy>): void
  • Regenerates the primary policy key of the specified authorization policy.

    Parameters

    • resourceGroupName: string

      The name of the resource group.

    • hubName: string

      The name of the hub.

    • authorizationPolicyName: string

      The name of the policy.

    • Optional options: msRest.RequestOptionsBase

    Returns Promise<Models.AuthorizationPoliciesRegeneratePrimaryKeyResponse>

    Promise<Models.AuthorizationPoliciesRegeneratePrimaryKeyResponse>

  • Parameters

    • resourceGroupName: string

      The name of the resource group.

    • hubName: string

      The name of the hub.

    • authorizationPolicyName: string

      The name of the policy.

    • callback: msRest.ServiceCallback<AuthorizationPolicy>

      The callback

    Returns void

  • Parameters

    • resourceGroupName: string

      The name of the resource group.

    • hubName: string

      The name of the hub.

    • authorizationPolicyName: string

      The name of the policy.

    • options: msRest.RequestOptionsBase

      The optional parameters

    • callback: msRest.ServiceCallback<AuthorizationPolicy>

      The callback

    Returns void

regenerateSecondaryKey

  • regenerateSecondaryKey(resourceGroupName: string, hubName: string, authorizationPolicyName: string, options?: msRest.RequestOptionsBase): Promise<Models.AuthorizationPoliciesRegenerateSecondaryKeyResponse>
  • regenerateSecondaryKey(resourceGroupName: string, hubName: string, authorizationPolicyName: string, callback: msRest.ServiceCallback<AuthorizationPolicy>): void
  • regenerateSecondaryKey(resourceGroupName: string, hubName: string, authorizationPolicyName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<AuthorizationPolicy>): void
  • Regenerates the secondary policy key of the specified authorization policy.

    Parameters

    • resourceGroupName: string

      The name of the resource group.

    • hubName: string

      The name of the hub.

    • authorizationPolicyName: string

      The name of the policy.

    • Optional options: msRest.RequestOptionsBase

    Returns Promise<Models.AuthorizationPoliciesRegenerateSecondaryKeyResponse>

    Promise<Models.AuthorizationPoliciesRegenerateSecondaryKeyResponse>

  • Parameters

    • resourceGroupName: string

      The name of the resource group.

    • hubName: string

      The name of the hub.

    • authorizationPolicyName: string

      The name of the policy.

    • callback: msRest.ServiceCallback<AuthorizationPolicy>

      The callback

    Returns void

  • Parameters

    • resourceGroupName: string

      The name of the resource group.

    • hubName: string

      The name of the hub.

    • authorizationPolicyName: string

      The name of the policy.

    • options: msRest.RequestOptionsBase

      The optional parameters

    • callback: msRest.ServiceCallback<AuthorizationPolicy>

      The callback

    Returns void

Generated using TypeDoc