ArmApiManagementModelFactory.AuthorizationContractData 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.
Initializes a new instance of AuthorizationContractData.
public static Azure.ResourceManager.ApiManagement.AuthorizationContractData AuthorizationContractData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, Azure.ResourceManager.ApiManagement.Models.ApiManagementAuthorizationType? authorizationType = default, Azure.ResourceManager.ApiManagement.Models.OAuth2GrantType? oAuth2GrantType = default, System.Collections.Generic.IDictionary<string,string> parameters = default, Azure.ResourceManager.ApiManagement.Models.ApiManagementAuthorizationError error = default, string status = default);
static member AuthorizationContractData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * Nullable<Azure.ResourceManager.ApiManagement.Models.ApiManagementAuthorizationType> * Nullable<Azure.ResourceManager.ApiManagement.Models.OAuth2GrantType> * System.Collections.Generic.IDictionary<string, string> * Azure.ResourceManager.ApiManagement.Models.ApiManagementAuthorizationError * string -> Azure.ResourceManager.ApiManagement.AuthorizationContractData
Public Shared Function AuthorizationContractData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional authorizationType As Nullable(Of ApiManagementAuthorizationType) = Nothing, Optional oAuth2GrantType As Nullable(Of OAuth2GrantType) = Nothing, Optional parameters As IDictionary(Of String, String) = Nothing, Optional error As ApiManagementAuthorizationError = Nothing, Optional status As String = Nothing) As AuthorizationContractData
Parameters
The id.
- name
- String
The name.
- resourceType
- ResourceType
The resourceType.
- systemData
- SystemData
The systemData.
- authorizationType
- Nullable<ApiManagementAuthorizationType>
Authorization type options.
- oAuth2GrantType
- Nullable<OAuth2GrantType>
OAuth2 grant type options.
- parameters
- IDictionary<String,String>
Authorization parameters.
Authorization error details.
- status
- String
Status of the Authorization.
Returns
A new AuthorizationContractData instance for mocking.
Applies to
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
Azure SDK for .NET