WithSignalRRoleAssignments
Method
func (Resource) WithSignalRRoleAssignments( target AzureSignalRResource, roles []AzureSignalRRole,) ResourceSignature
method
WithSignalRRoleAssignments builderAssigns the specified roles to the given resource, granting it the necessary permissions on the target Azure SignalR resource. This replaces the default role assignments for the resource.
WithSignalRRoleAssignments( target AzureSignalRResource, roles []AzureSignalRRole,) ResourceParameters
targetAzureSignalRResource The target Azure SignalR resource.roles[]AzureSignalRRole The Azure SignalR roles to be assigned (for example, SignalRContributor ).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
AzureSignalREmulatorResourcetype
AzureSignalRResourcetype
AzureUserAssignedIdentityResourcetype
CSharpAppResourcetype
ContainerRegistryResourcetype
ContainerResourcetype
DotnetToolResourcetype
ExecutableResourcetype
ExternalServiceResourcetype
ParameterResourcetype
ProjectResource