CodePackage class

Class representing a CodePackage.

Constructors

CodePackage(ServiceFabricMeshManagementClientContext)

Create a CodePackage.

Methods

getContainerLogs(string, string, string, string, string, CodePackageGetContainerLogsOptionalParams)

Gets the logs for the container of the specified code package of the service replica.

getContainerLogs(string, string, string, string, string, CodePackageGetContainerLogsOptionalParams, ServiceCallback<ContainerLogs>)
getContainerLogs(string, string, string, string, string, ServiceCallback<ContainerLogs>)

Constructor Details

CodePackage(ServiceFabricMeshManagementClientContext)

Create a CodePackage.

new CodePackage(client: ServiceFabricMeshManagementClientContext)

Parameters

client
ServiceFabricMeshManagementClientContext

Reference to the service client.

Method Details

getContainerLogs(string, string, string, string, string, CodePackageGetContainerLogsOptionalParams)

Gets the logs for the container of the specified code package of the service replica.

function getContainerLogs(resourceGroupName: string, applicationResourceName: string, serviceResourceName: string, replicaName: string, codePackageName: string, options?: CodePackageGetContainerLogsOptionalParams): Promise<CodePackageGetContainerLogsResponse>

Parameters

resourceGroupName

string

Azure resource group name

applicationResourceName

string

The identity of the application.

serviceResourceName

string

The identity of the service.

replicaName

string

Service Fabric replica name.

codePackageName

string

The name of code package of the service.

options
CodePackageGetContainerLogsOptionalParams

The optional parameters

Returns

Promise<Models.CodePackageGetContainerLogsResponse>

getContainerLogs(string, string, string, string, string, CodePackageGetContainerLogsOptionalParams, ServiceCallback<ContainerLogs>)

function getContainerLogs(resourceGroupName: string, applicationResourceName: string, serviceResourceName: string, replicaName: string, codePackageName: string, options: CodePackageGetContainerLogsOptionalParams, callback: ServiceCallback<ContainerLogs>)

Parameters

resourceGroupName

string

Azure resource group name

applicationResourceName

string

The identity of the application.

serviceResourceName

string

The identity of the service.

replicaName

string

Service Fabric replica name.

codePackageName

string

The name of code package of the service.

options
CodePackageGetContainerLogsOptionalParams

The optional parameters

callback

ServiceCallback<ContainerLogs>

The callback

getContainerLogs(string, string, string, string, string, ServiceCallback<ContainerLogs>)

function getContainerLogs(resourceGroupName: string, applicationResourceName: string, serviceResourceName: string, replicaName: string, codePackageName: string, callback: ServiceCallback<ContainerLogs>)

Parameters

resourceGroupName

string

Azure resource group name

applicationResourceName

string

The identity of the application.

serviceResourceName

string

The identity of the service.

replicaName

string

Service Fabric replica name.

codePackageName

string

The name of code package of the service.

callback

ServiceCallback<ContainerLogs>

The callback