Application class
Class representing a Application.
Constructors
Application(Service |
Create a Application. |
Methods
Constructor Details
Application(ServiceFabricMeshManagementClientContext)
Create a Application.
new Application(client: ServiceFabricMeshManagementClientContext)
Parameters
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<ApplicationCreateResponse>
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
The callback
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.
The callback
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<ApplicationGetResponse>
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
The callback
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.
The callback
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
The callback
listByResourceGroup(string, ServiceCallback<ApplicationResourceDescriptionList>)
function listByResourceGroup(resourceGroupName: string, callback: ServiceCallback<ApplicationResourceDescriptionList>)
Parameters
- resourceGroupName
-
string
Azure resource group name
The callback
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
The callback
listByResourceGroupNext(string, ServiceCallback<ApplicationResourceDescriptionList>)
function listByResourceGroupNext(nextPageLink: string, callback: ServiceCallback<ApplicationResourceDescriptionList>)
Parameters
- nextPageLink
-
string
The NextLink from the previous successful call to List operation.
The callback
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
The callback
listBySubscription(ServiceCallback<ApplicationResourceDescriptionList>)
function listBySubscription(callback: ServiceCallback<ApplicationResourceDescriptionList>)
Parameters
The callback
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
The callback
listBySubscriptionNext(string, ServiceCallback<ApplicationResourceDescriptionList>)
function listBySubscriptionNext(nextPageLink: string, callback: ServiceCallback<ApplicationResourceDescriptionList>)
Parameters
- nextPageLink
-
string
The NextLink from the previous successful call to List operation.
The callback