Interface Mediaservices
-
Method Summary
Modifier and TypeMethodDescriptionBegins definition for a new MediaService resource.void
deleteById
(String id) Delete a Media Services account.com.azure.core.http.rest.Response<Void>
deleteByIdWithResponse
(String id, com.azure.core.util.Context context) Delete a Media Services account.void
deleteByResourceGroup
(String resourceGroupName, String accountName) Delete a Media Services account.com.azure.core.http.rest.Response<Void>
deleteByResourceGroupWithResponse
(String resourceGroupName, String accountName, com.azure.core.util.Context context) Delete a Media Services account.Get a Media Services accountcom.azure.core.http.rest.Response<MediaService>
getByIdWithResponse
(String id, com.azure.core.util.Context context) Get a Media Services accountgetByResourceGroup
(String resourceGroupName, String accountName) Get a Media Services accountcom.azure.core.http.rest.Response<MediaService>
getByResourceGroupWithResponse
(String resourceGroupName, String accountName, com.azure.core.util.Context context) Get a Media Services accountcom.azure.core.http.rest.PagedIterable<MediaService>
list()
List Media Services accountscom.azure.core.http.rest.PagedIterable<MediaService>
list
(com.azure.core.util.Context context) List Media Services accountscom.azure.core.http.rest.PagedIterable<MediaService>
listByResourceGroup
(String resourceGroupName) List Media Services accountscom.azure.core.http.rest.PagedIterable<MediaService>
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<EdgePolicies>
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 Keys
-
Method Details
-
listByResourceGroup
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<MediaService> 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<MediaService> 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.
-
deleteByResourceGroupWithResponse
com.azure.core.http.rest.Response<Void> deleteByResourceGroupWithResponse(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.
-
deleteByResourceGroup
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.
-
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<EdgePolicies> 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
EdgePolicies 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<MediaService> 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.
-
getById
Get a Media Services accountGet the details of a Media Services account.
- Parameters:
id
- the resource ID.- 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.
-
getByIdWithResponse
com.azure.core.http.rest.Response<MediaService> getByIdWithResponse(String id, com.azure.core.util.Context context) Get a Media Services accountGet the details of a Media Services account.
- Parameters:
id
- the resource ID.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.
-
deleteById
Delete a Media Services account.Deletes a Media Services account.
- Parameters:
id
- the resource ID.- 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.
-
deleteByIdWithResponse
com.azure.core.http.rest.Response<Void> deleteByIdWithResponse(String id, com.azure.core.util.Context context) Delete a Media Services account.Deletes a Media Services account.
- Parameters:
id
- the resource ID.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.
-
define
Begins definition for a new MediaService resource.- Parameters:
name
- resource name.- Returns:
- the first stage of the new MediaService definition.
-