ServicesClient Interface

public interface ServicesClient

An instance of this class provides access to all the operations defined in ServicesClient.

Method Summary

Modifier and Type Method and Description
abstract ServiceInner get(String serviceName)

Gets a specific Azure service for support ticket creation.

abstract Response<ServiceInner> getWithResponse(String serviceName, Context context)

Gets a specific Azure service for support ticket creation.

abstract PagedIterable<ServiceInner> list()

Lists all the Azure services available for support ticket creation.

abstract PagedIterable<ServiceInner> list(Context context)

Lists all the Azure services available for support ticket creation.

Method Details

get

public abstract ServiceInner get(String serviceName)

Gets a specific Azure service for support ticket creation.

Parameters:

serviceName - Name of the Azure service for which the problem classifications need to be retrieved.

Returns:

a specific Azure service for support ticket creation.

getWithResponse

public abstract Response getWithResponse(String serviceName, Context context)

Gets a specific Azure service for support ticket creation.

Parameters:

serviceName - Name of the Azure service for which the problem classifications need to be retrieved.
context - The context to associate with this operation.

Returns:

a specific Azure service for support ticket creation along with Response<T>.

list

public abstract PagedIterable list()

Lists all the Azure services available for support ticket creation. For **Technical** issues, select the Service Id that maps to the Azure service/product as displayed in the **Services** drop-down list on the Azure portal's [New support request](https://portal.azure.com/\#blade/Microsoft\_Azure\_Support/HelpAndSupportBlade/overview) page. Always use the service and its corresponding problem classification(s) obtained programmatically for support ticket creation. This practice ensures that you always have the most recent set of service and problem classification Ids.

Returns:

collection of Service resources as paginated response with PagedIterable<T>.

list

public abstract PagedIterable list(Context context)

Lists all the Azure services available for support ticket creation. For **Technical** issues, select the Service Id that maps to the Azure service/product as displayed in the **Services** drop-down list on the Azure portal's [New support request](https://portal.azure.com/\#blade/Microsoft\_Azure\_Support/HelpAndSupportBlade/overview) page. Always use the service and its corresponding problem classification(s) obtained programmatically for support ticket creation. This practice ensures that you always have the most recent set of service and problem classification Ids.

Parameters:

context - The context to associate with this operation.

Returns:

collection of Service resources as paginated response with PagedIterable<T>.

Applies to