ArmNetworkModelFactory.AuthenticationPolicyPropertiesFormat 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.
Properties of the authentication policy.
public static Azure.ResourceManager.Network.Models.AuthenticationPolicyPropertiesFormat AuthenticationPolicyPropertiesFormat(Azure.ResourceManager.Network.Models.UserTrustProviderType userTrustProviderType = default, Azure.ResourceManager.Network.Models.UnauthenticatedRequestAction? onUnauthenticatedRequest = default, Azure.ResourceManager.Network.Models.AuthenticationProviderProperties authenticationProperties = default, System.Collections.Generic.IEnumerable<string> associatedResources = default, Azure.ResourceManager.Network.Models.NetworkProvisioningState? provisioningState = default, string resourceGuid = default);
static member AuthenticationPolicyPropertiesFormat : Azure.ResourceManager.Network.Models.UserTrustProviderType * Nullable<Azure.ResourceManager.Network.Models.UnauthenticatedRequestAction> * Azure.ResourceManager.Network.Models.AuthenticationProviderProperties * seq<string> * Nullable<Azure.ResourceManager.Network.Models.NetworkProvisioningState> * string -> Azure.ResourceManager.Network.Models.AuthenticationPolicyPropertiesFormat
Public Shared Function AuthenticationPolicyPropertiesFormat (Optional userTrustProviderType As UserTrustProviderType = Nothing, Optional onUnauthenticatedRequest As Nullable(Of UnauthenticatedRequestAction) = Nothing, Optional authenticationProperties As AuthenticationProviderProperties = Nothing, Optional associatedResources As IEnumerable(Of String) = Nothing, Optional provisioningState As Nullable(Of NetworkProvisioningState) = Nothing, Optional resourceGuid As String = Nothing) As AuthenticationPolicyPropertiesFormat
Parameters
- userTrustProviderType
- UserTrustProviderType
The type of the user trust provider. Only Microsoft Entra is supported, using the serialized value entra.
- onUnauthenticatedRequest
- Nullable<UnauthenticatedRequestAction>
The action to take when a request is unauthenticated. When omitted, user sign-in policies default to authenticate and JWT validation policies default to deny.
- authenticationProperties
- AuthenticationProviderProperties
The authentication provider configuration for the policy.
- associatedResources
- IEnumerable<String>
A collection of resource IDs that reference this authentication policy.
- provisioningState
- Nullable<NetworkProvisioningState>
The provisioning state of the authentication policy resource.
- resourceGuid
- String
The resource GUID property of the authentication policy resource.
Returns
A new AuthenticationPolicyPropertiesFormat instance for mocking.