withWebPubSubRoleAssignments
Method
interface ContainerResource { // ... omitted for brevity withWebPubSubRoleAssignments( target: AzureWebPubSubResource, roles: AzureWebPubSubRole[]): IResource;}Signature
method
withWebPubSubRoleAssignments builder Assigns the specified roles to the given resource, granting it the necessary permissions on the target Azure Web PubSub resource. This replaces the default role assignments for the resource.
withWebPubSubRoleAssignments( target: AzureWebPubSubResource, roles: AzureWebPubSubRole[]): IResourceParameters
target AzureWebPubSubResource roles AzureWebPubSubRole[] Returns
IResource Applies to
This method applies to the following types:
type
ContainerResource type
ExecutableResource type
ProjectResource type
ParameterResource type
ContainerRegistryResource type
DotnetToolResource type
ExternalServiceResource type
CSharpAppResource type
AzureWebPubSubResource type
AzureWebPubSubHubResource type
AzureBicepResource type
AzureProvisioningResource type
AzureEnvironmentResource type
AzureUserAssignedIdentityResource