Application class

Class representing a Application.

Constructors

Application(ServiceFabricMeshManagementClientContext)

Create a Application.

Methods

create(string, string, ApplicationResourceDescription, RequestOptionsBase)

Creates an application resource with the specified name, description and properties. If an application resource with the same name exists, then it is updated with the specified description and properties.

create(string, string, ApplicationResourceDescription, RequestOptionsBase, ServiceCallback<ApplicationResourceDescription>)
create(string, string, ApplicationResourceDescription, ServiceCallback<ApplicationResourceDescription>)
deleteMethod(string, string, RequestOptionsBase)

Deletes the application resource identified by the name.

deleteMethod(string, string, RequestOptionsBase, ServiceCallback<void>)
deleteMethod(string, string, ServiceCallback<void>)
get(string, string, RequestOptionsBase)

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

get(string, string, RequestOptionsBase, ServiceCallback<ApplicationResourceDescription>)
get(string, string, ServiceCallback<ApplicationResourceDescription>)
listByResourceGroup(string, RequestOptionsBase)

Gets the information about all application resources in a given resource group. The information include the description and other properties of the Application.

listByResourceGroup(string, RequestOptionsBase, ServiceCallback<ApplicationResourceDescriptionList>)
listByResourceGroup(string, ServiceCallback<ApplicationResourceDescriptionList>)
listByResourceGroupNext(string, RequestOptionsBase)

Gets the information about all application resources in a given resource group. The information include the description and other properties of the Application.

listByResourceGroupNext(string, RequestOptionsBase, ServiceCallback<ApplicationResourceDescriptionList>)
listByResourceGroupNext(string, ServiceCallback<ApplicationResourceDescriptionList>)
listBySubscription(RequestOptionsBase)

Gets the information about all application resources in a given resource group. The information include the description and other properties of the application.

listBySubscription(RequestOptionsBase, ServiceCallback<ApplicationResourceDescriptionList>)
listBySubscription(ServiceCallback<ApplicationResourceDescriptionList>)
listBySubscriptionNext(string, RequestOptionsBase)

Gets the information about all application resources in a given resource group. The information include the description and other properties of the application.

listBySubscriptionNext(string, RequestOptionsBase, ServiceCallback<ApplicationResourceDescriptionList>)
listBySubscriptionNext(string, ServiceCallback<ApplicationResourceDescriptionList>)

Constructor Details

Application(ServiceFabricMeshManagementClientContext)

Create a Application.

new Application(client: ServiceFabricMeshManagementClientContext)

Parameters

client
ServiceFabricMeshManagementClientContext

Reference to the service client.

Method Details

create(string, string, ApplicationResourceDescription, RequestOptionsBase)

Creates an application resource with the specified name, description and properties. If an application resource with the same name exists, then it is updated with the specified description and properties.

function create(resourceGroupName: string, applicationResourceName: string, applicationResourceDescription: ApplicationResourceDescription, options?: RequestOptionsBase): Promise<ApplicationCreateResponse>

Parameters

resourceGroupName

string

Azure resource group name

applicationResourceName

string

The identity of the application.

applicationResourceDescription
ApplicationResourceDescription

Description for creating a Application resource.

options
RequestOptionsBase

The optional parameters

Returns

Promise<Models.ApplicationCreateResponse>

create(string, string, ApplicationResourceDescription, RequestOptionsBase, ServiceCallback<ApplicationResourceDescription>)

function create(resourceGroupName: string, applicationResourceName: string, applicationResourceDescription: ApplicationResourceDescription, options: RequestOptionsBase, callback: ServiceCallback<ApplicationResourceDescription>)

Parameters

resourceGroupName

string

Azure resource group name

applicationResourceName

string

The identity of the application.

applicationResourceDescription
ApplicationResourceDescription

Description for creating a Application resource.

options
RequestOptionsBase

The optional parameters

create(string, string, ApplicationResourceDescription, ServiceCallback<ApplicationResourceDescription>)

function create(resourceGroupName: string, applicationResourceName: string, applicationResourceDescription: ApplicationResourceDescription, callback: ServiceCallback<ApplicationResourceDescription>)

Parameters

resourceGroupName

string

Azure resource group name

applicationResourceName

string

The identity of the application.

applicationResourceDescription
ApplicationResourceDescription

Description for creating a Application resource.

deleteMethod(string, string, RequestOptionsBase)

Deletes the application resource identified by the name.

function deleteMethod(resourceGroupName: string, applicationResourceName: string, options?: RequestOptionsBase): Promise<RestResponse>

Parameters

resourceGroupName

string

Azure resource group name

applicationResourceName

string

The identity of the application.

options
RequestOptionsBase

The optional parameters

Returns

Promise<RestResponse>

Promise<msRest.RestResponse>

deleteMethod(string, string, RequestOptionsBase, ServiceCallback<void>)

function deleteMethod(resourceGroupName: string, applicationResourceName: string, options: RequestOptionsBase, callback: ServiceCallback<void>)

Parameters

resourceGroupName

string

Azure resource group name

applicationResourceName

string

The identity of the application.

options
RequestOptionsBase

The optional parameters

callback

ServiceCallback<void>

The callback

