ApiContractProperties interface

API Entity Properties

Extends

Properties

apiVersionSet

Version set details

displayName

API name. Must be 1 to 300 characters long.

path

Relative URL uniquely identifying this API and all of its resource paths within the API Management service instance. It is appended to the API endpoint base URL specified during the service instance creation to form a public URL for this API.

protocols

Describes on which protocols the operations in this API can be invoked.

serviceUrl

Absolute URL of the backend service implementing this API. Cannot be more than 2000 characters long.

sourceApiId

API identifier of the source API.

Inherited Properties

apiRevision

Describes the revision of the API. If no value is provided, default revision 1 is created

apiRevisionDescription

Description of the API Revision.

apiType

Type of API.

apiVersion

Indicates the version identifier of the API if the API is versioned

apiVersionDescription

Description of the API Version.

apiVersionSetId

A resource identifier for the related ApiVersionSet.

authenticationSettings

Collection of authentication settings included into this API.

contact

Contact information for the API.

description

Description of the API. May include HTML formatting tags.

isCurrent

Indicates if API revision is current api revision.

isOnline

Indicates if API revision is accessible via the gateway. NOTE: This property will not be serialized. It can only be populated by the server.

license

License information for the API.

subscriptionKeyParameterNames

Protocols over which API is made available.

subscriptionRequired

Specifies whether an API or Product subscription is required for accessing the API.

termsOfServiceUrl

A URL to the Terms of Service for the API. MUST be in the format of a URL.

Property Details

apiVersionSet

Version set details

apiVersionSet?: ApiVersionSetContractDetails

Property Value

displayName

API name. Must be 1 to 300 characters long.

displayName?: string

Property Value

string

path

Relative URL uniquely identifying this API and all of its resource paths within the API Management service instance. It is appended to the API endpoint base URL specified during the service instance creation to form a public URL for this API.

path: string

Property Value

string

protocols

Describes on which protocols the operations in this API can be invoked.

protocols?: string[]

Property Value

string[]

serviceUrl

Absolute URL of the backend service implementing this API. Cannot be more than 2000 characters long.

serviceUrl?: string

Property Value

string

sourceApiId

API identifier of the source API.

sourceApiId?: string

Property Value

string

Inherited Property Details

apiRevision

Describes the revision of the API. If no value is provided, default revision 1 is created

apiRevision?: string

Property Value

string

Inherited From ApiEntityBaseContract.apiRevision

apiRevisionDescription

Description of the API Revision.

apiRevisionDescription?: string

Property Value

string

Inherited From ApiEntityBaseContract.apiRevisionDescription

apiType

Type of API.

apiType?: string

Property Value

string

Inherited From ApiEntityBaseContract.apiType

apiVersion

Indicates the version identifier of the API if the API is versioned

apiVersion?: string

Property Value

string

Inherited From ApiEntityBaseContract.apiVersion

apiVersionDescription

Description of the API Version.

apiVersionDescription?: string

Property Value

string

Inherited From ApiEntityBaseContract.apiVersionDescription

apiVersionSetId

A resource identifier for the related ApiVersionSet.

apiVersionSetId?: string

Property Value

string

Inherited From ApiEntityBaseContract.apiVersionSetId

authenticationSettings

Collection of authentication settings included into this API.

authenticationSettings?: AuthenticationSettingsContract

Property Value

Inherited From ApiEntityBaseContract.authenticationSettings

contact

Contact information for the API.

contact?: ApiContactInformation

Property Value

Inherited From ApiEntityBaseContract.contact

description

Description of the API. May include HTML formatting tags.

description?: string

Property Value

string

Inherited From ApiEntityBaseContract.description

isCurrent

Indicates if API revision is current api revision.

isCurrent?: boolean

Property Value

boolean

Inherited From ApiEntityBaseContract.isCurrent

isOnline

Indicates if API revision is accessible via the gateway. NOTE: This property will not be serialized. It can only be populated by the server.

isOnline?: boolean

Property Value

boolean

Inherited From ApiEntityBaseContract.isOnline

license

License information for the API.

license?: ApiLicenseInformation

Property Value

Inherited From ApiEntityBaseContract.license

subscriptionKeyParameterNames

Protocols over which API is made available.

subscriptionKeyParameterNames?: SubscriptionKeyParameterNamesContract

Property Value

Inherited From ApiEntityBaseContract.subscriptionKeyParameterNames

subscriptionRequired

Specifies whether an API or Product subscription is required for accessing the API.

subscriptionRequired?: boolean

Property Value

boolean

Inherited From ApiEntityBaseContract.subscriptionRequired

termsOfServiceUrl

A URL to the Terms of Service for the API. MUST be in the format of a URL.

termsOfServiceUrl?: string

Property Value

string

Inherited From ApiEntityBaseContract.termsOfServiceUrl