ArmWebPubSubModelFactory.UpstreamAuthSettings Method

Definition

public static Azure.ResourceManager.WebPubSub.Models.UpstreamAuthSettings UpstreamAuthSettings(Azure.ResourceManager.WebPubSub.Models.UpstreamAuthType? authType = default, string managedIdentityResource = default);
static member UpstreamAuthSettings : Nullable<Azure.ResourceManager.WebPubSub.Models.UpstreamAuthType> * string -> Azure.ResourceManager.WebPubSub.Models.UpstreamAuthSettings
Public Shared Function UpstreamAuthSettings (Optional authType As Nullable(Of UpstreamAuthType) = Nothing, Optional managedIdentityResource As String = Nothing) As UpstreamAuthSettings

Parameters

authType
Nullable<UpstreamAuthType>

Upstream auth type enum.

managedIdentityResource
String

The Resource indicating the App ID URI of the target resource. It also appears in the aud (audience) claim of the issued token.

Returns

A new UpstreamAuthSettings instance for mocking.

Applies to