deleteMethod(string, string, ServiceCallback<void>)

function deleteMethod(resourceGroupName: string, applicationResourceName: string, callback: ServiceCallback<void>)

Parameters

resourceGroupName

string

Azure resource group name

applicationResourceName

string

The identity of the application.

callback

ServiceCallback<void>

The callback

get(string, string, RequestOptionsBase)

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

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

Parameters

resourceGroupName

string

Azure resource group name

applicationResourceName

string

The identity of the application.

options
RequestOptionsBase

The optional parameters

Returns

Promise<Models.ApplicationGetResponse>

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

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

Parameters

resourceGroupName

string

Azure resource group name

applicationResourceName

string

The identity of the application.

options
RequestOptionsBase

The optional parameters

get(string, string, ServiceCallback<ApplicationResourceDescription>)

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

Parameters

resourceGroupName

string

Azure resource group name

applicationResourceName

string

The identity of the application.

listByResourceGroup(string, RequestOptionsBase)

Gets the information about all application resources in a given resource group. The information include the description and other properties of the Application.

function listByResourceGroup(resourceGroupName: string, options?: RequestOptionsBase): Promise<ApplicationListByResourceGroupResponse>

Parameters

resourceGroupName

string

Azure resource group name

options
RequestOptionsBase

The optional parameters

Returns

Promise<Models.ApplicationListByResourceGroupResponse>

listByResourceGroup(string, RequestOptionsBase, ServiceCallback<ApplicationResourceDescriptionList>)

function listByResourceGroup(resourceGroupName: string, options: RequestOptionsBase, callback: ServiceCallback<ApplicationResourceDescriptionList>)

Parameters

resourceGroupName

string

Azure resource group name

options
RequestOptionsBase

The optional parameters

listByResourceGroup(string, ServiceCallback<ApplicationResourceDescriptionList>)

function listByResourceGroup(resourceGroupName: string, callback: ServiceCallback<ApplicationResourceDescriptionList>)

Parameters

resourceGroupName

string

Azure resource group name

listByResourceGroupNext(string, RequestOptionsBase)

Gets the information about all application resources in a given resource group. The information include the description and other properties of the Application.

function listByResourceGroupNext(nextPageLink: string, options?: RequestOptionsBase): Promise<ApplicationListByResourceGroupNextResponse>

Parameters

nextPageLink

string

The NextLink from the previous successful call to List operation.

options
RequestOptionsBase

The optional parameters

Returns

Promise<Models.ApplicationListByResourceGroupNextResponse>

listByResourceGroupNext(string, RequestOptionsBase, ServiceCallback<ApplicationResourceDescriptionList>)

function listByResourceGroupNext(nextPageLink: string, options: RequestOptionsBase, callback: ServiceCallback<ApplicationResourceDescriptionList>)

Parameters

nextPageLink

string

The NextLink from the previous successful call to List operation.

options
RequestOptionsBase

The optional parameters

listByResourceGroupNext(string, ServiceCallback<ApplicationResourceDescriptionList>)

function listByResourceGroupNext(nextPageLink: string, callback: ServiceCallback<ApplicationResourceDescriptionList>)

Parameters

nextPageLink

string

The NextLink from the previous successful call to List operation.

listBySubscription(RequestOptionsBase)

Gets the information about all application resources in a given resource group. The information include the description and other properties of the application.

function listBySubscription(options?: RequestOptionsBase): Promise<ApplicationListBySubscriptionResponse>

Parameters

options
RequestOptionsBase

The optional parameters

Returns

Promise<Models.ApplicationListBySubscriptionResponse>

listBySubscription(RequestOptionsBase, ServiceCallback<ApplicationResourceDescriptionList>)

function listBySubscription(options: RequestOptionsBase, callback: ServiceCallback<ApplicationResourceDescriptionList>)

Parameters

options
RequestOptionsBase

The optional parameters

listBySubscription(ServiceCallback<ApplicationResourceDescriptionList>)

function listBySubscription(callback: ServiceCallback<ApplicationResourceDescriptionList>)

Parameters

listBySubscriptionNext(string, RequestOptionsBase)

Gets the information about all application resources in a given resource group. The information include the description and other properties of the application.

function listBySubscriptionNext(nextPageLink: string, options?: RequestOptionsBase): Promise<ApplicationListBySubscriptionNextResponse>

Parameters

nextPageLink

string

The NextLink from the previous successful call to List operation.

options
RequestOptionsBase

The optional parameters

Returns

Promise<Models.ApplicationListBySubscriptionNextResponse>

listBySubscriptionNext(string, RequestOptionsBase, ServiceCallback<ApplicationResourceDescriptionList>)

function listBySubscriptionNext(nextPageLink: string, options: RequestOptionsBase, callback: ServiceCallback<ApplicationResourceDescriptionList>)

Parameters

nextPageLink

string

The NextLink from the previous successful call to List operation.

options
RequestOptionsBase

The optional parameters

listBySubscriptionNext(string, ServiceCallback<ApplicationResourceDescriptionList>)

function listBySubscriptionNext(nextPageLink: string, callback: ServiceCallback<ApplicationResourceDescriptionList>)

Parameters

nextPageLink

string

The NextLink from the previous successful call to List operation.