ArmSupportModelFactory.SecondaryConsent Method

Definition

public static Azure.ResourceManager.Support.Models.SecondaryConsent SecondaryConsent(Azure.ResourceManager.Support.Models.UserConsent? userConsent = default, string secondaryConsentType = default);
static member SecondaryConsent : Nullable<Azure.ResourceManager.Support.Models.UserConsent> * string -> Azure.ResourceManager.Support.Models.SecondaryConsent
Public Shared Function SecondaryConsent (Optional userConsent As Nullable(Of UserConsent) = Nothing, Optional secondaryConsentType As String = Nothing) As SecondaryConsent

Parameters

userConsent
Nullable<UserConsent>

User consent value provided.

secondaryConsentType
String

The service name for which the secondary consent is being provided. The value needs to be retrieved from the Problem Classification API response.

Returns

A new SecondaryConsent instance for mocking.

Applies to