Interface MediaservicesClient
-
Method Summary
Modifier and TypeMethodDescriptioncom.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<MediaServiceInner>,
MediaServiceInner> beginCreateOrUpdate
(String resourceGroupName, String accountName, MediaServiceInner parameters) Create or update a Media Services accountcom.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<MediaServiceInner>,
MediaServiceInner> beginCreateOrUpdate
(String resourceGroupName, String accountName, MediaServiceInner parameters, com.azure.core.util.Context context) Create or update a Media Services accountcom.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<MediaServiceInner>,
MediaServiceInner> beginUpdate
(String resourceGroupName, String accountName, MediaServiceUpdate parameters) Update a Media Services accountcom.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<MediaServiceInner>,
MediaServiceInner> beginUpdate
(String resourceGroupName, String accountName, MediaServiceUpdate parameters, com.azure.core.util.Context context) Update a Media Services accountcreateOrUpdate
(String resourceGroupName, String accountName, MediaServiceInner parameters) Create or update a Media Services accountcreateOrUpdate
(String resourceGroupName, String accountName, MediaServiceInner parameters, com.azure.core.util.Context context) Create or update a Media Services accountvoid
Delete a Media Services account.com.azure.core.http.rest.Response<Void>
deleteWithResponse
(String resourceGroupName, String accountName, com.azure.core.util.Context context) Delete a Media Services account.getByResourceGroup
(String resourceGroupName, String accountName) Get a Media Services accountcom.azure.core.http.rest.Response<MediaServiceInner>
getByResourceGroupWithResponse
(String resourceGroupName, String accountName, com.azure.core.util.Context context) Get a Media Services accountcom.azure.core.http.rest.PagedIterable<MediaServiceInner>
list()
List Media Services accountscom.azure.core.http.rest.PagedIterable<MediaServiceInner>
list
(com.azure.core.util.Context context) List Media Services accountscom.azure.core.http.rest.PagedIterable<MediaServiceInner>
listByResourceGroup
(String resourceGroupName) List Media Services accountscom.azure.core.http.rest.PagedIterable<MediaServiceInner>
listByResourceGroup
(String resourceGroupName, com.azure.core.util.Context context) List Media Services accountslistEdgePolicies
(String resourceGroupName, String accountName, ListEdgePoliciesInput parameters) List the media edge policies associated with the Media Services account.com.azure.core.http.rest.Response<EdgePoliciesInner>
listEdgePoliciesWithResponse
(String resourceGroupName, String accountName, ListEdgePoliciesInput parameters, com.azure.core.util.Context context) List the media edge policies associated with the Media Services account.void
syncStorageKeys
(String resourceGroupName, String accountName, SyncStorageKeysInput parameters) Synchronizes Storage Account Keyscom.azure.core.http.rest.Response<Void>
syncStorageKeysWithResponse
(String resourceGroupName, String accountName, SyncStorageKeysInput parameters, com.azure.core.util.Context context) Synchronizes Storage Account Keysupdate
(String resourceGroupName, String accountName, MediaServiceUpdate parameters) Update a Media Services accountupdate
(String resourceGroupName, String accountName, MediaServiceUpdate parameters, com.azure.core.util.Context context) Update a Media Services account
-
Method Details
-
listByResourceGroup
com.azure.core.http.rest.PagedIterable<MediaServiceInner> listByResourceGroup(String resourceGroupName) List Media Services accountsList Media Services accounts in the resource group.
- Parameters:
resourceGroupName
- The name of the resource group within the Azure subscription.- Returns:
- a collection of MediaService items as paginated response with
PagedIterable
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
listByResourceGroup
com.azure.core.http.rest.PagedIterable<MediaServiceInner> listByResourceGroup(String resourceGroupName, com.azure.core.util.Context context) List Media Services accountsList Media Services accounts in the resource group.
- Parameters:
resourceGroupName
- The name of the resource group within the Azure subscription.context
- The context to associate with this operation.- Returns:
- a collection of MediaService items as paginated response with
PagedIterable
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
getByResourceGroupWithResponse
com.azure.core.http.rest.Response<MediaServiceInner> getByResourceGroupWithResponse(String resourceGroupName, String accountName, com.azure.core.util.Context context) Get a Media Services accountGet the details of a Media Services account.
- Parameters:
resourceGroupName
- The name of the resource group within the Azure subscription.accountName
- The Media Services account name.context
- The context to associate with this operation.- Returns:
- the details of a Media Services account along with
Response
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
getByResourceGroup
Get a Media Services accountGet the details of a Media Services account.
- Parameters:
resourceGroupName
- The name of the resource group within the Azure subscription.accountName
- The Media Services account name.- Returns:
- the details of a Media Services account.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
beginCreateOrUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<MediaServiceInner>,MediaServiceInner> beginCreateOrUpdate(String resourceGroupName, String accountName, MediaServiceInner parameters) Create or update a Media Services accountCreates or updates a Media Services account.
- Parameters:
resourceGroupName
- The name of the resource group within the Azure subscription.accountName
- The Media Services account name.parameters
- The request parameters.- Returns:
- the
SyncPoller
for polling of a Media Services account. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
beginCreateOrUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<MediaServiceInner>,MediaServiceInner> beginCreateOrUpdate(String resourceGroupName, String accountName, MediaServiceInner parameters, com.azure.core.util.Context context) Create or update a Media Services accountCreates or updates a Media Services account.
- Parameters:
resourceGroupName
- The name of the resource group within the Azure subscription.accountName
- The Media Services account name.parameters
- The request parameters.context
- The context to associate with this operation.- Returns:
- the
SyncPoller
for polling of a Media Services account. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
createOrUpdate
MediaServiceInner createOrUpdate(String resourceGroupName, String accountName, MediaServiceInner parameters) Create or update a Media Services accountCreates or updates a Media Services account.
- Parameters:
resourceGroupName
- The name of the resource group within the Azure subscription.accountName
- The Media Services account name.parameters
- The request parameters.- Returns:
- a Media Services account.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
createOrUpdate
MediaServiceInner createOrUpdate(String resourceGroupName, String accountName, MediaServiceInner parameters, com.azure.core.util.Context context) Create or update a Media Services accountCreates or updates a Media Services account.
- Parameters:
resourceGroupName
- The name of the resource group within the Azure subscription.accountName
- The Media Services account name.parameters
- The request parameters.context
- The context to associate with this operation.- Returns:
- a Media Services account.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
deleteWithResponse
com.azure.core.http.rest.Response<Void> deleteWithResponse(String resourceGroupName, String accountName, com.azure.core.util.Context context) Delete a Media Services account.Deletes a Media Services account.
- Parameters:
resourceGroupName
- The name of the resource group within the Azure subscription.accountName
- The Media Services account name.context
- The context to associate with this operation.- Returns:
- the
Response
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
delete
Delete a Media Services account.Deletes a Media Services account.
- Parameters:
resourceGroupName
- The name of the resource group within the Azure subscription.accountName
- The Media Services account name.- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
beginUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<MediaServiceInner>,MediaServiceInner> beginUpdate(String resourceGroupName, String accountName, MediaServiceUpdate parameters) Update a Media Services accountUpdates an existing Media Services account.
- Parameters:
resourceGroupName
- The name of the resource group within the Azure subscription.accountName
- The Media Services account name.parameters
- The request parameters.- Returns:
- the
SyncPoller
for polling of a Media Services account. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
beginUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<MediaServiceInner>,MediaServiceInner> beginUpdate(String resourceGroupName, String accountName, MediaServiceUpdate parameters, com.azure.core.util.Context context) Update a Media Services accountUpdates an existing Media Services account.
- Parameters:
resourceGroupName
- The name of the resource group within the Azure subscription.accountName
- The Media Services account name.parameters
- The request parameters.context
- The context to associate with this operation.- Returns:
- the
SyncPoller
for polling of a Media Services account. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
update
MediaServiceInner update(String resourceGroupName, String accountName, MediaServiceUpdate parameters) Update a Media Services accountUpdates an existing Media Services account.
- Parameters:
resourceGroupName
- The name of the resource group within the Azure subscription.accountName
- The Media Services account name.parameters
- The request parameters.- Returns:
- a Media Services account.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
update
MediaServiceInner update(String resourceGroupName, String accountName, MediaServiceUpdate parameters, com.azure.core.util.Context context) Update a Media Services accountUpdates an existing Media Services account.
- Parameters:
resourceGroupName
- The name of the resource group within the Azure subscription.accountName
- The Media Services account name.parameters
- The request parameters.context
- The context to associate with this operation.- Returns:
- a Media Services account.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
syncStorageKeysWithResponse
com.azure.core.http.rest.Response<Void> syncStorageKeysWithResponse(String resourceGroupName, String accountName, SyncStorageKeysInput parameters, com.azure.core.util.Context context) Synchronizes Storage Account KeysSynchronizes storage account keys for a storage account associated with the Media Service account.
- Parameters:
resourceGroupName
- The name of the resource group within the Azure subscription.accountName
- The Media Services account name.parameters
- The request parameters.context
- The context to associate with this operation.- Returns:
- the
Response
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
syncStorageKeys
Synchronizes Storage Account KeysSynchronizes storage account keys for a storage account associated with the Media Service account.
- Parameters:
resourceGroupName
- The name of the resource group within the Azure subscription.accountName
- The Media Services account name.parameters
- The request parameters.- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
listEdgePoliciesWithResponse
com.azure.core.http.rest.Response<EdgePoliciesInner> listEdgePoliciesWithResponse(String resourceGroupName, String accountName, ListEdgePoliciesInput parameters, com.azure.core.util.Context context) List the media edge policies associated with the Media Services account.List all the media edge policies associated with the Media Services account.
- Parameters:
resourceGroupName
- The name of the resource group within the Azure subscription.accountName
- The Media Services account name.parameters
- The request parameters.context
- The context to associate with this operation.- Returns:
- the response body along with
Response
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
listEdgePolicies
EdgePoliciesInner listEdgePolicies(String resourceGroupName, String accountName, ListEdgePoliciesInput parameters) List the media edge policies associated with the Media Services account.List all the media edge policies associated with the Media Services account.
- Parameters:
resourceGroupName
- The name of the resource group within the Azure subscription.accountName
- The Media Services account name.parameters
- The request parameters.- Returns:
- the response.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
list
com.azure.core.http.rest.PagedIterable<MediaServiceInner> list()List Media Services accountsList Media Services accounts in the subscription.
- Returns:
- a collection of MediaService items as paginated response with
PagedIterable
. - Throws:
com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
list
List Media Services accountsList Media Services accounts in the subscription.
- Parameters:
context
- The context to associate with this operation.- Returns:
- a collection of MediaService items as paginated response with
PagedIterable
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-