ContainerRegistryManagementClientImpl Class

  • java.lang.Object
    • AzureServiceClient
      • com.microsoft.azure.management.containerregistry.implementation.ContainerRegistryManagementClientImpl

public class ContainerRegistryManagementClientImpl

Initializes a new instance of the ContainerRegistryManagementClientImpl class.

Constructor Summary

Constructor Description
ContainerRegistryManagementClientImpl(RestClient restClient)

Initializes an instance of ContainerRegistryManagementClient client.

ContainerRegistryManagementClientImpl(ServiceClientCredentials credentials)

Initializes an instance of ContainerRegistryManagementClient client.

ContainerRegistryManagementClientImpl(String baseUrl, ServiceClientCredentials credentials)

Initializes an instance of ContainerRegistryManagementClient client.

Method Summary

Modifier and Type Method and Description
String acceptLanguage()

Gets The preferred language for the response.

boolean generateClientRequestId()

Gets Whether a unique x-ms-client-request-id should be generated. When set to true a unique x-ms-client-request-id value is generated and included in each request. Default is true.

AzureClient getAzureClient()

Gets the AzureClient used for long running operations.

void initialize()
int longRunningOperationRetryTimeout()

Gets The retry timeout in seconds for Long Running Operations. Default value is 30.

OperationsInner operations()

Gets the OperationsInner object to access its operations.

RegistriesInner registries()

Gets the RegistriesInner object to access its operations.

ReplicationsInner replications()

Gets the ReplicationsInner object to access its operations.

RunsInner runs()

Gets the RunsInner object to access its operations.

String subscriptionId()

Gets The Microsoft Azure subscription ID.

TasksInner tasks()

Gets the TasksInner object to access its operations.

String userAgent()

Gets the User-Agent header for the client.

WebhooksInner webhooks()

Gets the WebhooksInner object to access its operations.

ContainerRegistryManagementClientImpl withAcceptLanguage(String acceptLanguage)

Sets The preferred language for the response.

ContainerRegistryManagementClientImpl withGenerateClientRequestId(boolean generateClientRequestId)

Sets Whether a unique x-ms-client-request-id should be generated. When set to true a unique x-ms-client-request-id value is generated and included in each request. Default is true.

ContainerRegistryManagementClientImpl withLongRunningOperationRetryTimeout(int longRunningOperationRetryTimeout)

Sets The retry timeout in seconds for Long Running Operations. Default value is 30.

ContainerRegistryManagementClientImpl withSubscriptionId(String subscriptionId)

Sets The Microsoft Azure subscription ID.

Constructor Details

ContainerRegistryManagementClientImpl

public ContainerRegistryManagementClientImpl(RestClient restClient)

Initializes an instance of ContainerRegistryManagementClient client.

Parameters:

restClient - the REST client to connect to Azure.

ContainerRegistryManagementClientImpl

public ContainerRegistryManagementClientImpl(ServiceClientCredentials credentials)

Initializes an instance of ContainerRegistryManagementClient client.

Parameters:

credentials - the management credentials for Azure

ContainerRegistryManagementClientImpl

public ContainerRegistryManagementClientImpl(String baseUrl, ServiceClientCredentials credentials)

Initializes an instance of ContainerRegistryManagementClient client.

Parameters:

baseUrl - the base URL of the host
credentials - the management credentials for Azure

Method Details

acceptLanguage

public String acceptLanguage()

Gets The preferred language for the response.

Returns:

the acceptLanguage value.

generateClientRequestId

public boolean generateClientRequestId()

Gets Whether a unique x-ms-client-request-id should be generated. When set to true a unique x-ms-client-request-id value is generated and included in each request. Default is true.

Returns:

the generateClientRequestId value.

getAzureClient

public AzureClient getAzureClient()

Gets the AzureClient used for long running operations.

Returns:

the azure client;

initialize

protected void initialize()

longRunningOperationRetryTimeout

public int longRunningOperationRetryTimeout()

Gets The retry timeout in seconds for Long Running Operations. Default value is 30.

Returns:

the longRunningOperationRetryTimeout value.

operations

public OperationsInner operations()

Gets the OperationsInner object to access its operations.

Returns:

the OperationsInner object.

registries

public RegistriesInner registries()

Gets the RegistriesInner object to access its operations.

Returns:

the RegistriesInner object.

replications

public ReplicationsInner replications()

Gets the ReplicationsInner object to access its operations.

Returns:

the ReplicationsInner object.

runs

public RunsInner runs()

Gets the RunsInner object to access its operations.

Returns:

the RunsInner object.

subscriptionId

public String subscriptionId()

Gets The Microsoft Azure subscription ID.

Returns:

the subscriptionId value.

tasks

public TasksInner tasks()

Gets the TasksInner object to access its operations.

Returns:

the TasksInner object.

userAgent

public String userAgent()

Gets the User-Agent header for the client.

Returns:

the user agent string.

webhooks

public WebhooksInner webhooks()

Gets the WebhooksInner object to access its operations.

Returns:

the WebhooksInner object.

withAcceptLanguage

public ContainerRegistryManagementClientImpl withAcceptLanguage(String acceptLanguage)

Sets The preferred language for the response.

Parameters:

acceptLanguage - the acceptLanguage value.

Returns:

the service client itself

withGenerateClientRequestId

public ContainerRegistryManagementClientImpl withGenerateClientRequestId(boolean generateClientRequestId)

Sets Whether a unique x-ms-client-request-id should be generated. When set to true a unique x-ms-client-request-id value is generated and included in each request. Default is true.

Parameters:

generateClientRequestId - the generateClientRequestId value.

Returns:

the service client itself

withLongRunningOperationRetryTimeout

public ContainerRegistryManagementClientImpl withLongRunningOperationRetryTimeout(int longRunningOperationRetryTimeout)

Sets The retry timeout in seconds for Long Running Operations. Default value is 30.

Parameters:

longRunningOperationRetryTimeout - the longRunningOperationRetryTimeout value.

Returns:

the service client itself

withSubscriptionId

public ContainerRegistryManagementClientImpl withSubscriptionId(String subscriptionId)

Sets The Microsoft Azure subscription ID.

Parameters:

subscriptionId - the subscriptionId value.

Returns:

the service client itself

Applies to