WithWebPubSubRoleAssignments
Method
func (Resource) WithWebPubSubRoleAssignments( target AzureWebPubSubResource, roles []AzureWebPubSubRole,) ResourceSignature
method
WithWebPubSubRoleAssignments builderAssigns 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,) ResourceParameters
targetAzureWebPubSubResource The target Azure Web PubSub resource.roles[]AzureWebPubSubRole The Web PubSub roles to be assigned.Returns
ResourceThe resource builder.
Returns a handle; failures surface later via Err().
Applies to
This method applies to the following types:
type
AzureBicepResourcetype
AzureEnvironmentResourcetype
AzureProvisioningResourcetype
AzureUserAssignedIdentityResourcetype
AzureWebPubSubEmulatorResourcetype
AzureWebPubSubHubResourcetype
AzureWebPubSubResourcetype
CSharpAppResourcetype
ContainerRegistryResourcetype
ContainerResourcetype
DotnetToolResourcetype
ExecutableResourcetype
ExternalServiceResourcetype
ParameterResourcetype
ProjectResource