你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
ServiceFabrics interface
Interface representing a ServiceFabrics.
Methods
Method Details
beginCreateOrUpdate(string, string, string, string, ServiceFabric, ServiceFabricsCreateOrUpdateOptionalParams)
Create or replace an existing service fabric. This operation can take a while to complete.
function beginCreateOrUpdate(resourceGroupName: string, labName: string, userName: string, name: string, serviceFabric: ServiceFabric, options?: ServiceFabricsCreateOrUpdateOptionalParams): Promise<PollerLike<PollOperationState<ServiceFabric>, ServiceFabric>>
Parameters
- resourceGroupName
-
string
The name of the resource group.
- labName
-
string
The name of the lab.
- userName
-
string
The name of the user profile.
- name
-
string
The name of the service fabric.
- serviceFabric
- ServiceFabric
A Service Fabric.
The options parameters.
Returns
Promise<PollerLike<@azure/core-lro.PollOperationState<ServiceFabric>, ServiceFabric>>
beginCreateOrUpdateAndWait(string, string, string, string, ServiceFabric, ServiceFabricsCreateOrUpdateOptionalParams)
Create or replace an existing service fabric. This operation can take a while to complete.
function beginCreateOrUpdateAndWait(resourceGroupName: string, labName: string, userName: string, name: string, serviceFabric: ServiceFabric, options?: ServiceFabricsCreateOrUpdateOptionalParams): Promise<ServiceFabric>
Parameters
- resourceGroupName
-
string
The name of the resource group.
- labName
-
string
The name of the lab.
- userName
-
string
The name of the user profile.
- name
-
string
The name of the service fabric.
- serviceFabric
- ServiceFabric
A Service Fabric.
The options parameters.
Returns
Promise<ServiceFabric>
beginDelete(string, string, string, string, ServiceFabricsDeleteOptionalParams)
Delete service fabric. This operation can take a while to complete.
function beginDelete(resourceGroupName: string, labName: string, userName: string, name: string, options?: ServiceFabricsDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>
Parameters
- resourceGroupName
-
string
The name of the resource group.
- labName
-
string
The name of the lab.
- userName
-
string
The name of the user profile.
- name
-
string
The name of the service fabric.
The options parameters.
Returns
Promise<PollerLike<@azure/core-lro.PollOperationState<void>, void>>
beginDeleteAndWait(string, string, string, string, ServiceFabricsDeleteOptionalParams)
Delete service fabric. This operation can take a while to complete.
function beginDeleteAndWait(resourceGroupName: string, labName: string, userName: string, name: string, options?: ServiceFabricsDeleteOptionalParams): Promise<void>
Parameters
- resourceGroupName
-
string
The name of the resource group.
- labName
-
string
The name of the lab.
- userName
-
string
The name of the user profile.
- name
-
string
The name of the service fabric.
The options parameters.
Returns
Promise<void>
beginStart(string, string, string, string, ServiceFabricsStartOptionalParams)
Start a service fabric. This operation can take a while to complete.
function beginStart(resourceGroupName: string, labName: string, userName: string, name: string, options?: ServiceFabricsStartOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>
Parameters
- resourceGroupName
-
string
The name of the resource group.
- labName
-
string
The name of the lab.
- userName
-
string
The name of the user profile.
- name
-
string
The name of the service fabric.
The options parameters.
Returns
Promise<PollerLike<@azure/core-lro.PollOperationState<void>, void>>
beginStartAndWait(string, string, string, string, ServiceFabricsStartOptionalParams)
Start a service fabric. This operation can take a while to complete.
function beginStartAndWait(resourceGroupName: string, labName: string, userName: string, name: string, options?: ServiceFabricsStartOptionalParams): Promise<void>
Parameters
- resourceGroupName
-
string
The name of the resource group.
- labName
-
string
The name of the lab.
- userName
-
string
The name of the user profile.
- name
-
string
The name of the service fabric.
The options parameters.
Returns
Promise<void>
beginStop(string, string, string, string, ServiceFabricsStopOptionalParams)
Stop a service fabric This operation can take a while to complete.
function beginStop(resourceGroupName: string, labName: string, userName: string, name: string, options?: ServiceFabricsStopOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>
Parameters
- resourceGroupName
-
string
The name of the resource group.
- labName
-
string
The name of the lab.
- userName
-
string
The name of the user profile.
- name
-
string
The name of the service fabric.
- options
- ServiceFabricsStopOptionalParams
The options parameters.
Returns
Promise<PollerLike<@azure/core-lro.PollOperationState<void>, void>>
beginStopAndWait(string, string, string, string, ServiceFabricsStopOptionalParams)
Stop a service fabric This operation can take a while to complete.
function beginStopAndWait(resourceGroupName: string, labName: string, userName: string, name: string, options?: ServiceFabricsStopOptionalParams): Promise<void>
Parameters
- resourceGroupName
-
string
The name of the resource group.
- labName
-
string
The name of the lab.
- userName
-
string
The name of the user profile.
- name
-
string
The name of the service fabric.
- options
- ServiceFabricsStopOptionalParams
The options parameters.
Returns
Promise<void>
get(string, string, string, string, ServiceFabricsGetOptionalParams)
Get service fabric.
function get(resourceGroupName: string, labName: string, userName: string, name: string, options?: ServiceFabricsGetOptionalParams): Promise<ServiceFabric>
Parameters
- resourceGroupName
-
string
The name of the resource group.
- labName
-
string
The name of the lab.
- userName
-
string
The name of the user profile.
- name
-
string
The name of the service fabric.
- options
- ServiceFabricsGetOptionalParams
The options parameters.
Returns
Promise<ServiceFabric>
list(string, string, string, ServiceFabricsListOptionalParams)
List service fabrics in a given user profile.
function list(resourceGroupName: string, labName: string, userName: string, options?: ServiceFabricsListOptionalParams): PagedAsyncIterableIterator<ServiceFabric, ServiceFabric[], PageSettings>
Parameters
- resourceGroupName
-
string
The name of the resource group.
- labName
-
string
The name of the lab.
- userName
-
string
The name of the user profile.
- options
- ServiceFabricsListOptionalParams
The options parameters.
Returns
listApplicableSchedules(string, string, string, string, ServiceFabricsListApplicableSchedulesOptionalParams)
Lists the applicable start/stop schedules, if any.
function listApplicableSchedules(resourceGroupName: string, labName: string, userName: string, name: string, options?: ServiceFabricsListApplicableSchedulesOptionalParams): Promise<ApplicableSchedule>
Parameters
- resourceGroupName
-
string
The name of the resource group.
- labName
-
string
The name of the lab.
- userName
-
string
The name of the user profile.
- name
-
string
The name of the service fabric.
The options parameters.
Returns
Promise<ApplicableSchedule>
update(string, string, string, string, ServiceFabricFragment, ServiceFabricsUpdateOptionalParams)
Allows modifying tags of service fabrics. All other properties will be ignored.
function update(resourceGroupName: string, labName: string, userName: string, name: string, serviceFabric: ServiceFabricFragment, options?: ServiceFabricsUpdateOptionalParams): Promise<ServiceFabric>
Parameters
- resourceGroupName
-
string
The name of the resource group.
- labName
-
string
The name of the lab.
- userName
-
string
The name of the user profile.
- name
-
string
The name of the service fabric.
- serviceFabric
- ServiceFabricFragment
A Service Fabric.
The options parameters.
Returns
Promise<ServiceFabric>