Options
All
  • Public
  • Public/Protected
  • All
Menu

Class RoleAssignments

Package version

Class representing a RoleAssignments.

Hierarchy

  • RoleAssignments

Index

Constructors

constructor

Methods

beginCreateOrUpdate

  • beginCreateOrUpdate(resourceGroupName: string, hubName: string, assignmentName: string, parameters: RoleAssignmentResourceFormat, options?: msRest.RequestOptionsBase): Promise<msRestAzure.LROPoller>
  • Creates or updates a role assignment in the hub.

    Parameters

    • resourceGroupName: string

      The name of the resource group.

    • hubName: string

      The name of the hub.

    • assignmentName: string

      The assignment name

    • parameters: RoleAssignmentResourceFormat

      Parameters supplied to the CreateOrUpdate RoleAssignment operation.

    • Optional options: msRest.RequestOptionsBase

    Returns Promise<msRestAzure.LROPoller>

    Promise<msRestAzure.LROPoller>

createOrUpdate

  • createOrUpdate(resourceGroupName: string, hubName: string, assignmentName: string, parameters: RoleAssignmentResourceFormat, options?: msRest.RequestOptionsBase): Promise<Models.RoleAssignmentsCreateOrUpdateResponse>
  • Creates or updates a role assignment in the hub.

    Parameters

    • resourceGroupName: string

      The name of the resource group.

    • hubName: string

      The name of the hub.

    • assignmentName: string

      The assignment name

    • parameters: RoleAssignmentResourceFormat

      Parameters supplied to the CreateOrUpdate RoleAssignment operation.

    • Optional options: msRest.RequestOptionsBase

    Returns Promise<Models.RoleAssignmentsCreateOrUpdateResponse>

    Promise<Models.RoleAssignmentsCreateOrUpdateResponse>

deleteMethod

  • deleteMethod(resourceGroupName: string, hubName: string, assignmentName: string, options?: msRest.RequestOptionsBase): Promise<msRest.RestResponse>
  • deleteMethod(resourceGroupName: string, hubName: string, assignmentName: string, callback: msRest.ServiceCallback<void>): void
  • deleteMethod(resourceGroupName: string, hubName: string, assignmentName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<void>): void
  • Deletes the role assignment in the hub.

    Parameters

    • resourceGroupName: string

      The name of the resource group.

    • hubName: string

      The name of the hub.

    • assignmentName: string

      The name of the role assignment.

    • Optional options: msRest.RequestOptionsBase

    Returns Promise<msRest.RestResponse>

    Promise<msRest.RestResponse>

  • Parameters

    • resourceGroupName: string

      The name of the resource group.

    • hubName: string

      The name of the hub.

    • assignmentName: string

      The name of the role assignment.

    • callback: msRest.ServiceCallback<void>

      The callback

    Returns void

  • Parameters

    • resourceGroupName: string

      The name of the resource group.

    • hubName: string

      The name of the hub.

    • assignmentName: string

      The name of the role assignment.

    • options: msRest.RequestOptionsBase

      The optional parameters

    • callback: msRest.ServiceCallback<void>

      The callback

    Returns void

get

  • get(resourceGroupName: string, hubName: string, assignmentName: string, options?: msRest.RequestOptionsBase): Promise<Models.RoleAssignmentsGetResponse>
  • get(resourceGroupName: string, hubName: string, assignmentName: string, callback: msRest.ServiceCallback<RoleAssignmentResourceFormat>): void
  • get(resourceGroupName: string, hubName: string, assignmentName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<RoleAssignmentResourceFormat>): void
  • Gets the role assignment in the hub.

    Parameters

    • resourceGroupName: string

      The name of the resource group.

    • hubName: string

      The name of the hub.

    • assignmentName: string

      The name of the role assignment.

    • Optional options: msRest.RequestOptionsBase

    Returns Promise<Models.RoleAssignmentsGetResponse>

    Promise<Models.RoleAssignmentsGetResponse>

  • Parameters

    • resourceGroupName: string

      The name of the resource group.

    • hubName: string

      The name of the hub.

    • assignmentName: string

      The name of the role assignment.

    • callback: msRest.ServiceCallback<RoleAssignmentResourceFormat>

      The callback

    Returns void

  • Parameters

    • resourceGroupName: string

      The name of the resource group.

    • hubName: string

      The name of the hub.

    • assignmentName: string

      The name of the role assignment.

    • options: msRest.RequestOptionsBase

      The optional parameters

    • callback: msRest.ServiceCallback<RoleAssignmentResourceFormat>

      The callback

    Returns void

listByHub

  • listByHub(resourceGroupName: string, hubName: string, options?: msRest.RequestOptionsBase): Promise<Models.RoleAssignmentsListByHubResponse>
  • listByHub(resourceGroupName: string, hubName: string, callback: msRest.ServiceCallback<RoleAssignmentListResult>): void
  • listByHub(resourceGroupName: string, hubName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<RoleAssignmentListResult>): void
  • Gets all the role assignments for the 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.RoleAssignmentsListByHubResponse>

    Promise<Models.RoleAssignmentsListByHubResponse>

  • Parameters

    • resourceGroupName: string

      The name of the resource group.

    • hubName: string

      The name of the hub.

    • callback: msRest.ServiceCallback<RoleAssignmentListResult>

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

      The callback

    Returns void

listByHubNext

  • listByHubNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise<Models.RoleAssignmentsListByHubNextResponse>
  • listByHubNext(nextPageLink: string, callback: msRest.ServiceCallback<RoleAssignmentListResult>): void
  • listByHubNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<RoleAssignmentListResult>): void
  • Gets all the role assignments for the specified hub.

    Parameters

    • nextPageLink: string

      The NextLink from the previous successful call to List operation.

    • Optional options: msRest.RequestOptionsBase

    Returns Promise<Models.RoleAssignmentsListByHubNextResponse>

    Promise<Models.RoleAssignmentsListByHubNextResponse>

  • Parameters

    • nextPageLink: string

      The NextLink from the previous successful call to List operation.

    • callback: msRest.ServiceCallback<RoleAssignmentListResult>

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

      The callback

    Returns void

Generated using TypeDoc