ServicesOperations interface
表示服務作業的介面。
屬性
| create |
使用指定的名稱建立或更新 Service Fabric 受控服務資源。 |
| delete | |
| get | 取得在 Service Fabric 受控應用程式資源中建立或正在建立的 Service Fabric 服務資源。 |
| list |
取得在 Service Fabric 受控應用程式資源中建立或程式中建立的所有服務資源。 |
| restart |
長時間執行的資源動作。 |
| update | 更新指定受控叢集的服務資源標籤。 |
屬性詳細資料
createOrUpdate
使用指定的名稱建立或更新 Service Fabric 受控服務資源。
createOrUpdate: (resourceGroupName: string, clusterName: string, applicationName: string, serviceName: string, parameters: ServiceResource, options?: ServicesCreateOrUpdateOptionalParams) => PollerLike<OperationState<ServiceResource>, ServiceResource>
屬性值
(resourceGroupName: string, clusterName: string, applicationName: string, serviceName: string, parameters: ServiceResource, options?: ServicesCreateOrUpdateOptionalParams) => PollerLike<OperationState<ServiceResource>, ServiceResource>
delete
delete: (resourceGroupName: string, clusterName: string, applicationName: string, serviceName: string, options?: ServicesDeleteOptionalParams) => PollerLike<OperationState<void>, void>
屬性值
(resourceGroupName: string, clusterName: string, applicationName: string, serviceName: string, options?: ServicesDeleteOptionalParams) => PollerLike<OperationState<void>, void>
get
取得在 Service Fabric 受控應用程式資源中建立或正在建立的 Service Fabric 服務資源。
get: (resourceGroupName: string, clusterName: string, applicationName: string, serviceName: string, options?: ServicesGetOptionalParams) => Promise<ServiceResource>
屬性值
(resourceGroupName: string, clusterName: string, applicationName: string, serviceName: string, options?: ServicesGetOptionalParams) => Promise<ServiceResource>
listByApplications
取得在 Service Fabric 受控應用程式資源中建立或程式中建立的所有服務資源。
listByApplications: (resourceGroupName: string, clusterName: string, applicationName: string, options?: ServicesListByApplicationsOptionalParams) => PagedAsyncIterableIterator<ServiceResource, ServiceResource[], PageSettings>
屬性值
(resourceGroupName: string, clusterName: string, applicationName: string, options?: ServicesListByApplicationsOptionalParams) => PagedAsyncIterableIterator<ServiceResource, ServiceResource[], PageSettings>
restartReplica
長時間執行的資源動作。
restartReplica: (resourceGroupName: string, clusterName: string, applicationName: string, serviceName: string, parameters: RestartReplicaRequest, options?: ServicesRestartReplicaOptionalParams) => PollerLike<OperationState<void>, void>
屬性值
(resourceGroupName: string, clusterName: string, applicationName: string, serviceName: string, parameters: RestartReplicaRequest, options?: ServicesRestartReplicaOptionalParams) => PollerLike<OperationState<void>, void>
update
更新指定受控叢集的服務資源標籤。
update: (resourceGroupName: string, clusterName: string, applicationName: string, serviceName: string, parameters: ServiceUpdateParameters, options?: ServicesUpdateOptionalParams) => Promise<ServiceResource>
屬性值
(resourceGroupName: string, clusterName: string, applicationName: string, serviceName: string, parameters: ServiceUpdateParameters, options?: ServicesUpdateOptionalParams) => Promise<ServiceResource>