Services - Get
Gets a specific Azure service for support ticket creation.
GET https://management.azure.com/providers/Microsoft.Support/services/{serviceName}?api-version=2024-04-01
URI Parameters
Name | In | Required | Type | Description |
---|---|---|---|---|
service
|
path | True |
string |
Name of the Azure service. |
api-version
|
query | True |
string |
The API version to use for this operation. |
Responses
Name | Type | Description |
---|---|---|
200 OK |
Successfully retrieved Azure service for support ticket creation. |
|
Other Status Codes |
Error response describing why the operation failed. |
Security
azure_auth
Azure Active Directory OAuth2 Flow.
Type:
oauth2
Flow:
implicit
Authorization URL:
https://login.microsoftonline.com/common/oauth2/authorize
Scopes
Name | Description |
---|---|
user_impersonation | impersonate your user account |
Examples
Gets details of the Azure service
Sample Request
Sample Response
{
"id": "/providers/Microsoft.Support/services/service_guid",
"name": "service_guid",
"type": "Microsoft.Support/services",
"properties": {
"displayName": "Virtual Machine running Windows",
"resourceTypes": [
"MICROSOFT.CLASSICCOMPUTE/VIRTUALMACHINES",
"MICROSOFT.COMPUTE/VIRTUALMACHINES"
]
}
}
Definitions
Name | Description |
---|---|
Error |
The resource management error additional info. |
Error |
The error detail. |
Error |
Error response |
Service |
Object that represents a Service resource. |
ErrorAdditionalInfo
The resource management error additional info.
Name | Type | Description |
---|---|---|
info |
object |
The additional info. |
type |
string |
The additional info type. |
ErrorDetail
The error detail.
Name | Type | Description |
---|---|---|
additionalInfo |
The error additional info. |
|
code |
string |
The error code. |
details |
The error details. |
|
message |
string |
The error message. |
target |
string |
The error target. |
ErrorResponse
Error response
Name | Type | Description |
---|---|---|
error |
The error object. |
Service
Object that represents a Service resource.
Name | Type | Description |
---|---|---|
id |
string |
Id of the resource. |
name |
string |
Name of the resource. |
properties.displayName |
string |
Localized name of the Azure service. |
properties.resourceTypes |
string[] |
ARM Resource types. |
type |
string |
Type of the resource 'Microsoft.Support/services'. |