Services - Get

Gets a specific Azure service for support ticket creation.

GET https://management.azure.com/providers/Microsoft.Support/services/{serviceName}?api-version=2020-04-01

URI Parameters

Name In Required Type Description
serviceName
path True

string

Name of the Azure service.

api-version
query True

string

API version.

Responses

Name Type Description
200 OK

Service

Successfully retrieved Azure service for support ticket creation.

Other Status Codes

ExceptionResponse

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

GET https://management.azure.com/providers/Microsoft.Support/services/service_guid?api-version=2020-04-01

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
ExceptionResponse

The API error.

Service

Object that represents a Service resource.

ServiceError

The API error details.

ServiceErrorDetail

The error details.

ExceptionResponse

The API error.

Name Type Description
error

ServiceError

The API error details.

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'.

ServiceError

The API error details.

Name Type Description
code

string

The error code.

details

ServiceErrorDetail[]

The list of error details.

message

string

The error message.

target

string

The target of the error.

ServiceErrorDetail

The error details.

Name Type Description
code

string

The error code.

message

string

The error message.

target

string

The target of the error.