共用方式為


Services interface

表示服務的介面。

方法

beginExportMetadataSchema(string, string, MetadataSchemaExportRequest, ServicesExportMetadataSchemaOptionalParams)

匯出有效的元數據架構。

beginExportMetadataSchemaAndWait(string, string, MetadataSchemaExportRequest, ServicesExportMetadataSchemaOptionalParams)

匯出有效的元數據架構。

createOrUpdate(string, string, Service, ServicesCreateOrUpdateOptionalParams)

建立新的或更新現有的 API。

delete(string, string, ServicesDeleteOptionalParams)

刪除指定的服務。

get(string, string, ServicesGetOptionalParams)

傳回服務的詳細數據。

listByResourceGroup(string, ServicesListByResourceGroupOptionalParams)

傳回資源群組內的服務集合。

listBySubscription(ServicesListBySubscriptionOptionalParams)

清單 Azure 訂用帳戶內的服務。

update(string, string, ServiceUpdate, ServicesUpdateOptionalParams)

匯報 現有的服務。

方法詳細資料

beginExportMetadataSchema(string, string, MetadataSchemaExportRequest, ServicesExportMetadataSchemaOptionalParams)

匯出有效的元數據架構。

function beginExportMetadataSchema(resourceGroupName: string, serviceName: string, body: MetadataSchemaExportRequest, options?: ServicesExportMetadataSchemaOptionalParams): Promise<SimplePollerLike<OperationState<MetadataSchemaExportResult>, MetadataSchemaExportResult>>

參數

resourceGroupName

string

資源群組的名稱。 名稱不區分大小寫。

serviceName

string

Azure API 中心服務的名稱。

body
MetadataSchemaExportRequest

動作要求的內容

傳回

Promise<@azure/core-lro.SimplePollerLike<OperationState<MetadataSchemaExportResult>, MetadataSchemaExportResult>>

beginExportMetadataSchemaAndWait(string, string, MetadataSchemaExportRequest, ServicesExportMetadataSchemaOptionalParams)

匯出有效的元數據架構。

function beginExportMetadataSchemaAndWait(resourceGroupName: string, serviceName: string, body: MetadataSchemaExportRequest, options?: ServicesExportMetadataSchemaOptionalParams): Promise<MetadataSchemaExportResult>

參數

resourceGroupName

string

資源群組的名稱。 名稱不區分大小寫。

serviceName

string

Azure API 中心服務的名稱。

body
MetadataSchemaExportRequest

動作要求的內容

傳回

createOrUpdate(string, string, Service, ServicesCreateOrUpdateOptionalParams)

建立新的或更新現有的 API。

function createOrUpdate(resourceGroupName: string, serviceName: string, resource: Service, options?: ServicesCreateOrUpdateOptionalParams): Promise<Service>

參數

resourceGroupName

string

資源群組的名稱。 名稱不區分大小寫。

serviceName

string

Azure API 中心服務的名稱。

resource
Service

資源建立參數。

options
ServicesCreateOrUpdateOptionalParams

選項參數。

傳回

Promise<Service>

delete(string, string, ServicesDeleteOptionalParams)

刪除指定的服務。

function delete(resourceGroupName: string, serviceName: string, options?: ServicesDeleteOptionalParams): Promise<void>

參數

resourceGroupName

string

資源群組的名稱。 名稱不區分大小寫。

serviceName

string

Azure API 中心服務的名稱。

options
ServicesDeleteOptionalParams

選項參數。

傳回

Promise<void>

get(string, string, ServicesGetOptionalParams)

傳回服務的詳細數據。

function get(resourceGroupName: string, serviceName: string, options?: ServicesGetOptionalParams): Promise<Service>

參數

resourceGroupName

string

資源群組的名稱。 名稱不區分大小寫。

serviceName

string

Azure API 中心服務的名稱。

options
ServicesGetOptionalParams

選項參數。

傳回

Promise<Service>

listByResourceGroup(string, ServicesListByResourceGroupOptionalParams)

傳回資源群組內的服務集合。

function listByResourceGroup(resourceGroupName: string, options?: ServicesListByResourceGroupOptionalParams): PagedAsyncIterableIterator<Service, Service[], PageSettings>

參數

resourceGroupName

string

資源群組的名稱。 名稱不區分大小寫。

傳回

listBySubscription(ServicesListBySubscriptionOptionalParams)

清單 Azure 訂用帳戶內的服務。

function listBySubscription(options?: ServicesListBySubscriptionOptionalParams): PagedAsyncIterableIterator<Service, Service[], PageSettings>

參數

傳回

update(string, string, ServiceUpdate, ServicesUpdateOptionalParams)

匯報 現有的服務。

function update(resourceGroupName: string, serviceName: string, properties: ServiceUpdate, options?: ServicesUpdateOptionalParams): Promise<Service>

參數

resourceGroupName

string

資源群組的名稱。 名稱不區分大小寫。

serviceName

string

Azure API 中心服務的名稱。

properties
ServiceUpdate

要更新的資源屬性。

options
ServicesUpdateOptionalParams

選項參數。

傳回

Promise<Service>