Interface StreamingPoliciesClient
public interface StreamingPoliciesClient
An instance of this class provides access to all the operations defined in StreamingPoliciesClient.
-
Method Summary
Modifier and TypeMethodDescriptioncreate
(String resourceGroupName, String accountName, String streamingPolicyName, StreamingPolicyInner parameters) Create a Streaming Policycom.azure.core.http.rest.Response<StreamingPolicyInner>
createWithResponse
(String resourceGroupName, String accountName, String streamingPolicyName, StreamingPolicyInner parameters, com.azure.core.util.Context context) Create a Streaming Policyvoid
Delete a Streaming Policycom.azure.core.http.rest.Response<Void>
deleteWithResponse
(String resourceGroupName, String accountName, String streamingPolicyName, com.azure.core.util.Context context) Delete a Streaming PolicyGet a Streaming Policycom.azure.core.http.rest.Response<StreamingPolicyInner>
getWithResponse
(String resourceGroupName, String accountName, String streamingPolicyName, com.azure.core.util.Context context) Get a Streaming Policycom.azure.core.http.rest.PagedIterable<StreamingPolicyInner>
List Streaming Policiescom.azure.core.http.rest.PagedIterable<StreamingPolicyInner>
list
(String resourceGroupName, String accountName, String filter, Integer top, String orderby, com.azure.core.util.Context context) List Streaming Policies
-
Method Details
-
list
com.azure.core.http.rest.PagedIterable<StreamingPolicyInner> list(String resourceGroupName, String accountName) List Streaming PoliciesLists the Streaming Policies in the account.
- Parameters:
resourceGroupName
- The name of the resource group within the Azure subscription.accountName
- The Media Services account name.- Returns:
- a collection of StreamingPolicy 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.
-
list
com.azure.core.http.rest.PagedIterable<StreamingPolicyInner> list(String resourceGroupName, String accountName, String filter, Integer top, String orderby, com.azure.core.util.Context context) List Streaming PoliciesLists the Streaming Policies in the account.
- Parameters:
resourceGroupName
- The name of the resource group within the Azure subscription.accountName
- The Media Services account name.filter
- Restricts the set of items returned.top
- Specifies a non-negative integer n that limits the number of items returned from a collection. The service returns the number of available items up to but not greater than the specified value n.orderby
- Specifies the key by which the result collection should be ordered.context
- The context to associate with this operation.- Returns:
- a collection of StreamingPolicy 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.
-
getWithResponse
com.azure.core.http.rest.Response<StreamingPolicyInner> getWithResponse(String resourceGroupName, String accountName, String streamingPolicyName, com.azure.core.util.Context context) Get a Streaming PolicyGet the details of a Streaming Policy in the Media Services account.
- Parameters:
resourceGroupName
- The name of the resource group within the Azure subscription.accountName
- The Media Services account name.streamingPolicyName
- The Streaming Policy name.context
- The context to associate with this operation.- Returns:
- the details of a Streaming Policy in the 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.
-
get
Get a Streaming PolicyGet the details of a Streaming Policy in the Media Services account.
- Parameters:
resourceGroupName
- The name of the resource group within the Azure subscription.accountName
- The Media Services account name.streamingPolicyName
- The Streaming Policy name.- Returns:
- the details of a Streaming Policy in the 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.
-
createWithResponse
com.azure.core.http.rest.Response<StreamingPolicyInner> createWithResponse(String resourceGroupName, String accountName, String streamingPolicyName, StreamingPolicyInner parameters, com.azure.core.util.Context context) Create a Streaming PolicyCreate a Streaming Policy in the Media Services account.
- Parameters:
resourceGroupName
- The name of the resource group within the Azure subscription.accountName
- The Media Services account name.streamingPolicyName
- The Streaming Policy name.parameters
- The request parameters.context
- The context to associate with this operation.- Returns:
- a Streaming Policy resource 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.
-
create
StreamingPolicyInner create(String resourceGroupName, String accountName, String streamingPolicyName, StreamingPolicyInner parameters) Create a Streaming PolicyCreate a Streaming Policy in the Media Services account.
- Parameters:
resourceGroupName
- The name of the resource group within the Azure subscription.accountName
- The Media Services account name.streamingPolicyName
- The Streaming Policy name.parameters
- The request parameters.- Returns:
- a Streaming Policy resource.
- 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, String streamingPolicyName, com.azure.core.util.Context context) Delete a Streaming PolicyDeletes a Streaming Policy in the Media Services account.
- Parameters:
resourceGroupName
- The name of the resource group within the Azure subscription.accountName
- The Media Services account name.streamingPolicyName
- The Streaming Policy 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 Streaming PolicyDeletes a Streaming Policy in the Media Services account.
- Parameters:
resourceGroupName
- The name of the resource group within the Azure subscription.accountName
- The Media Services account name.streamingPolicyName
- The Streaming Policy 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.
-