Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets the properties of the service.
The operation returns the properties of the service.
Request
Method | Request URI |
---|---|
GET | /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabricMesh/applications/{applicationName}/services/{serviceName}?api-version=2018-07-01-preview |
Parameters
Name | Type | Required | Location |
---|---|---|---|
subscriptionId |
string | Yes | Path |
resourceGroupName |
string | Yes | Path |
applicationName |
string | Yes | Path |
serviceName |
string | Yes | Path |
api-version |
string | Yes | Query |
subscriptionId
Type: string
Required: Yes
The customer subscription identifier
resourceGroupName
Type: string
Required: Yes
Azure resource group name
applicationName
Type: string
Required: Yes
The identity of the application.
serviceName
Type: string
Required: Yes
The identity of the service.
api-version
Type: string
Required: Yes
Default: 2018-07-01-preview
The version of the API. This parameter is required and its value must be 2018-07-01-preview
.
Responses
HTTP Status Code | Description | Response Schema |
---|---|---|
200 (OK) | OK |
ServiceResourceDescription |
Examples
ServiceGet
Request
GET https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sbz_demo/providers/Microsoft.ServiceFabricMesh/applications/helloWorldApp/services/helloWorldService?api-version=2018-07-01-preview
200 Response
Body
{
"name": "helloWorldService",
"type": "Microsoft.ServiceFabricMesh/services",
"properties": {
"osType": "Linux",
"codePackages": [
{
"name": "helloWorldCode",
"image": "seabreeze/sbz-helloworld:1.0-alpine",
"endpoints": [
{
"name": "helloWorldListener",
"port": "80"
}
],
"resources": {
"requests": {
"memoryInGB": "1",
"cpu": "1"
}
}
},
{
"name": "helloWorldSideCar",
"image": "seabreeze/sbz-helloworld-sidecar:1.0-alpine",
"resources": {
"requests": {
"memoryInGB": "1",
"cpu": "1"
}
}
}
],
"networkRefs": [
{
"name": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/sbz_demo/providers/Microsoft.ServiceFabricMesh/networks/helloWorldNetwork"
}
],
"description": "SeaBreeze Hello World Service.",
"replicaCount": "2",
"healthState": "Ok",
"status": "Unknown"
}
}