CodePackage class
Class representing a CodePackage.
Constructors
Code |
Create a CodePackage. |
Methods
get |
Gets the logs for the container of the specified code package of the service replica. |
get |
|
get |
Constructor Details
CodePackage(ServiceFabricMeshManagementClientContext)
Create a CodePackage.
new CodePackage(client: ServiceFabricMeshManagementClientContext)
Parameters
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.
The optional parameters
Returns
Promise<CodePackageGetContainerLogsResponse>
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.
The optional parameters
- callback
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
The callback