ArmSupportModelFactory.SecondaryConsent 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.
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.