ServiceFabrics interface
表示 ServiceFabrics 的接口。
方法
方法详细信息
beginCreateOrUpdate(string, string, string, string, ServiceFabric, ServiceFabricsCreateOrUpdateOptionalParams)
创建或替换现有 Service Fabric。 此作可能需要一段时间才能完成。
function beginCreateOrUpdate(resourceGroupName: string, labName: string, userName: string, name: string, serviceFabric: ServiceFabric, options?: ServiceFabricsCreateOrUpdateOptionalParams): Promise<PollerLike<PollOperationState<ServiceFabric>, ServiceFabric>>
参数
- resourceGroupName
-
string
资源组的名称。
- labName
-
string
实验室的名称。
- userName
-
string
用户配置文件的名称。
- name
-
string
Service Fabric 的名称。
- serviceFabric
- ServiceFabric
Service Fabric。
选项参数。
返回
Promise<PollerLike<@azure/core-lro.PollOperationState<ServiceFabric>, ServiceFabric>>
beginCreateOrUpdateAndWait(string, string, string, string, ServiceFabric, ServiceFabricsCreateOrUpdateOptionalParams)
创建或替换现有 Service Fabric。 此作可能需要一段时间才能完成。
function beginCreateOrUpdateAndWait(resourceGroupName: string, labName: string, userName: string, name: string, serviceFabric: ServiceFabric, options?: ServiceFabricsCreateOrUpdateOptionalParams): Promise<ServiceFabric>
参数
- resourceGroupName
-
string
资源组的名称。
- labName
-
string
实验室的名称。
- userName
-
string
用户配置文件的名称。
- name
-
string
Service Fabric 的名称。
- serviceFabric
- ServiceFabric
Service Fabric。
选项参数。
返回
Promise<ServiceFabric>
beginDelete(string, string, string, string, ServiceFabricsDeleteOptionalParams)
删除 Service Fabric。 此作可能需要一段时间才能完成。
function beginDelete(resourceGroupName: string, labName: string, userName: string, name: string, options?: ServiceFabricsDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>
参数
- resourceGroupName
-
string
资源组的名称。
- labName
-
string
实验室的名称。
- userName
-
string
用户配置文件的名称。
- name
-
string
Service Fabric 的名称。
选项参数。
返回
Promise<PollerLike<@azure/core-lro.PollOperationState<void>, void>>
beginDeleteAndWait(string, string, string, string, ServiceFabricsDeleteOptionalParams)
删除 Service Fabric。 此作可能需要一段时间才能完成。
function beginDeleteAndWait(resourceGroupName: string, labName: string, userName: string, name: string, options?: ServiceFabricsDeleteOptionalParams): Promise<void>
参数
- resourceGroupName
-
string
资源组的名称。
- labName
-
string
实验室的名称。
- userName
-
string
用户配置文件的名称。
- name
-
string
Service Fabric 的名称。
选项参数。
返回
Promise<void>
beginStart(string, string, string, string, ServiceFabricsStartOptionalParams)
启动 Service Fabric。 此作可能需要一段时间才能完成。
function beginStart(resourceGroupName: string, labName: string, userName: string, name: string, options?: ServiceFabricsStartOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>
参数
- resourceGroupName
-
string
资源组的名称。
- labName
-
string
实验室的名称。
- userName
-
string
用户配置文件的名称。
- name
-
string
Service Fabric 的名称。
选项参数。
返回
Promise<PollerLike<@azure/core-lro.PollOperationState<void>, void>>
beginStartAndWait(string, string, string, string, ServiceFabricsStartOptionalParams)
启动 Service Fabric。 此作可能需要一段时间才能完成。
function beginStartAndWait(resourceGroupName: string, labName: string, userName: string, name: string, options?: ServiceFabricsStartOptionalParams): Promise<void>
参数
- resourceGroupName
-
string
资源组的名称。
- labName
-
string
实验室的名称。
- userName
-
string
用户配置文件的名称。
- name
-
string
Service Fabric 的名称。
选项参数。
返回
Promise<void>
beginStop(string, string, string, string, ServiceFabricsStopOptionalParams)
停止 Service Fabric 此作可能需要一段时间才能完成。
function beginStop(resourceGroupName: string, labName: string, userName: string, name: string, options?: ServiceFabricsStopOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>
参数
- resourceGroupName
-
string
资源组的名称。
- labName
-
string
实验室的名称。
- userName
-
string
用户配置文件的名称。
- name
-
string
Service Fabric 的名称。
- options
- ServiceFabricsStopOptionalParams
选项参数。
返回
Promise<PollerLike<@azure/core-lro.PollOperationState<void>, void>>
beginStopAndWait(string, string, string, string, ServiceFabricsStopOptionalParams)
停止 Service Fabric 此作可能需要一段时间才能完成。
function beginStopAndWait(resourceGroupName: string, labName: string, userName: string, name: string, options?: ServiceFabricsStopOptionalParams): Promise<void>
参数
- resourceGroupName
-
string
资源组的名称。
- labName
-
string
实验室的名称。
- userName
-
string
用户配置文件的名称。
- name
-
string
Service Fabric 的名称。
- options
- ServiceFabricsStopOptionalParams
选项参数。
返回
Promise<void>
get(string, string, string, string, ServiceFabricsGetOptionalParams)
获取 Service Fabric。
function get(resourceGroupName: string, labName: string, userName: string, name: string, options?: ServiceFabricsGetOptionalParams): Promise<ServiceFabric>
参数
- resourceGroupName
-
string
资源组的名称。
- labName
-
string
实验室的名称。
- userName
-
string
用户配置文件的名称。
- name
-
string
Service Fabric 的名称。
- options
- ServiceFabricsGetOptionalParams
选项参数。
返回
Promise<ServiceFabric>
list(string, string, string, ServiceFabricsListOptionalParams)
列出给定用户配置文件中的 Service Fabric。
function list(resourceGroupName: string, labName: string, userName: string, options?: ServiceFabricsListOptionalParams): PagedAsyncIterableIterator<ServiceFabric, ServiceFabric[], PageSettings>
参数
- resourceGroupName
-
string
资源组的名称。
- labName
-
string
实验室的名称。
- userName
-
string
用户配置文件的名称。
- options
- ServiceFabricsListOptionalParams
选项参数。
返回
listApplicableSchedules(string, string, string, string, ServiceFabricsListApplicableSchedulesOptionalParams)
列出适用的启动/停止计划(如果有)。
function listApplicableSchedules(resourceGroupName: string, labName: string, userName: string, name: string, options?: ServiceFabricsListApplicableSchedulesOptionalParams): Promise<ApplicableSchedule>
参数
- resourceGroupName
-
string
资源组的名称。
- labName
-
string
实验室的名称。
- userName
-
string
用户配置文件的名称。
- name
-
string
Service Fabric 的名称。
选项参数。
返回
Promise<ApplicableSchedule>
update(string, string, string, string, ServiceFabricFragment, ServiceFabricsUpdateOptionalParams)
允许修改 Service Fabric 的标记。 将忽略所有其他属性。
function update(resourceGroupName: string, labName: string, userName: string, name: string, serviceFabric: ServiceFabricFragment, options?: ServiceFabricsUpdateOptionalParams): Promise<ServiceFabric>
参数
- resourceGroupName
-
string
资源组的名称。
- labName
-
string
实验室的名称。
- userName
-
string
用户配置文件的名称。
- name
-
string
Service Fabric 的名称。
- serviceFabric
- ServiceFabricFragment
Service Fabric。
选项参数。
返回
Promise<ServiceFabric>