StaticSiteResource.CreateUserRolesInvitationLinkAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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: 2024-04-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
- content
- StaticSiteUserInvitationContent
The StaticSiteUserInvitationContent to use.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
Exceptions
content
is null.