Service class

Class representing a Service.

Constructors

Service(ServiceFabricMeshManagementClientContext)

Create a Service.

Methods

get(string, string, string, RequestOptionsBase)

Gets the information about the service resource with the given name. The information include the description and other properties of the service.

get(string, string, string, RequestOptionsBase, ServiceCallback<ServiceResourceDescription>)
get(string, string, string, ServiceCallback<ServiceResourceDescription>)
list(string, string, RequestOptionsBase)

Gets the information about all services of an application resource. The information include the description and other properties of the Service.

list(string, string, RequestOptionsBase, ServiceCallback<ServiceResourceDescriptionList>)
list(string, string, ServiceCallback<ServiceResourceDescriptionList>)
listNext(string, RequestOptionsBase)

Gets the information about all services of an application resource. The information include the description and other properties of the Service.

listNext(string, RequestOptionsBase, ServiceCallback<ServiceResourceDescriptionList>)
listNext(string, ServiceCallback<ServiceResourceDescriptionList>)

Constructor Details

Service(ServiceFabricMeshManagementClientContext)

Create a Service.

new Service(client: ServiceFabricMeshManagementClientContext)

Parameters

client
ServiceFabricMeshManagementClientContext

Reference to the service client.

Method Details

get(string, string, string, RequestOptionsBase)

Gets the information about the service resource with the given name. The information include the description and other properties of the service.

function get(resourceGroupName: string, applicationResourceName: string, serviceResourceName: string, options?: RequestOptionsBase): Promise<ServiceGetResponse>

Parameters

resourceGroupName

string

Azure resource group name

applicationResourceName

string

The identity of the application.

serviceResourceName

string

The identity of the service.

options
RequestOptionsBase

The optional parameters

Returns

Promise<Models.ServiceGetResponse>

get(string, string, string, RequestOptionsBase, ServiceCallback<ServiceResourceDescription>)

function get(resourceGroupName: string, applicationResourceName: string, serviceResourceName: string, options: RequestOptionsBase, callback: ServiceCallback<ServiceResourceDescription>)

Parameters

resourceGroupName

string

Azure resource group name

applicationResourceName

string

The identity of the application.

serviceResourceName

string

The identity of the service.

options
RequestOptionsBase

The optional parameters

get(string, string, string, ServiceCallback<ServiceResourceDescription>)

function get(resourceGroupName: string, applicationResourceName: string, serviceResourceName: string, callback: ServiceCallback<ServiceResourceDescription>)

Parameters

resourceGroupName

string

Azure resource group name

applicationResourceName

string

The identity of the application.

serviceResourceName

string

The identity of the service.

list(string, string, RequestOptionsBase)

Gets the information about all services of an application resource. The information include the description and other properties of the Service.

function list(resourceGroupName: string, applicationResourceName: string, options?: RequestOptionsBase): Promise<ServiceListResponse>

Parameters

resourceGroupName

string

Azure resource group name

applicationResourceName

string

The identity of the application.

options
RequestOptionsBase

The optional parameters

Returns

Promise<Models.ServiceListResponse>

list(string, string, RequestOptionsBase, ServiceCallback<ServiceResourceDescriptionList>)

function list(resourceGroupName: string, applicationResourceName: string, options: RequestOptionsBase, callback: ServiceCallback<ServiceResourceDescriptionList>)

Parameters

resourceGroupName

string

Azure resource group name

applicationResourceName

string

The identity of the application.

options
RequestOptionsBase

The optional parameters

list(string, string, ServiceCallback<ServiceResourceDescriptionList>)

function list(resourceGroupName: string, applicationResourceName: string, callback: ServiceCallback<ServiceResourceDescriptionList>)

Parameters

resourceGroupName

string

Azure resource group name

applicationResourceName

string

The identity of the application.

listNext(string, RequestOptionsBase)

Gets the information about all services of an application resource. The information include the description and other properties of the Service.

function listNext(nextPageLink: string, options?: RequestOptionsBase): Promise<ServiceListNextResponse>

Parameters

nextPageLink

string

The NextLink from the previous successful call to List operation.

options
RequestOptionsBase

The optional parameters

Returns

Promise<Models.ServiceListNextResponse>

listNext(string, RequestOptionsBase, ServiceCallback<ServiceResourceDescriptionList>)

function listNext(nextPageLink: string, options: RequestOptionsBase, callback: ServiceCallback<ServiceResourceDescriptionList>)

Parameters

nextPageLink

string

The NextLink from the previous successful call to List operation.

options
RequestOptionsBase

The optional parameters

listNext(string, ServiceCallback<ServiceResourceDescriptionList>)

function listNext(nextPageLink: string, callback: ServiceCallback<ServiceResourceDescriptionList>)

Parameters

nextPageLink

string

The NextLink from the previous successful call to List operation.