Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Permissions

Package version

Class representing a Permissions.

Hierarchy

  • Permissions

Index

Constructors

constructor

Methods

listForResource

  • listForResource(resourceGroupName: string, resourceProviderNamespace: string, parentResourcePath: string, resourceType: string, resourceName: string, options?: msRest.RequestOptionsBase): Promise<Models.PermissionsListForResourceResponse>
  • listForResource(resourceGroupName: string, resourceProviderNamespace: string, parentResourcePath: string, resourceType: string, resourceName: string, callback: msRest.ServiceCallback<PermissionGetResult>): void
  • listForResource(resourceGroupName: string, resourceProviderNamespace: string, parentResourcePath: string, resourceType: string, resourceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<PermissionGetResult>): void
  • Gets all permissions the caller has for a resource.

    Parameters

    • resourceGroupName: string

      The name of the resource group containing the resource. The name is case insensitive.

    • resourceProviderNamespace: string

      The namespace of the resource provider.

    • parentResourcePath: string

      The parent resource identity.

    • resourceType: string

      The resource type of the resource.

    • resourceName: string

      The name of the resource to get the permissions for.

    • Optional options: msRest.RequestOptionsBase

    Returns Promise<Models.PermissionsListForResourceResponse>

    Promise<Models.PermissionsListForResourceResponse>

  • Parameters

    • resourceGroupName: string

      The name of the resource group containing the resource. The name is case insensitive.

    • resourceProviderNamespace: string

      The namespace of the resource provider.

    • parentResourcePath: string

      The parent resource identity.

    • resourceType: string

      The resource type of the resource.

    • resourceName: string

      The name of the resource to get the permissions for.

    • callback: msRest.ServiceCallback<PermissionGetResult>

      The callback

    Returns void

  • Parameters

    • resourceGroupName: string

      The name of the resource group containing the resource. The name is case insensitive.

    • resourceProviderNamespace: string

      The namespace of the resource provider.

    • parentResourcePath: string

      The parent resource identity.

    • resourceType: string

      The resource type of the resource.

    • resourceName: string

      The name of the resource to get the permissions for.

    • options: msRest.RequestOptionsBase

      The optional parameters

    • callback: msRest.ServiceCallback<PermissionGetResult>

      The callback

    Returns void

listForResourceGroup

  • listForResourceGroup(resourceGroupName: string, options?: msRest.RequestOptionsBase): Promise<Models.PermissionsListForResourceGroupResponse>
  • listForResourceGroup(resourceGroupName: string, callback: msRest.ServiceCallback<PermissionGetResult>): void
  • listForResourceGroup(resourceGroupName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<PermissionGetResult>): void
  • Gets all permissions the caller has for a resource group.

    Parameters

    • resourceGroupName: string

      The name of the resource group to get the permissions for. The name is case insensitive.

    • Optional options: msRest.RequestOptionsBase

    Returns Promise<Models.PermissionsListForResourceGroupResponse>

    Promise<Models.PermissionsListForResourceGroupResponse>

  • Parameters

    • resourceGroupName: string

      The name of the resource group to get the permissions for. The name is case insensitive.

    • callback: msRest.ServiceCallback<PermissionGetResult>

      The callback

    Returns void

  • Parameters

    • resourceGroupName: string

      The name of the resource group to get the permissions for. The name is case insensitive.

    • options: msRest.RequestOptionsBase

      The optional parameters

    • callback: msRest.ServiceCallback<PermissionGetResult>

      The callback

    Returns void

listForResourceGroupNext

  • listForResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise<Models.PermissionsListForResourceGroupNextResponse>
  • listForResourceGroupNext(nextPageLink: string, callback: msRest.ServiceCallback<PermissionGetResult>): void
  • listForResourceGroupNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<PermissionGetResult>): void
  • Gets all permissions the caller has for a resource group.

    Parameters

    • nextPageLink: string

      The NextLink from the previous successful call to List operation.

    • Optional options: msRest.RequestOptionsBase

    Returns Promise<Models.PermissionsListForResourceGroupNextResponse>

    Promise<Models.PermissionsListForResourceGroupNextResponse>

  • Parameters

    • nextPageLink: string

      The NextLink from the previous successful call to List operation.

    • callback: msRest.ServiceCallback<PermissionGetResult>

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

      The callback

    Returns void

listForResourceNext

  • listForResourceNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise<Models.PermissionsListForResourceNextResponse>
  • listForResourceNext(nextPageLink: string, callback: msRest.ServiceCallback<PermissionGetResult>): void
  • listForResourceNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<PermissionGetResult>): void
  • Gets all permissions the caller has for a resource.

    Parameters

    • nextPageLink: string

      The NextLink from the previous successful call to List operation.

    • Optional options: msRest.RequestOptionsBase

    Returns Promise<Models.PermissionsListForResourceNextResponse>

    Promise<Models.PermissionsListForResourceNextResponse>

  • Parameters

    • nextPageLink: string

      The NextLink from the previous successful call to List operation.

    • callback: msRest.ServiceCallback<PermissionGetResult>

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

      The callback

    Returns void

Generated using TypeDoc