Share via


StaticSiteResource.CreateUserRolesInvitationLinkAsync Method

Definition

Description for Creates an invitation link for a user with the role

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/createUserInvitation
  • Operation Id: StaticSites_CreateUserRolesInvitationLink
  • Default Api Version: 2023-12-01
  • Resource: StaticSiteResource
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppService.Models.StaticSiteUserInvitationResult>> CreateUserRolesInvitationLinkAsync (Azure.ResourceManager.AppService.Models.StaticSiteUserInvitationContent content, System.Threading.CancellationToken cancellationToken = default);
abstract member CreateUserRolesInvitationLinkAsync : Azure.ResourceManager.AppService.Models.StaticSiteUserInvitationContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppService.Models.StaticSiteUserInvitationResult>>
override this.CreateUserRolesInvitationLinkAsync : Azure.ResourceManager.AppService.Models.StaticSiteUserInvitationContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppService.Models.StaticSiteUserInvitationResult>>
Public Overridable Function CreateUserRolesInvitationLinkAsync (content As StaticSiteUserInvitationContent, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of StaticSiteUserInvitationResult))

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

content is null.

Applies to