共用方式為


ServiceFabrics interface

Interface representing a ServiceFabrics.

Methods

beginCreateOrUpdate(string, string, string, string, ServiceFabric, ServiceFabricsCreateOrUpdateOptionalParams)

Create or replace an existing service fabric. This operation can take a while to complete.

beginCreateOrUpdateAndWait(string, string, string, string, ServiceFabric, ServiceFabricsCreateOrUpdateOptionalParams)

Create or replace an existing service fabric. This operation can take a while to complete.

beginDelete(string, string, string, string, ServiceFabricsDeleteOptionalParams)

Delete service fabric. This operation can take a while to complete.

beginDeleteAndWait(string, string, string, string, ServiceFabricsDeleteOptionalParams)

Delete service fabric. This operation can take a while to complete.

beginStart(string, string, string, string, ServiceFabricsStartOptionalParams)

Start a service fabric. This operation can take a while to complete.

beginStartAndWait(string, string, string, string, ServiceFabricsStartOptionalParams)

Start a service fabric. This operation can take a while to complete.

beginStop(string, string, string, string, ServiceFabricsStopOptionalParams)

Stop a service fabric This operation can take a while to complete.

beginStopAndWait(string, string, string, string, ServiceFabricsStopOptionalParams)

Stop a service fabric This operation can take a while to complete.

get(string, string, string, string, ServiceFabricsGetOptionalParams)

Get service fabric.

list(string, string, string, ServiceFabricsListOptionalParams)

List service fabrics in a given user profile.

listApplicableSchedules(string, string, string, string, ServiceFabricsListApplicableSchedulesOptionalParams)

Lists the applicable start/stop schedules, if any.

update(string, string, string, string, ServiceFabricFragment, ServiceFabricsUpdateOptionalParams)

Allows modifying tags of service fabrics. All other properties will be ignored.

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.

options
ServiceFabricsCreateOrUpdateOptionalParams

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.

options
ServiceFabricsCreateOrUpdateOptionalParams

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.

options
ServiceFabricsDeleteOptionalParams

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.

options
ServiceFabricsDeleteOptionalParams

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.

options
ServiceFabricsStartOptionalParams

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.

options
ServiceFabricsStartOptionalParams

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.

options
ServiceFabricsListApplicableSchedulesOptionalParams

The options parameters.

Returns

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.

options
ServiceFabricsUpdateOptionalParams

The options parameters.

Returns

Promise<ServiceFabric>