ArmApiCenterModelFactory.ApiCenterApiProperties Method

Definition

Initializes a new instance of ApiCenterApiProperties.

public static Azure.ResourceManager.ApiCenter.Models.ApiCenterApiProperties ApiCenterApiProperties(string title = default, Azure.ResourceManager.ApiCenter.Models.ApiKind kind = default, string description = default, string summary = default, Azure.ResourceManager.ApiCenter.Models.ApiLifecycleStage? lifecycleStage = default, Uri termsOfServiceUri = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.ApiCenter.Models.ApiExternalDocumentation> externalDocumentation = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.ApiCenter.Models.ApiContactInformation> contacts = default, Azure.ResourceManager.ApiCenter.Models.ApiLicenseInformation license = default, BinaryData customProperties = default);
static member ApiCenterApiProperties : string * Azure.ResourceManager.ApiCenter.Models.ApiKind * string * string * Nullable<Azure.ResourceManager.ApiCenter.Models.ApiLifecycleStage> * Uri * seq<Azure.ResourceManager.ApiCenter.Models.ApiExternalDocumentation> * seq<Azure.ResourceManager.ApiCenter.Models.ApiContactInformation> * Azure.ResourceManager.ApiCenter.Models.ApiLicenseInformation * BinaryData -> Azure.ResourceManager.ApiCenter.Models.ApiCenterApiProperties
Public Shared Function ApiCenterApiProperties (Optional title As String = Nothing, Optional kind As ApiKind = Nothing, Optional description As String = Nothing, Optional summary As String = Nothing, Optional lifecycleStage As Nullable(Of ApiLifecycleStage) = Nothing, Optional termsOfServiceUri As Uri = Nothing, Optional externalDocumentation As IEnumerable(Of ApiExternalDocumentation) = Nothing, Optional contacts As IEnumerable(Of ApiContactInformation) = Nothing, Optional license As ApiLicenseInformation = Nothing, Optional customProperties As BinaryData = Nothing) As ApiCenterApiProperties

Parameters

title
String

API title.

kind
ApiKind

Kind of API. For example, REST or GraphQL.

description
String

Description of the API.

summary
String

Short description of the API.

lifecycleStage
Nullable<ApiLifecycleStage>

Current lifecycle stage of the API.

termsOfServiceUri
Uri

URL pointing to the terms of service.

externalDocumentation
IEnumerable<ApiExternalDocumentation>

The set of external documentation.

contacts
IEnumerable<ApiContactInformation>

The set of contacts.

license
ApiLicenseInformation

The license information for the API.

customProperties
BinaryData

The custom metadata defined for API catalog entities.

Returns

A new ApiCenterApiProperties instance for mocking.

Applies to