list(String resourceGroupName, String accountName, Context context);
- /**
- * Get an Account Filter.
- *
- * Get the details of an Account Filter in the Media Services account.
- *
- * @param resourceGroupName The name of the resource group within the Azure subscription.
- * @param accountName The Media Services account name.
- * @param filterName The Account Filter name.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the details of an Account Filter in the Media Services account.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- AccountFilterInner get(String resourceGroupName, String accountName, String filterName);
-
/**
* Get an Account Filter.
*
@@ -79,22 +63,20 @@ Response getWithResponse(
String resourceGroupName, String accountName, String filterName, Context context);
/**
- * Create or update an Account Filter
+ * Get an Account Filter.
*
- * Creates or updates an Account Filter in the Media Services account.
+ *
Get the details of an Account Filter in the Media Services account.
*
* @param resourceGroupName The name of the resource group within the Azure subscription.
* @param accountName The Media Services account name.
* @param filterName The Account Filter name.
- * @param parameters The request parameters.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return an Account Filter.
+ * @return the details of an Account Filter in the Media Services account.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- AccountFilterInner createOrUpdate(
- String resourceGroupName, String accountName, String filterName, AccountFilterInner parameters);
+ AccountFilterInner get(String resourceGroupName, String accountName, String filterName);
/**
* Create or update an Account Filter
@@ -120,19 +102,22 @@ Response createOrUpdateWithResponse(
Context context);
/**
- * Delete an Account Filter.
+ * Create or update an Account Filter
*
- * Deletes an Account Filter in the Media Services account.
+ *
Creates or updates an Account Filter in the Media Services account.
*
* @param resourceGroupName The name of the resource group within the Azure subscription.
* @param accountName The Media Services account name.
* @param filterName The Account Filter name.
+ * @param parameters The request parameters.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return an Account Filter.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- void delete(String resourceGroupName, String accountName, String filterName);
+ AccountFilterInner createOrUpdate(
+ String resourceGroupName, String accountName, String filterName, AccountFilterInner parameters);
/**
* Delete an Account Filter.
@@ -152,22 +137,19 @@ Response createOrUpdateWithResponse(
Response deleteWithResponse(String resourceGroupName, String accountName, String filterName, Context context);
/**
- * Update an Account Filter
+ * Delete an Account Filter.
*
- * Updates an existing Account Filter in the Media Services account.
+ *
Deletes an Account Filter in the Media Services account.
*
* @param resourceGroupName The name of the resource group within the Azure subscription.
* @param accountName The Media Services account name.
* @param filterName The Account Filter name.
- * @param parameters The request parameters.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return an Account Filter.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- AccountFilterInner update(
- String resourceGroupName, String accountName, String filterName, AccountFilterInner parameters);
+ void delete(String resourceGroupName, String accountName, String filterName);
/**
* Update an Account Filter
@@ -191,4 +173,22 @@ Response updateWithResponse(
String filterName,
AccountFilterInner parameters,
Context context);
+
+ /**
+ * Update an Account Filter
+ *
+ * Updates an existing Account Filter in the Media Services account.
+ *
+ * @param resourceGroupName The name of the resource group within the Azure subscription.
+ * @param accountName The Media Services account name.
+ * @param filterName The Account Filter name.
+ * @param parameters The request parameters.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return an Account Filter.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ AccountFilterInner update(
+ String resourceGroupName, String accountName, String filterName, AccountFilterInner parameters);
}
diff --git a/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/fluent/AssetFiltersClient.java b/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/fluent/AssetFiltersClient.java
index e8e448e825ec..fabde06a579d 100644
--- a/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/fluent/AssetFiltersClient.java
+++ b/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/fluent/AssetFiltersClient.java
@@ -47,23 +47,6 @@ public interface AssetFiltersClient {
PagedIterable list(
String resourceGroupName, String accountName, String assetName, Context context);
- /**
- * Get an Asset Filter.
- *
- * Get the details of an Asset Filter associated with the specified Asset.
- *
- * @param resourceGroupName The name of the resource group within the Azure subscription.
- * @param accountName The Media Services account name.
- * @param assetName The Asset name.
- * @param filterName The Asset Filter name.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the details of an Asset Filter associated with the specified Asset.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- AssetFilterInner get(String resourceGroupName, String accountName, String assetName, String filterName);
-
/**
* Get an Asset Filter.
*
@@ -84,23 +67,21 @@ Response getWithResponse(
String resourceGroupName, String accountName, String assetName, String filterName, Context context);
/**
- * Create or update an Asset Filter
+ * Get an Asset Filter.
*
- * Creates or updates an Asset Filter associated with the specified Asset.
+ *
Get the details of an Asset Filter associated with the specified Asset.
*
* @param resourceGroupName The name of the resource group within the Azure subscription.
* @param accountName The Media Services account name.
* @param assetName The Asset name.
* @param filterName The Asset Filter name.
- * @param parameters The request parameters.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return an Asset Filter.
+ * @return the details of an Asset Filter associated with the specified Asset.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- AssetFilterInner createOrUpdate(
- String resourceGroupName, String accountName, String assetName, String filterName, AssetFilterInner parameters);
+ AssetFilterInner get(String resourceGroupName, String accountName, String assetName, String filterName);
/**
* Create or update an Asset Filter
@@ -128,20 +109,23 @@ Response createOrUpdateWithResponse(
Context context);
/**
- * Delete an Asset Filter.
+ * Create or update an Asset Filter
*
- * Deletes an Asset Filter associated with the specified Asset.
+ *
Creates or updates an Asset Filter associated with the specified Asset.
*
* @param resourceGroupName The name of the resource group within the Azure subscription.
* @param accountName The Media Services account name.
* @param assetName The Asset name.
* @param filterName The Asset Filter name.
+ * @param parameters The request parameters.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return an Asset Filter.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- void delete(String resourceGroupName, String accountName, String assetName, String filterName);
+ AssetFilterInner createOrUpdate(
+ String resourceGroupName, String accountName, String assetName, String filterName, AssetFilterInner parameters);
/**
* Delete an Asset Filter.
@@ -163,23 +147,20 @@ Response deleteWithResponse(
String resourceGroupName, String accountName, String assetName, String filterName, Context context);
/**
- * Update an Asset Filter
+ * Delete an Asset Filter.
*
- * Updates an existing Asset Filter associated with the specified Asset.
+ *
Deletes an Asset Filter associated with the specified Asset.
*
* @param resourceGroupName The name of the resource group within the Azure subscription.
* @param accountName The Media Services account name.
* @param assetName The Asset name.
* @param filterName The Asset Filter name.
- * @param parameters The request parameters.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return an Asset Filter.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- AssetFilterInner update(
- String resourceGroupName, String accountName, String assetName, String filterName, AssetFilterInner parameters);
+ void delete(String resourceGroupName, String accountName, String assetName, String filterName);
/**
* Update an Asset Filter
@@ -205,4 +186,23 @@ Response updateWithResponse(
String filterName,
AssetFilterInner parameters,
Context context);
+
+ /**
+ * Update an Asset Filter
+ *
+ * Updates an existing Asset Filter associated with the specified Asset.
+ *
+ * @param resourceGroupName The name of the resource group within the Azure subscription.
+ * @param accountName The Media Services account name.
+ * @param assetName The Asset name.
+ * @param filterName The Asset Filter name.
+ * @param parameters The request parameters.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return an Asset Filter.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ AssetFilterInner update(
+ String resourceGroupName, String accountName, String assetName, String filterName, AssetFilterInner parameters);
}
diff --git a/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/fluent/AssetsClient.java b/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/fluent/AssetsClient.java
index 9c35e9aa5285..cd20d6c0520b 100644
--- a/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/fluent/AssetsClient.java
+++ b/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/fluent/AssetsClient.java
@@ -53,22 +53,6 @@ public interface AssetsClient {
PagedIterable list(
String resourceGroupName, String accountName, String filter, Integer top, String orderby, Context context);
- /**
- * Get an Asset
- *
- * Get the details of an Asset in the Media Services account.
- *
- * @param resourceGroupName The name of the resource group within the Azure subscription.
- * @param accountName The Media Services account name.
- * @param assetName The Asset name.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the details of an Asset in the Media Services account.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- AssetInner get(String resourceGroupName, String accountName, String assetName);
-
/**
* Get an Asset
*
@@ -88,21 +72,20 @@ Response getWithResponse(
String resourceGroupName, String accountName, String assetName, Context context);
/**
- * Create or update an Asset
+ * Get an Asset
*
- * Creates or updates an Asset in the Media Services account.
+ *
Get the details of an Asset in the Media Services account.
*
* @param resourceGroupName The name of the resource group within the Azure subscription.
* @param accountName The Media Services account name.
* @param assetName The Asset name.
- * @param parameters The request parameters.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return an Asset.
+ * @return the details of an Asset in the Media Services account.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- AssetInner createOrUpdate(String resourceGroupName, String accountName, String assetName, AssetInner parameters);
+ AssetInner get(String resourceGroupName, String accountName, String assetName);
/**
* Create or update an Asset
@@ -124,19 +107,21 @@ Response createOrUpdateWithResponse(
String resourceGroupName, String accountName, String assetName, AssetInner parameters, Context context);
/**
- * Delete an Asset.
+ * Create or update an Asset
*
- * Deletes an Asset in the Media Services account.
+ *
Creates or updates an Asset in the Media Services account.
*
* @param resourceGroupName The name of the resource group within the Azure subscription.
* @param accountName The Media Services account name.
* @param assetName The Asset name.
+ * @param parameters The request parameters.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return an Asset.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- void delete(String resourceGroupName, String accountName, String assetName);
+ AssetInner createOrUpdate(String resourceGroupName, String accountName, String assetName, AssetInner parameters);
/**
* Delete an Asset.
@@ -156,21 +141,19 @@ Response createOrUpdateWithResponse(
Response deleteWithResponse(String resourceGroupName, String accountName, String assetName, Context context);
/**
- * Update an Asset
+ * Delete an Asset.
*
- * Updates an existing Asset in the Media Services account.
+ *
Deletes an Asset in the Media Services account.
*
* @param resourceGroupName The name of the resource group within the Azure subscription.
* @param accountName The Media Services account name.
* @param assetName The Asset name.
- * @param parameters The request parameters.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return an Asset.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- AssetInner update(String resourceGroupName, String accountName, String assetName, AssetInner parameters);
+ void delete(String resourceGroupName, String accountName, String assetName);
/**
* Update an Asset
@@ -192,10 +175,9 @@ Response updateWithResponse(
String resourceGroupName, String accountName, String assetName, AssetInner parameters, Context context);
/**
- * List the Asset URLs
+ * Update an Asset
*
- * Lists storage container URLs with shared access signatures (SAS) for uploading and downloading Asset content.
- * The signatures are derived from the storage account keys.
+ *
Updates an existing Asset in the Media Services account.
*
* @param resourceGroupName The name of the resource group within the Azure subscription.
* @param accountName The Media Services account name.
@@ -204,11 +186,10 @@ Response updateWithResponse(
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the Asset Storage container SAS URLs.
+ * @return an Asset.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- AssetContainerSasInner listContainerSas(
- String resourceGroupName, String accountName, String assetName, ListContainerSasInput parameters);
+ AssetInner update(String resourceGroupName, String accountName, String assetName, AssetInner parameters);
/**
* List the Asset URLs
@@ -235,21 +216,23 @@ Response listContainerSasWithResponse(
Context context);
/**
- * Gets the Asset storage key
+ * List the Asset URLs
*
- * Gets the Asset storage encryption keys used to decrypt content created by version 2 of the Media Services API.
+ *
Lists storage container URLs with shared access signatures (SAS) for uploading and downloading Asset content.
+ * The signatures are derived from the storage account keys.
*
* @param resourceGroupName The name of the resource group within the Azure subscription.
* @param accountName The Media Services account name.
* @param assetName The Asset name.
+ * @param parameters The request parameters.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the Asset storage encryption keys used to decrypt content created by version 2 of the Media Services API.
+ * @return the Asset Storage container SAS URLs.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- StorageEncryptedAssetDecryptionDataInner getEncryptionKey(
- String resourceGroupName, String accountName, String assetName);
+ AssetContainerSasInner listContainerSas(
+ String resourceGroupName, String accountName, String assetName, ListContainerSasInput parameters);
/**
* Gets the Asset storage key
@@ -271,9 +254,9 @@ Response getEncryptionKeyWithResponse(
String resourceGroupName, String accountName, String assetName, Context context);
/**
- * List Streaming Locators
+ * Gets the Asset storage key
*
- * Lists Streaming Locators which are associated with this asset.
+ *
Gets the Asset storage encryption keys used to decrypt content created by version 2 of the Media Services API.
*
* @param resourceGroupName The name of the resource group within the Azure subscription.
* @param accountName The Media Services account name.
@@ -281,10 +264,10 @@ Response getEncryptionKeyWithResponse(
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the Streaming Locators associated with this Asset.
+ * @return the Asset storage encryption keys used to decrypt content created by version 2 of the Media Services API.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- ListStreamingLocatorsResponseInner listStreamingLocators(
+ StorageEncryptedAssetDecryptionDataInner getEncryptionKey(
String resourceGroupName, String accountName, String assetName);
/**
@@ -304,4 +287,21 @@ ListStreamingLocatorsResponseInner listStreamingLocators(
@ServiceMethod(returns = ReturnType.SINGLE)
Response listStreamingLocatorsWithResponse(
String resourceGroupName, String accountName, String assetName, Context context);
+
+ /**
+ * List Streaming Locators
+ *
+ * Lists Streaming Locators which are associated with this asset.
+ *
+ * @param resourceGroupName The name of the resource group within the Azure subscription.
+ * @param accountName The Media Services account name.
+ * @param assetName The Asset name.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the Streaming Locators associated with this Asset.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ ListStreamingLocatorsResponseInner listStreamingLocators(
+ String resourceGroupName, String accountName, String assetName);
}
diff --git a/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/fluent/ContentKeyPoliciesClient.java b/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/fluent/ContentKeyPoliciesClient.java
index 397f799b7a1a..f3266a405cba 100644
--- a/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/fluent/ContentKeyPoliciesClient.java
+++ b/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/fluent/ContentKeyPoliciesClient.java
@@ -50,22 +50,6 @@ public interface ContentKeyPoliciesClient {
PagedIterable list(
String resourceGroupName, String accountName, String filter, Integer top, String orderby, Context context);
- /**
- * Get a Content Key Policy
- *
- * Get the details of a Content Key Policy in the Media Services account.
- *
- * @param resourceGroupName The name of the resource group within the Azure subscription.
- * @param accountName The Media Services account name.
- * @param contentKeyPolicyName The Content Key Policy name.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the details of a Content Key Policy in the Media Services account.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- ContentKeyPolicyInner get(String resourceGroupName, String accountName, String contentKeyPolicyName);
-
/**
* Get a Content Key Policy
*
@@ -85,22 +69,20 @@ Response getWithResponse(
String resourceGroupName, String accountName, String contentKeyPolicyName, Context context);
/**
- * Create or update an Content Key Policy
+ * Get a Content Key Policy
*
- * Create or update a Content Key Policy in the Media Services account.
+ *
Get the details of a Content Key Policy in the Media Services account.
*
* @param resourceGroupName The name of the resource group within the Azure subscription.
* @param accountName The Media Services account name.
* @param contentKeyPolicyName The Content Key Policy name.
- * @param parameters The request parameters.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a Content Key Policy resource.
+ * @return the details of a Content Key Policy in the Media Services account.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- ContentKeyPolicyInner createOrUpdate(
- String resourceGroupName, String accountName, String contentKeyPolicyName, ContentKeyPolicyInner parameters);
+ ContentKeyPolicyInner get(String resourceGroupName, String accountName, String contentKeyPolicyName);
/**
* Create or update an Content Key Policy
@@ -126,19 +108,22 @@ Response createOrUpdateWithResponse(
Context context);
/**
- * Delete a Content Key Policy
+ * Create or update an Content Key Policy
*
- * Deletes a Content Key Policy in the Media Services account.
+ *
Create or update a Content Key Policy in the Media Services account.
*
* @param resourceGroupName The name of the resource group within the Azure subscription.
* @param accountName The Media Services account name.
* @param contentKeyPolicyName The Content Key Policy name.
+ * @param parameters The request parameters.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a Content Key Policy resource.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- void delete(String resourceGroupName, String accountName, String contentKeyPolicyName);
+ ContentKeyPolicyInner createOrUpdate(
+ String resourceGroupName, String accountName, String contentKeyPolicyName, ContentKeyPolicyInner parameters);
/**
* Delete a Content Key Policy
@@ -159,22 +144,19 @@ Response deleteWithResponse(
String resourceGroupName, String accountName, String contentKeyPolicyName, Context context);
/**
- * Update a Content Key Policy
+ * Delete a Content Key Policy
*
- * Updates an existing Content Key Policy in the Media Services account.
+ *
Deletes a Content Key Policy in the Media Services account.
*
* @param resourceGroupName The name of the resource group within the Azure subscription.
* @param accountName The Media Services account name.
* @param contentKeyPolicyName The Content Key Policy name.
- * @param parameters The request parameters.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a Content Key Policy resource.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- ContentKeyPolicyInner update(
- String resourceGroupName, String accountName, String contentKeyPolicyName, ContentKeyPolicyInner parameters);
+ void delete(String resourceGroupName, String accountName, String contentKeyPolicyName);
/**
* Update a Content Key Policy
@@ -200,21 +182,22 @@ Response updateWithResponse(
Context context);
/**
- * Get a Content Key Policy with secrets
+ * Update a Content Key Policy
*
- * Get a Content Key Policy including secret values.
+ *
Updates an existing Content Key Policy in the Media Services account.
*
* @param resourceGroupName The name of the resource group within the Azure subscription.
* @param accountName The Media Services account name.
* @param contentKeyPolicyName The Content Key Policy name.
+ * @param parameters The request parameters.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a Content Key Policy including secret values.
+ * @return a Content Key Policy resource.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- ContentKeyPolicyPropertiesInner getPolicyPropertiesWithSecrets(
- String resourceGroupName, String accountName, String contentKeyPolicyName);
+ ContentKeyPolicyInner update(
+ String resourceGroupName, String accountName, String contentKeyPolicyName, ContentKeyPolicyInner parameters);
/**
* Get a Content Key Policy with secrets
@@ -233,4 +216,21 @@ ContentKeyPolicyPropertiesInner getPolicyPropertiesWithSecrets(
@ServiceMethod(returns = ReturnType.SINGLE)
Response getPolicyPropertiesWithSecretsWithResponse(
String resourceGroupName, String accountName, String contentKeyPolicyName, Context context);
+
+ /**
+ * Get a Content Key Policy with secrets
+ *
+ * Get a Content Key Policy including secret values.
+ *
+ * @param resourceGroupName The name of the resource group within the Azure subscription.
+ * @param accountName The Media Services account name.
+ * @param contentKeyPolicyName The Content Key Policy name.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a Content Key Policy including secret values.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ ContentKeyPolicyPropertiesInner getPolicyPropertiesWithSecrets(
+ String resourceGroupName, String accountName, String contentKeyPolicyName);
}
diff --git a/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/fluent/JobsClient.java b/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/fluent/JobsClient.java
index f5d919f2b364..3e5bfa6ad713 100644
--- a/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/fluent/JobsClient.java
+++ b/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/fluent/JobsClient.java
@@ -54,23 +54,6 @@ PagedIterable list(
String orderby,
Context context);
- /**
- * Get Job
- *
- * Gets a Job.
- *
- * @param resourceGroupName The name of the resource group within the Azure subscription.
- * @param accountName The Media Services account name.
- * @param transformName The Transform name.
- * @param jobName The Job name.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a Job.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- JobInner get(String resourceGroupName, String accountName, String transformName, String jobName);
-
/**
* Get Job
*
@@ -91,23 +74,21 @@ Response getWithResponse(
String resourceGroupName, String accountName, String transformName, String jobName, Context context);
/**
- * Create Job
+ * Get Job
*
- * Creates a Job.
+ *
Gets a Job.
*
* @param resourceGroupName The name of the resource group within the Azure subscription.
* @param accountName The Media Services account name.
* @param transformName The Transform name.
* @param jobName The Job name.
- * @param parameters The request parameters.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a Job resource type.
+ * @return a Job.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- JobInner create(
- String resourceGroupName, String accountName, String transformName, String jobName, JobInner parameters);
+ JobInner get(String resourceGroupName, String accountName, String transformName, String jobName);
/**
* Create Job
@@ -135,20 +116,23 @@ Response createWithResponse(
Context context);
/**
- * Delete Job
+ * Create Job
*
- * Deletes a Job.
+ *
Creates a Job.
*
* @param resourceGroupName The name of the resource group within the Azure subscription.
* @param accountName The Media Services account name.
* @param transformName The Transform name.
* @param jobName The Job name.
+ * @param parameters The request parameters.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a Job resource type.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- void delete(String resourceGroupName, String accountName, String transformName, String jobName);
+ JobInner create(
+ String resourceGroupName, String accountName, String transformName, String jobName, JobInner parameters);
/**
* Delete Job
@@ -170,24 +154,20 @@ Response deleteWithResponse(
String resourceGroupName, String accountName, String transformName, String jobName, Context context);
/**
- * Update Job
+ * Delete Job
*
- * Update is only supported for description and priority. Updating Priority will take effect when the Job state
- * is Queued or Scheduled and depending on the timing the priority update may be ignored.
+ *
Deletes a Job.
*
* @param resourceGroupName The name of the resource group within the Azure subscription.
* @param accountName The Media Services account name.
* @param transformName The Transform name.
* @param jobName The Job name.
- * @param parameters The request parameters.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a Job resource type.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- JobInner update(
- String resourceGroupName, String accountName, String transformName, String jobName, JobInner parameters);
+ void delete(String resourceGroupName, String accountName, String transformName, String jobName);
/**
* Update Job
@@ -216,20 +196,24 @@ Response updateWithResponse(
Context context);
/**
- * Cancel Job
+ * Update Job
*
- * Cancel a Job.
+ *
Update is only supported for description and priority. Updating Priority will take effect when the Job state
+ * is Queued or Scheduled and depending on the timing the priority update may be ignored.
*
* @param resourceGroupName The name of the resource group within the Azure subscription.
* @param accountName The Media Services account name.
* @param transformName The Transform name.
* @param jobName The Job name.
+ * @param parameters The request parameters.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a Job resource type.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- void cancelJob(String resourceGroupName, String accountName, String transformName, String jobName);
+ JobInner update(
+ String resourceGroupName, String accountName, String transformName, String jobName, JobInner parameters);
/**
* Cancel Job
@@ -249,4 +233,20 @@ Response updateWithResponse(
@ServiceMethod(returns = ReturnType.SINGLE)
Response cancelJobWithResponse(
String resourceGroupName, String accountName, String transformName, String jobName, Context context);
+
+ /**
+ * Cancel Job
+ *
+ * Cancel a Job.
+ *
+ * @param resourceGroupName The name of the resource group within the Azure subscription.
+ * @param accountName The Media Services account name.
+ * @param transformName The Transform name.
+ * @param jobName The Job name.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ void cancelJob(String resourceGroupName, String accountName, String transformName, String jobName);
}
diff --git a/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/fluent/LiveEventsClient.java b/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/fluent/LiveEventsClient.java
index 23f14b074fa6..f4b6b2bef027 100644
--- a/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/fluent/LiveEventsClient.java
+++ b/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/fluent/LiveEventsClient.java
@@ -56,13 +56,15 @@ public interface LiveEventsClient {
* @param resourceGroupName The name of the resource group within the Azure subscription.
* @param accountName The Media Services account name.
* @param liveEventName The name of the live event, maximum length is 32.
+ * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return properties of a live event.
+ * @return properties of a live event along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- LiveEventInner get(String resourceGroupName, String accountName, String liveEventName);
+ Response getWithResponse(
+ String resourceGroupName, String accountName, String liveEventName, Context context);
/**
* Get Live Event
@@ -72,15 +74,13 @@ public interface LiveEventsClient {
* @param resourceGroupName The name of the resource group within the Azure subscription.
* @param accountName The Media Services account name.
* @param liveEventName The name of the live event, maximum length is 32.
- * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return properties of a live event along with {@link Response}.
+ * @return properties of a live event.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response getWithResponse(
- String resourceGroupName, String accountName, String liveEventName, Context context);
+ LiveEventInner get(String resourceGroupName, String accountName, String liveEventName);
/**
* Create Live Event
@@ -91,7 +91,6 @@ Response getWithResponse(
* @param accountName The Media Services account name.
* @param liveEventName The name of the live event, maximum length is 32.
* @param parameters Live event properties needed for creation.
- * @param autoStart The flag indicates if the resource should be automatically started on creation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
@@ -99,11 +98,7 @@ Response getWithResponse(
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller, LiveEventInner> beginCreate(
- String resourceGroupName,
- String accountName,
- String liveEventName,
- LiveEventInner parameters,
- Boolean autoStart);
+ String resourceGroupName, String accountName, String liveEventName, LiveEventInner parameters);
/**
* Create Live Event
@@ -130,29 +125,6 @@ SyncPoller, LiveEventInner> beginCreate(
Boolean autoStart,
Context context);
- /**
- * Create Live Event
- *
- * Creates a new live event.
- *
- * @param resourceGroupName The name of the resource group within the Azure subscription.
- * @param accountName The Media Services account name.
- * @param liveEventName The name of the live event, maximum length is 32.
- * @param parameters Live event properties needed for creation.
- * @param autoStart The flag indicates if the resource should be automatically started on creation.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the live event.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- LiveEventInner create(
- String resourceGroupName,
- String accountName,
- String liveEventName,
- LiveEventInner parameters,
- Boolean autoStart);
-
/**
* Create Live Event
*
@@ -618,13 +590,15 @@ SyncPoller, Void> beginReset(
* @param resourceGroupName The name of the resource group within the Azure subscription.
* @param accountName The Media Services account name.
* @param operationId The ID of an ongoing async operation.
+ * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a live event operation status.
+ * @return a live event operation status along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- AsyncOperationResultInner asyncOperation(String resourceGroupName, String accountName, String operationId);
+ Response asyncOperationWithResponse(
+ String resourceGroupName, String accountName, String operationId, Context context);
/**
* Get operation status.
@@ -634,15 +608,13 @@ SyncPoller, Void> beginReset(
* @param resourceGroupName The name of the resource group within the Azure subscription.
* @param accountName The Media Services account name.
* @param operationId The ID of an ongoing async operation.
- * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a live event operation status along with {@link Response}.
+ * @return a live event operation status.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response asyncOperationWithResponse(
- String resourceGroupName, String accountName, String operationId, Context context);
+ AsyncOperationResultInner asyncOperation(String resourceGroupName, String accountName, String operationId);
/**
* Get operation status.
@@ -653,14 +625,15 @@ Response asyncOperationWithResponse(
* @param accountName The Media Services account name.
* @param liveEventName The name of the live event, maximum length is 32.
* @param operationId The ID of an ongoing async operation.
+ * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a live event operation status.
+ * @return a live event operation status along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- LiveEventInner operationLocation(
- String resourceGroupName, String accountName, String liveEventName, String operationId);
+ Response operationLocationWithResponse(
+ String resourceGroupName, String accountName, String liveEventName, String operationId, Context context);
/**
* Get operation status.
@@ -671,13 +644,12 @@ LiveEventInner operationLocation(
* @param accountName The Media Services account name.
* @param liveEventName The name of the live event, maximum length is 32.
* @param operationId The ID of an ongoing async operation.
- * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a live event operation status along with {@link Response}.
+ * @return a live event operation status.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response operationLocationWithResponse(
- String resourceGroupName, String accountName, String liveEventName, String operationId, Context context);
+ LiveEventInner operationLocation(
+ String resourceGroupName, String accountName, String liveEventName, String operationId);
}
diff --git a/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/fluent/LiveOutputsClient.java b/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/fluent/LiveOutputsClient.java
index ba1afabd8109..7cb9b2b45bed 100644
--- a/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/fluent/LiveOutputsClient.java
+++ b/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/fluent/LiveOutputsClient.java
@@ -59,13 +59,15 @@ PagedIterable list(
* @param accountName The Media Services account name.
* @param liveEventName The name of the live event, maximum length is 32.
* @param liveOutputName The name of the live output.
+ * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a live output.
+ * @return a live output along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- LiveOutputInner get(String resourceGroupName, String accountName, String liveEventName, String liveOutputName);
+ Response getWithResponse(
+ String resourceGroupName, String accountName, String liveEventName, String liveOutputName, Context context);
/**
* Get Live Output
@@ -76,15 +78,13 @@ PagedIterable list(
* @param accountName The Media Services account name.
* @param liveEventName The name of the live event, maximum length is 32.
* @param liveOutputName The name of the live output.
- * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a live output along with {@link Response}.
+ * @return a live output.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response getWithResponse(
- String resourceGroupName, String accountName, String liveEventName, String liveOutputName, Context context);
+ LiveOutputInner get(String resourceGroupName, String accountName, String liveEventName, String liveOutputName);
/**
* Create Live Output
@@ -261,13 +261,15 @@ void delete(
* @param resourceGroupName The name of the resource group within the Azure subscription.
* @param accountName The Media Services account name.
* @param operationId The ID of an ongoing async operation.
+ * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a Live Output operation status.
+ * @return a Live Output operation status along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- AsyncOperationResultInner asyncOperation(String resourceGroupName, String accountName, String operationId);
+ Response asyncOperationWithResponse(
+ String resourceGroupName, String accountName, String operationId, Context context);
/**
* Get operation status.
@@ -277,15 +279,13 @@ void delete(
* @param resourceGroupName The name of the resource group within the Azure subscription.
* @param accountName The Media Services account name.
* @param operationId The ID of an ongoing async operation.
- * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a Live Output operation status along with {@link Response}.
+ * @return a Live Output operation status.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response asyncOperationWithResponse(
- String resourceGroupName, String accountName, String operationId, Context context);
+ AsyncOperationResultInner asyncOperation(String resourceGroupName, String accountName, String operationId);
/**
* Get operation status.
@@ -297,14 +297,20 @@ Response asyncOperationWithResponse(
* @param liveEventName The name of the live event, maximum length is 32.
* @param liveOutputName The name of the live output.
* @param operationId The ID of an ongoing async operation.
+ * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a Live Output operation status.
+ * @return a Live Output operation status along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- LiveOutputInner operationLocation(
- String resourceGroupName, String accountName, String liveEventName, String liveOutputName, String operationId);
+ Response operationLocationWithResponse(
+ String resourceGroupName,
+ String accountName,
+ String liveEventName,
+ String liveOutputName,
+ String operationId,
+ Context context);
/**
* Get operation status.
@@ -316,18 +322,12 @@ LiveOutputInner operationLocation(
* @param liveEventName The name of the live event, maximum length is 32.
* @param liveOutputName The name of the live output.
* @param operationId The ID of an ongoing async operation.
- * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a Live Output operation status along with {@link Response}.
+ * @return a Live Output operation status.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response operationLocationWithResponse(
- String resourceGroupName,
- String accountName,
- String liveEventName,
- String liveOutputName,
- String operationId,
- Context context);
+ LiveOutputInner operationLocation(
+ String resourceGroupName, String accountName, String liveEventName, String liveOutputName, String operationId);
}
diff --git a/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/fluent/LocationsClient.java b/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/fluent/LocationsClient.java
index a648c8ef1f48..950e115b6854 100644
--- a/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/fluent/LocationsClient.java
+++ b/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/fluent/LocationsClient.java
@@ -20,14 +20,15 @@ public interface LocationsClient {
*
* @param locationName Location name.
* @param parameters The request parameters.
+ * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the response from the check name availability request.
+ * @return the response from the check name availability request along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- EntityNameAvailabilityCheckOutputInner checkNameAvailability(
- String locationName, CheckNameAvailabilityInput parameters);
+ Response checkNameAvailabilityWithResponse(
+ String locationName, CheckNameAvailabilityInput parameters, Context context);
/**
* Check Name Availability
@@ -36,13 +37,12 @@ EntityNameAvailabilityCheckOutputInner checkNameAvailability(
*
* @param locationName Location name.
* @param parameters The request parameters.
- * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the response from the check name availability request along with {@link Response}.
+ * @return the response from the check name availability request.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response checkNameAvailabilityWithResponse(
- String locationName, CheckNameAvailabilityInput parameters, Context context);
+ EntityNameAvailabilityCheckOutputInner checkNameAvailability(
+ String locationName, CheckNameAvailabilityInput parameters);
}
diff --git a/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/fluent/MediaServicesOperationResultsClient.java b/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/fluent/MediaServicesOperationResultsClient.java
index 79bfb376866b..33f2f1488c8a 100644
--- a/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/fluent/MediaServicesOperationResultsClient.java
+++ b/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/fluent/MediaServicesOperationResultsClient.java
@@ -19,13 +19,14 @@ public interface MediaServicesOperationResultsClient {
*
* @param locationName Location name.
* @param operationId Operation Id.
+ * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return media service operation result.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- MediaServiceInner get(String locationName, String operationId);
+ MediaServicesOperationResultsGetResponse getWithResponse(String locationName, String operationId, Context context);
/**
* Get operation result.
@@ -34,12 +35,11 @@ public interface MediaServicesOperationResultsClient {
*
* @param locationName Location name.
* @param operationId Operation Id.
- * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return media service operation result.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- MediaServicesOperationResultsGetResponse getWithResponse(String locationName, String operationId, Context context);
+ MediaServiceInner get(String locationName, String operationId);
}
diff --git a/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/fluent/MediaServicesOperationStatusesClient.java b/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/fluent/MediaServicesOperationStatusesClient.java
index d01953576ccc..37e9e18dd939 100644
--- a/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/fluent/MediaServicesOperationStatusesClient.java
+++ b/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/fluent/MediaServicesOperationStatusesClient.java
@@ -19,13 +19,15 @@ public interface MediaServicesOperationStatusesClient {
*
* @param locationName Location name.
* @param operationId Operation ID.
+ * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return media service operation status.
+ * @return media service operation status along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- MediaServiceOperationStatusInner get(String locationName, String operationId);
+ Response getWithResponse(
+ String locationName, String operationId, Context context);
/**
* Get operation status.
@@ -34,13 +36,11 @@ public interface MediaServicesOperationStatusesClient {
*
* @param locationName Location name.
* @param operationId Operation ID.
- * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return media service operation status along with {@link Response}.
+ * @return media service operation status.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response getWithResponse(
- String locationName, String operationId, Context context);
+ MediaServiceOperationStatusInner get(String locationName, String operationId);
}
diff --git a/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/fluent/MediaservicesClient.java b/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/fluent/MediaservicesClient.java
index 5408e2dfb442..d8a491d3e34a 100644
--- a/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/fluent/MediaservicesClient.java
+++ b/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/fluent/MediaservicesClient.java
@@ -55,13 +55,15 @@ public interface MediaservicesClient {
*
* @param resourceGroupName The name of the resource group within the Azure subscription.
* @param accountName The Media Services account name.
+ * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the details of a Media Services account.
+ * @return the details of a Media Services account along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- MediaServiceInner getByResourceGroup(String resourceGroupName, String accountName);
+ Response getByResourceGroupWithResponse(
+ String resourceGroupName, String accountName, Context context);
/**
* Get a Media Services account
@@ -70,15 +72,13 @@ public interface MediaservicesClient {
*
* @param resourceGroupName The name of the resource group within the Azure subscription.
* @param accountName The Media Services account name.
- * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the details of a Media Services account along with {@link Response}.
+ * @return the details of a Media Services account.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response getByResourceGroupWithResponse(
- String resourceGroupName, String accountName, Context context);
+ MediaServiceInner getByResourceGroup(String resourceGroupName, String accountName);
/**
* Create or update a Media Services account
@@ -156,12 +156,14 @@ MediaServiceInner createOrUpdate(
*
* @param resourceGroupName The name of the resource group within the Azure subscription.
* @param accountName The Media Services account name.
+ * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- void delete(String resourceGroupName, String accountName);
+ Response deleteWithResponse(String resourceGroupName, String accountName, Context context);
/**
* Delete a Media Services account.
@@ -170,14 +172,12 @@ MediaServiceInner createOrUpdate(
*
* @param resourceGroupName The name of the resource group within the Azure subscription.
* @param accountName The Media Services account name.
- * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response deleteWithResponse(String resourceGroupName, String accountName, Context context);
+ void delete(String resourceGroupName, String accountName);
/**
* Update a Media Services account
@@ -256,12 +256,15 @@ MediaServiceInner update(
* @param resourceGroupName The name of the resource group within the Azure subscription.
* @param accountName The Media Services account name.
* @param parameters The request parameters.
+ * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- void syncStorageKeys(String resourceGroupName, String accountName, SyncStorageKeysInput parameters);
+ Response syncStorageKeysWithResponse(
+ String resourceGroupName, String accountName, SyncStorageKeysInput parameters, Context context);
/**
* Synchronizes Storage Account Keys
@@ -271,15 +274,12 @@ MediaServiceInner update(
* @param resourceGroupName The name of the resource group within the Azure subscription.
* @param accountName The Media Services account name.
* @param parameters The request parameters.
- * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response syncStorageKeysWithResponse(
- String resourceGroupName, String accountName, SyncStorageKeysInput parameters, Context context);
+ void syncStorageKeys(String resourceGroupName, String accountName, SyncStorageKeysInput parameters);
/**
* List the media edge policies associated with the Media Services account.
@@ -289,13 +289,15 @@ Response syncStorageKeysWithResponse(
* @param resourceGroupName The name of the resource group within the Azure subscription.
* @param accountName The Media Services account name.
* @param parameters The request parameters.
+ * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the response.
+ * @return the response body along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- EdgePoliciesInner listEdgePolicies(String resourceGroupName, String accountName, ListEdgePoliciesInput parameters);
+ Response listEdgePoliciesWithResponse(
+ String resourceGroupName, String accountName, ListEdgePoliciesInput parameters, Context context);
/**
* List the media edge policies associated with the Media Services account.
@@ -305,15 +307,13 @@ Response syncStorageKeysWithResponse(
* @param resourceGroupName The name of the resource group within the Azure subscription.
* @param accountName The Media Services account name.
* @param parameters The request parameters.
- * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the response body along with {@link Response}.
+ * @return the response.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response listEdgePoliciesWithResponse(
- String resourceGroupName, String accountName, ListEdgePoliciesInput parameters, Context context);
+ EdgePoliciesInner listEdgePolicies(String resourceGroupName, String accountName, ListEdgePoliciesInput parameters);
/**
* List Media Services accounts
diff --git a/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/fluent/OperationResultsClient.java b/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/fluent/OperationResultsClient.java
index bc9e66f81e84..6cf80e1de543 100644
--- a/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/fluent/OperationResultsClient.java
+++ b/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/fluent/OperationResultsClient.java
@@ -22,14 +22,20 @@ public interface OperationResultsClient {
* @param assetName The Asset name.
* @param trackName The Asset Track name.
* @param operationId Operation Id.
+ * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return asset track operation result.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- AssetTrackInner get(
- String resourceGroupName, String accountName, String assetName, String trackName, String operationId);
+ OperationResultsGetResponse getWithResponse(
+ String resourceGroupName,
+ String accountName,
+ String assetName,
+ String trackName,
+ String operationId,
+ Context context);
/**
* Get operation result.
@@ -41,18 +47,12 @@ AssetTrackInner get(
* @param assetName The Asset name.
* @param trackName The Asset Track name.
* @param operationId Operation Id.
- * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return asset track operation result.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- OperationResultsGetResponse getWithResponse(
- String resourceGroupName,
- String accountName,
- String assetName,
- String trackName,
- String operationId,
- Context context);
+ AssetTrackInner get(
+ String resourceGroupName, String accountName, String assetName, String trackName, String operationId);
}
diff --git a/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/fluent/OperationStatusesClient.java b/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/fluent/OperationStatusesClient.java
index 130ec62a46c8..216b4b0114cf 100644
--- a/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/fluent/OperationStatusesClient.java
+++ b/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/fluent/OperationStatusesClient.java
@@ -22,14 +22,20 @@ public interface OperationStatusesClient {
* @param assetName The Asset name.
* @param trackName The Asset Track name.
* @param operationId Operation Id.
+ * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return asset track operation status.
+ * @return asset track operation status along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- AssetTrackOperationStatusInner get(
- String resourceGroupName, String accountName, String assetName, String trackName, String operationId);
+ Response getWithResponse(
+ String resourceGroupName,
+ String accountName,
+ String assetName,
+ String trackName,
+ String operationId,
+ Context context);
/**
* Get operation status.
@@ -41,18 +47,12 @@ AssetTrackOperationStatusInner get(
* @param assetName The Asset name.
* @param trackName The Asset Track name.
* @param operationId Operation Id.
- * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return asset track operation status along with {@link Response}.
+ * @return asset track operation status.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response getWithResponse(
- String resourceGroupName,
- String accountName,
- String assetName,
- String trackName,
- String operationId,
- Context context);
+ AssetTrackOperationStatusInner get(
+ String resourceGroupName, String accountName, String assetName, String trackName, String operationId);
}
diff --git a/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/fluent/OperationsClient.java b/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/fluent/OperationsClient.java
index 6afa1d17403b..4915495ed0b7 100644
--- a/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/fluent/OperationsClient.java
+++ b/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/fluent/OperationsClient.java
@@ -17,24 +17,24 @@ public interface OperationsClient {
*
* Lists all the Media Services operations.
*
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a collection of Operation items.
+ * @return a collection of Operation items along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- OperationCollectionInner list();
+ Response listWithResponse(Context context);
/**
* List Operations
*
* Lists all the Media Services operations.
*
- * @param context The context to associate with this operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a collection of Operation items along with {@link Response}.
+ * @return a collection of Operation items.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response listWithResponse(Context context);
+ OperationCollectionInner list();
}
diff --git a/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/fluent/PrivateEndpointConnectionsClient.java b/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/fluent/PrivateEndpointConnectionsClient.java
index a351f3db07ad..215c064d7cb9 100644
--- a/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/fluent/PrivateEndpointConnectionsClient.java
+++ b/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/fluent/PrivateEndpointConnectionsClient.java
@@ -20,13 +20,16 @@ public interface PrivateEndpointConnectionsClient {
*
* @param resourceGroupName The name of the resource group within the Azure subscription.
* @param accountName The Media Services account name.
+ * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return list of private endpoint connection associated with the specified storage account.
+ * @return list of private endpoint connection associated with the specified storage account along with {@link
+ * Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- PrivateEndpointConnectionListResultInner list(String resourceGroupName, String accountName);
+ Response listWithResponse(
+ String resourceGroupName, String accountName, Context context);
/**
* List private endpoint connections.
@@ -35,16 +38,13 @@ public interface PrivateEndpointConnectionsClient {
*
* @param resourceGroupName The name of the resource group within the Azure subscription.
* @param accountName The Media Services account name.
- * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return list of private endpoint connection associated with the specified storage account along with {@link
- * Response}.
+ * @return list of private endpoint connection associated with the specified storage account.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response listWithResponse(
- String resourceGroupName, String accountName, Context context);
+ PrivateEndpointConnectionListResultInner list(String resourceGroupName, String accountName);
/**
* Get private endpoint connection.
@@ -54,13 +54,15 @@ Response listWithResponse(
* @param resourceGroupName The name of the resource group within the Azure subscription.
* @param accountName The Media Services account name.
* @param name The name parameter.
+ * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the details of a private endpoint connection.
+ * @return the details of a private endpoint connection along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- PrivateEndpointConnectionInner get(String resourceGroupName, String accountName, String name);
+ Response getWithResponse(
+ String resourceGroupName, String accountName, String name, Context context);
/**
* Get private endpoint connection.
@@ -70,15 +72,13 @@ Response listWithResponse(
* @param resourceGroupName The name of the resource group within the Azure subscription.
* @param accountName The Media Services account name.
* @param name The name parameter.
- * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the details of a private endpoint connection along with {@link Response}.
+ * @return the details of a private endpoint connection.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response getWithResponse(
- String resourceGroupName, String accountName, String name, Context context);
+ PrivateEndpointConnectionInner get(String resourceGroupName, String accountName, String name);
/**
* Update a private endpoint connection.
@@ -89,14 +89,19 @@ Response getWithResponse(
* @param accountName The Media Services account name.
* @param name The name parameter.
* @param parameters The request parameters.
+ * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the Private Endpoint Connection resource.
+ * @return the Private Endpoint Connection resource along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- PrivateEndpointConnectionInner createOrUpdate(
- String resourceGroupName, String accountName, String name, PrivateEndpointConnectionInner parameters);
+ Response createOrUpdateWithResponse(
+ String resourceGroupName,
+ String accountName,
+ String name,
+ PrivateEndpointConnectionInner parameters,
+ Context context);
/**
* Update a private endpoint connection.
@@ -107,19 +112,14 @@ PrivateEndpointConnectionInner createOrUpdate(
* @param accountName The Media Services account name.
* @param name The name parameter.
* @param parameters The request parameters.
- * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the Private Endpoint Connection resource along with {@link Response}.
+ * @return the Private Endpoint Connection resource.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response createOrUpdateWithResponse(
- String resourceGroupName,
- String accountName,
- String name,
- PrivateEndpointConnectionInner parameters,
- Context context);
+ PrivateEndpointConnectionInner createOrUpdate(
+ String resourceGroupName, String accountName, String name, PrivateEndpointConnectionInner parameters);
/**
* Delete a private endpoint connection.
@@ -129,12 +129,14 @@ Response createOrUpdateWithResponse(
* @param resourceGroupName The name of the resource group within the Azure subscription.
* @param accountName The Media Services account name.
* @param name The name parameter.
+ * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- void delete(String resourceGroupName, String accountName, String name);
+ Response deleteWithResponse(String resourceGroupName, String accountName, String name, Context context);
/**
* Delete a private endpoint connection.
@@ -144,12 +146,10 @@ Response createOrUpdateWithResponse(
* @param resourceGroupName The name of the resource group within the Azure subscription.
* @param accountName The Media Services account name.
* @param name The name parameter.
- * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response deleteWithResponse(String resourceGroupName, String accountName, String name, Context context);
+ void delete(String resourceGroupName, String accountName, String name);
}
diff --git a/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/fluent/PrivateLinkResourcesClient.java b/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/fluent/PrivateLinkResourcesClient.java
index 1229eef90c37..e6408854d7b3 100644
--- a/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/fluent/PrivateLinkResourcesClient.java
+++ b/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/fluent/PrivateLinkResourcesClient.java
@@ -20,13 +20,15 @@ public interface PrivateLinkResourcesClient {
*
* @param resourceGroupName The name of the resource group within the Azure subscription.
* @param accountName The Media Services account name.
+ * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a list of private link resources.
+ * @return a list of private link resources along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- PrivateLinkResourceListResultInner list(String resourceGroupName, String accountName);
+ Response listWithResponse(
+ String resourceGroupName, String accountName, Context context);
/**
* Get list of group IDs.
@@ -35,15 +37,13 @@ public interface PrivateLinkResourcesClient {
*
* @param resourceGroupName The name of the resource group within the Azure subscription.
* @param accountName The Media Services account name.
- * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a list of private link resources along with {@link Response}.
+ * @return a list of private link resources.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response listWithResponse(
- String resourceGroupName, String accountName, Context context);
+ PrivateLinkResourceListResultInner list(String resourceGroupName, String accountName);
/**
* Get group ID.
@@ -53,13 +53,15 @@ Response listWithResponse(
* @param resourceGroupName The name of the resource group within the Azure subscription.
* @param accountName The Media Services account name.
* @param name The name parameter.
+ * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return details of a group ID.
+ * @return details of a group ID along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- PrivateLinkResourceInner get(String resourceGroupName, String accountName, String name);
+ Response getWithResponse(
+ String resourceGroupName, String accountName, String name, Context context);
/**
* Get group ID.
@@ -69,13 +71,11 @@ Response listWithResponse(
* @param resourceGroupName The name of the resource group within the Azure subscription.
* @param accountName The Media Services account name.
* @param name The name parameter.
- * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return details of a group ID along with {@link Response}.
+ * @return details of a group ID.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response getWithResponse(
- String resourceGroupName, String accountName, String name, Context context);
+ PrivateLinkResourceInner get(String resourceGroupName, String accountName, String name);
}
diff --git a/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/fluent/StreamingEndpointsClient.java b/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/fluent/StreamingEndpointsClient.java
index 1de41352d9a7..49c81e44e4c5 100644
--- a/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/fluent/StreamingEndpointsClient.java
+++ b/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/fluent/StreamingEndpointsClient.java
@@ -57,13 +57,15 @@ public interface StreamingEndpointsClient {
* @param resourceGroupName The name of the resource group within the Azure subscription.
* @param accountName The Media Services account name.
* @param streamingEndpointName The name of the streaming endpoint, maximum length is 24.
+ * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a streaming endpoint.
+ * @return a streaming endpoint along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- StreamingEndpointInner get(String resourceGroupName, String accountName, String streamingEndpointName);
+ Response getWithResponse(
+ String resourceGroupName, String accountName, String streamingEndpointName, Context context);
/**
* Get StreamingEndpoint
@@ -73,15 +75,13 @@ public interface StreamingEndpointsClient {
* @param resourceGroupName The name of the resource group within the Azure subscription.
* @param accountName The Media Services account name.
* @param streamingEndpointName The name of the streaming endpoint, maximum length is 24.
- * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a streaming endpoint along with {@link Response}.
+ * @return a streaming endpoint.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response getWithResponse(
- String resourceGroupName, String accountName, String streamingEndpointName, Context context);
+ StreamingEndpointInner get(String resourceGroupName, String accountName, String streamingEndpointName);
/**
* Create StreamingEndpoint
@@ -92,7 +92,6 @@ Response getWithResponse(
* @param accountName The Media Services account name.
* @param streamingEndpointName The name of the streaming endpoint, maximum length is 24.
* @param parameters Streaming endpoint properties needed for creation.
- * @param autoStart The flag indicates if the resource should be automatically started on creation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
@@ -100,11 +99,7 @@ Response getWithResponse(
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller, StreamingEndpointInner> beginCreate(
- String resourceGroupName,
- String accountName,
- String streamingEndpointName,
- StreamingEndpointInner parameters,
- Boolean autoStart);
+ String resourceGroupName, String accountName, String streamingEndpointName, StreamingEndpointInner parameters);
/**
* Create StreamingEndpoint
@@ -131,29 +126,6 @@ SyncPoller, StreamingEndpointInner> beginCrea
Boolean autoStart,
Context context);
- /**
- * Create StreamingEndpoint
- *
- * Creates a streaming endpoint.
- *
- * @param resourceGroupName The name of the resource group within the Azure subscription.
- * @param accountName The Media Services account name.
- * @param streamingEndpointName The name of the streaming endpoint, maximum length is 24.
- * @param parameters Streaming endpoint properties needed for creation.
- * @param autoStart The flag indicates if the resource should be automatically started on creation.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the streaming endpoint.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- StreamingEndpointInner create(
- String resourceGroupName,
- String accountName,
- String streamingEndpointName,
- StreamingEndpointInner parameters,
- Boolean autoStart);
-
/**
* Create StreamingEndpoint
*
@@ -353,14 +325,15 @@ SyncPoller, Void> beginDelete(
* @param resourceGroupName The name of the resource group within the Azure subscription.
* @param accountName The Media Services account name.
* @param streamingEndpointName The name of the streaming endpoint, maximum length is 24.
+ * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the response.
+ * @return the response body along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- StreamingEndpointSkuInfoListResultInner skus(
- String resourceGroupName, String accountName, String streamingEndpointName);
+ Response skusWithResponse(
+ String resourceGroupName, String accountName, String streamingEndpointName, Context context);
/**
* List StreamingEndpoint skus
@@ -370,15 +343,14 @@ StreamingEndpointSkuInfoListResultInner skus(
* @param resourceGroupName The name of the resource group within the Azure subscription.
* @param accountName The Media Services account name.
* @param streamingEndpointName The name of the streaming endpoint, maximum length is 24.
- * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the response body along with {@link Response}.
+ * @return the response.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response skusWithResponse(
- String resourceGroupName, String accountName, String streamingEndpointName, Context context);
+ StreamingEndpointSkuInfoListResultInner skus(
+ String resourceGroupName, String accountName, String streamingEndpointName);
/**
* Start StreamingEndpoint
@@ -606,13 +578,15 @@ void scale(
* @param resourceGroupName The name of the resource group within the Azure subscription.
* @param accountName The Media Services account name.
* @param operationId The ID of an ongoing async operation.
+ * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a streaming endpoint operation status.
+ * @return a streaming endpoint operation status along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- AsyncOperationResultInner asyncOperation(String resourceGroupName, String accountName, String operationId);
+ Response asyncOperationWithResponse(
+ String resourceGroupName, String accountName, String operationId, Context context);
/**
* Get operation status.
@@ -622,15 +596,13 @@ void scale(
* @param resourceGroupName The name of the resource group within the Azure subscription.
* @param accountName The Media Services account name.
* @param operationId The ID of an ongoing async operation.
- * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a streaming endpoint operation status along with {@link Response}.
+ * @return a streaming endpoint operation status.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response asyncOperationWithResponse(
- String resourceGroupName, String accountName, String operationId, Context context);
+ AsyncOperationResultInner asyncOperation(String resourceGroupName, String accountName, String operationId);
/**
* Get operation status.
@@ -641,14 +613,19 @@ Response asyncOperationWithResponse(
* @param accountName The Media Services account name.
* @param streamingEndpointName The name of the streaming endpoint, maximum length is 24.
* @param operationId The ID of an ongoing async operation.
+ * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a streaming endpoint operation status.
+ * @return a streaming endpoint operation status along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- StreamingEndpointInner operationLocation(
- String resourceGroupName, String accountName, String streamingEndpointName, String operationId);
+ Response operationLocationWithResponse(
+ String resourceGroupName,
+ String accountName,
+ String streamingEndpointName,
+ String operationId,
+ Context context);
/**
* Get operation status.
@@ -659,17 +636,12 @@ StreamingEndpointInner operationLocation(
* @param accountName The Media Services account name.
* @param streamingEndpointName The name of the streaming endpoint, maximum length is 24.
* @param operationId The ID of an ongoing async operation.
- * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a streaming endpoint operation status along with {@link Response}.
+ * @return a streaming endpoint operation status.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response operationLocationWithResponse(
- String resourceGroupName,
- String accountName,
- String streamingEndpointName,
- String operationId,
- Context context);
+ StreamingEndpointInner operationLocation(
+ String resourceGroupName, String accountName, String streamingEndpointName, String operationId);
}
diff --git a/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/fluent/StreamingLocatorsClient.java b/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/fluent/StreamingLocatorsClient.java
index 7f427fdb3c2f..eef8a8f40a11 100644
--- a/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/fluent/StreamingLocatorsClient.java
+++ b/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/fluent/StreamingLocatorsClient.java
@@ -51,22 +51,6 @@ public interface StreamingLocatorsClient {
PagedIterable list(
String resourceGroupName, String accountName, String filter, Integer top, String orderby, Context context);
- /**
- * Get a Streaming Locator
- *
- * Get the details of a Streaming Locator in the Media Services account.
- *
- * @param resourceGroupName The name of the resource group within the Azure subscription.
- * @param accountName The Media Services account name.
- * @param streamingLocatorName The Streaming Locator name.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the details of a Streaming Locator in the Media Services account.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- StreamingLocatorInner get(String resourceGroupName, String accountName, String streamingLocatorName);
-
/**
* Get a Streaming Locator
*
@@ -86,22 +70,20 @@ Response getWithResponse(
String resourceGroupName, String accountName, String streamingLocatorName, Context context);
/**
- * Create a Streaming Locator
+ * Get a Streaming Locator
*
- * Create a Streaming Locator in the Media Services account.
+ *
Get the details of a Streaming Locator in the Media Services account.
*
* @param resourceGroupName The name of the resource group within the Azure subscription.
* @param accountName The Media Services account name.
* @param streamingLocatorName The Streaming Locator name.
- * @param parameters The request parameters.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a Streaming Locator resource.
+ * @return the details of a Streaming Locator in the Media Services account.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- StreamingLocatorInner create(
- String resourceGroupName, String accountName, String streamingLocatorName, StreamingLocatorInner parameters);
+ StreamingLocatorInner get(String resourceGroupName, String accountName, String streamingLocatorName);
/**
* Create a Streaming Locator
@@ -127,19 +109,22 @@ Response createWithResponse(
Context context);
/**
- * Delete a Streaming Locator
+ * Create a Streaming Locator
*
- * Deletes a Streaming Locator in the Media Services account.
+ *
Create a Streaming Locator in the Media Services account.
*
* @param resourceGroupName The name of the resource group within the Azure subscription.
* @param accountName The Media Services account name.
* @param streamingLocatorName The Streaming Locator name.
+ * @param parameters The request parameters.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a Streaming Locator resource.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- void delete(String resourceGroupName, String accountName, String streamingLocatorName);
+ StreamingLocatorInner create(
+ String resourceGroupName, String accountName, String streamingLocatorName, StreamingLocatorInner parameters);
/**
* Delete a Streaming Locator
@@ -160,9 +145,9 @@ Response deleteWithResponse(
String resourceGroupName, String accountName, String streamingLocatorName, Context context);
/**
- * List Content Keys
+ * Delete a Streaming Locator
*
- * List Content Keys used by this Streaming Locator.
+ *
Deletes a Streaming Locator in the Media Services account.
*
* @param resourceGroupName The name of the resource group within the Azure subscription.
* @param accountName The Media Services account name.
@@ -170,11 +155,9 @@ Response deleteWithResponse(
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return class of response for listContentKeys action.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- ListContentKeysResponseInner listContentKeys(
- String resourceGroupName, String accountName, String streamingLocatorName);
+ void delete(String resourceGroupName, String accountName, String streamingLocatorName);
/**
* List Content Keys
@@ -195,9 +178,9 @@ Response listContentKeysWithResponse(
String resourceGroupName, String accountName, String streamingLocatorName, Context context);
/**
- * List Paths
+ * List Content Keys
*
- * List Paths supported by this Streaming Locator.
+ *
List Content Keys used by this Streaming Locator.
*
* @param resourceGroupName The name of the resource group within the Azure subscription.
* @param accountName The Media Services account name.
@@ -205,10 +188,11 @@ Response listContentKeysWithResponse(
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return class of response for listPaths action.
+ * @return class of response for listContentKeys action.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- ListPathsResponseInner listPaths(String resourceGroupName, String accountName, String streamingLocatorName);
+ ListContentKeysResponseInner listContentKeys(
+ String resourceGroupName, String accountName, String streamingLocatorName);
/**
* List Paths
@@ -227,4 +211,20 @@ Response listContentKeysWithResponse(
@ServiceMethod(returns = ReturnType.SINGLE)
Response listPathsWithResponse(
String resourceGroupName, String accountName, String streamingLocatorName, Context context);
+
+ /**
+ * List Paths
+ *
+ * List Paths supported by this Streaming Locator.
+ *
+ * @param resourceGroupName The name of the resource group within the Azure subscription.
+ * @param accountName The Media Services account name.
+ * @param streamingLocatorName The Streaming Locator name.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return class of response for listPaths action.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ ListPathsResponseInner listPaths(String resourceGroupName, String accountName, String streamingLocatorName);
}
diff --git a/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/fluent/StreamingPoliciesClient.java b/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/fluent/StreamingPoliciesClient.java
index 26253116c8f5..d41802545868 100644
--- a/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/fluent/StreamingPoliciesClient.java
+++ b/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/fluent/StreamingPoliciesClient.java
@@ -57,13 +57,15 @@ PagedIterable list(
* @param resourceGroupName The name of the resource group within the Azure subscription.
* @param accountName The Media Services account name.
* @param streamingPolicyName The Streaming Policy name.
+ * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the details of a Streaming Policy in the Media Services account.
+ * @return the details of a Streaming Policy in the Media Services account along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- StreamingPolicyInner get(String resourceGroupName, String accountName, String streamingPolicyName);
+ Response getWithResponse(
+ String resourceGroupName, String accountName, String streamingPolicyName, Context context);
/**
* Get a Streaming Policy
@@ -73,15 +75,13 @@ PagedIterable list(
* @param resourceGroupName The name of the resource group within the Azure subscription.
* @param accountName The Media Services account name.
* @param streamingPolicyName The Streaming Policy name.
- * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the details of a Streaming Policy in the Media Services account along with {@link Response}.
+ * @return the details of a Streaming Policy in the Media Services account.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response getWithResponse(
- String resourceGroupName, String accountName, String streamingPolicyName, Context context);
+ StreamingPolicyInner get(String resourceGroupName, String accountName, String streamingPolicyName);
/**
* Create a Streaming Policy
@@ -92,14 +92,19 @@ Response getWithResponse(
* @param accountName The Media Services account name.
* @param streamingPolicyName The Streaming Policy name.
* @param parameters The request parameters.
+ * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a Streaming Policy resource.
+ * @return a Streaming Policy resource along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- StreamingPolicyInner create(
- String resourceGroupName, String accountName, String streamingPolicyName, StreamingPolicyInner parameters);
+ Response createWithResponse(
+ String resourceGroupName,
+ String accountName,
+ String streamingPolicyName,
+ StreamingPolicyInner parameters,
+ Context context);
/**
* Create a Streaming Policy
@@ -110,19 +115,14 @@ StreamingPolicyInner create(
* @param accountName The Media Services account name.
* @param streamingPolicyName The Streaming Policy name.
* @param parameters The request parameters.
- * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a Streaming Policy resource along with {@link Response}.
+ * @return a Streaming Policy resource.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response createWithResponse(
- String resourceGroupName,
- String accountName,
- String streamingPolicyName,
- StreamingPolicyInner parameters,
- Context context);
+ StreamingPolicyInner create(
+ String resourceGroupName, String accountName, String streamingPolicyName, StreamingPolicyInner parameters);
/**
* Delete a Streaming Policy
@@ -132,12 +132,15 @@ Response createWithResponse(
* @param resourceGroupName The name of the resource group within the Azure subscription.
* @param accountName The Media Services account name.
* @param streamingPolicyName The Streaming Policy name.
+ * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- void delete(String resourceGroupName, String accountName, String streamingPolicyName);
+ Response deleteWithResponse(
+ String resourceGroupName, String accountName, String streamingPolicyName, Context context);
/**
* Delete a Streaming Policy
@@ -147,13 +150,10 @@ Response createWithResponse(
* @param resourceGroupName The name of the resource group within the Azure subscription.
* @param accountName The Media Services account name.
* @param streamingPolicyName The Streaming Policy name.
- * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response deleteWithResponse(
- String resourceGroupName, String accountName, String streamingPolicyName, Context context);
+ void delete(String resourceGroupName, String accountName, String streamingPolicyName);
}
diff --git a/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/fluent/TracksClient.java b/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/fluent/TracksClient.java
index 0c7fead19204..5b3804c5c9c2 100644
--- a/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/fluent/TracksClient.java
+++ b/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/fluent/TracksClient.java
@@ -58,13 +58,15 @@ PagedIterable list(
* @param accountName The Media Services account name.
* @param assetName The Asset name.
* @param trackName The Asset Track name.
+ * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the details of a Track in the Asset.
+ * @return the details of a Track in the Asset along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- AssetTrackInner get(String resourceGroupName, String accountName, String assetName, String trackName);
+ Response getWithResponse(
+ String resourceGroupName, String accountName, String assetName, String trackName, Context context);
/**
* Get a Track
@@ -75,15 +77,13 @@ PagedIterable list(
* @param accountName The Media Services account name.
* @param assetName The Asset name.
* @param trackName The Asset Track name.
- * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the details of a Track in the Asset along with {@link Response}.
+ * @return the details of a Track in the Asset.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response getWithResponse(
- String resourceGroupName, String accountName, String assetName, String trackName, Context context);
+ AssetTrackInner get(String resourceGroupName, String accountName, String assetName, String trackName);
/**
* Create or update a Track
diff --git a/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/fluent/TransformsClient.java b/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/fluent/TransformsClient.java
index 8b850c20d3e8..53ac450e1d1c 100644
--- a/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/fluent/TransformsClient.java
+++ b/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/fluent/TransformsClient.java
@@ -55,13 +55,15 @@ PagedIterable list(
* @param resourceGroupName The name of the resource group within the Azure subscription.
* @param accountName The Media Services account name.
* @param transformName The Transform name.
+ * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a Transform.
+ * @return a Transform along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- TransformInner get(String resourceGroupName, String accountName, String transformName);
+ Response getWithResponse(
+ String resourceGroupName, String accountName, String transformName, Context context);
/**
* Get Transform
@@ -71,15 +73,13 @@ PagedIterable list(
* @param resourceGroupName The name of the resource group within the Azure subscription.
* @param accountName The Media Services account name.
* @param transformName The Transform name.
- * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a Transform along with {@link Response}.
+ * @return a Transform.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response getWithResponse(
- String resourceGroupName, String accountName, String transformName, Context context);
+ TransformInner get(String resourceGroupName, String accountName, String transformName);
/**
* Create or Update Transform
@@ -90,15 +90,16 @@ Response getWithResponse(
* @param accountName The Media Services account name.
* @param transformName The Transform name.
* @param parameters The request parameters.
+ * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return a Transform encapsulates the rules or instructions for generating desired outputs from input media, such
- * as by transcoding or by extracting insights.
+ * as by transcoding or by extracting insights along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- TransformInner createOrUpdate(
- String resourceGroupName, String accountName, String transformName, TransformInner parameters);
+ Response createOrUpdateWithResponse(
+ String resourceGroupName, String accountName, String transformName, TransformInner parameters, Context context);
/**
* Create or Update Transform
@@ -109,16 +110,15 @@ TransformInner createOrUpdate(
* @param accountName The Media Services account name.
* @param transformName The Transform name.
* @param parameters The request parameters.
- * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return a Transform encapsulates the rules or instructions for generating desired outputs from input media, such
- * as by transcoding or by extracting insights along with {@link Response}.
+ * as by transcoding or by extracting insights.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response createOrUpdateWithResponse(
- String resourceGroupName, String accountName, String transformName, TransformInner parameters, Context context);
+ TransformInner createOrUpdate(
+ String resourceGroupName, String accountName, String transformName, TransformInner parameters);
/**
* Delete Transform
@@ -128,12 +128,15 @@ Response createOrUpdateWithResponse(
* @param resourceGroupName The name of the resource group within the Azure subscription.
* @param accountName The Media Services account name.
* @param transformName The Transform name.
+ * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- void delete(String resourceGroupName, String accountName, String transformName);
+ Response deleteWithResponse(
+ String resourceGroupName, String accountName, String transformName, Context context);
/**
* Delete Transform
@@ -143,15 +146,12 @@ Response createOrUpdateWithResponse(
* @param resourceGroupName The name of the resource group within the Azure subscription.
* @param accountName The Media Services account name.
* @param transformName The Transform name.
- * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response deleteWithResponse(
- String resourceGroupName, String accountName, String transformName, Context context);
+ void delete(String resourceGroupName, String accountName, String transformName);
/**
* Update Transform
@@ -162,15 +162,16 @@ Response deleteWithResponse(
* @param accountName The Media Services account name.
* @param transformName The Transform name.
* @param parameters The request parameters.
+ * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return a Transform encapsulates the rules or instructions for generating desired outputs from input media, such
- * as by transcoding or by extracting insights.
+ * as by transcoding or by extracting insights along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- TransformInner update(
- String resourceGroupName, String accountName, String transformName, TransformInner parameters);
+ Response updateWithResponse(
+ String resourceGroupName, String accountName, String transformName, TransformInner parameters, Context context);
/**
* Update Transform
@@ -181,14 +182,13 @@ TransformInner update(
* @param accountName The Media Services account name.
* @param transformName The Transform name.
* @param parameters The request parameters.
- * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return a Transform encapsulates the rules or instructions for generating desired outputs from input media, such
- * as by transcoding or by extracting insights along with {@link Response}.
+ * as by transcoding or by extracting insights.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response updateWithResponse(
- String resourceGroupName, String accountName, String transformName, TransformInner parameters, Context context);
+ TransformInner update(
+ String resourceGroupName, String accountName, String transformName, TransformInner parameters);
}
diff --git a/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/fluent/models/AccountFilterInner.java b/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/fluent/models/AccountFilterInner.java
index fb29b76fa382..01092ac158f3 100644
--- a/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/fluent/models/AccountFilterInner.java
+++ b/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/fluent/models/AccountFilterInner.java
@@ -28,6 +28,10 @@ public final class AccountFilterInner extends ProxyResource {
@JsonProperty(value = "systemData", access = JsonProperty.Access.WRITE_ONLY)
private SystemData systemData;
+ /** Creates an instance of AccountFilterInner class. */
+ public AccountFilterInner() {
+ }
+
/**
* Get the innerProperties property: The Media Filter properties.
*
diff --git a/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/fluent/models/AssetContainerSasInner.java b/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/fluent/models/AssetContainerSasInner.java
index 04bb80a57012..a8505a2a9b40 100644
--- a/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/fluent/models/AssetContainerSasInner.java
+++ b/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/fluent/models/AssetContainerSasInner.java
@@ -17,6 +17,10 @@ public final class AssetContainerSasInner {
@JsonProperty(value = "assetContainerSasUrls")
private List assetContainerSasUrls;
+ /** Creates an instance of AssetContainerSasInner class. */
+ public AssetContainerSasInner() {
+ }
+
/**
* Get the assetContainerSasUrls property: The list of Asset container SAS URLs.
*
diff --git a/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/fluent/models/AssetFilterInner.java b/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/fluent/models/AssetFilterInner.java
index 1367005f089e..a34ee5e8f8cd 100644
--- a/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/fluent/models/AssetFilterInner.java
+++ b/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/fluent/models/AssetFilterInner.java
@@ -28,6 +28,10 @@ public final class AssetFilterInner extends ProxyResource {
@JsonProperty(value = "systemData", access = JsonProperty.Access.WRITE_ONLY)
private SystemData systemData;
+ /** Creates an instance of AssetFilterInner class. */
+ public AssetFilterInner() {
+ }
+
/**
* Get the innerProperties property: The Media Filter properties.
*
diff --git a/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/fluent/models/AssetInner.java b/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/fluent/models/AssetInner.java
index b3d9e4f54bd1..d99e84e0ce36 100644
--- a/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/fluent/models/AssetInner.java
+++ b/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/fluent/models/AssetInner.java
@@ -27,6 +27,10 @@ public final class AssetInner extends ProxyResource {
@JsonProperty(value = "systemData", access = JsonProperty.Access.WRITE_ONLY)
private SystemData systemData;
+ /** Creates an instance of AssetInner class. */
+ public AssetInner() {
+ }
+
/**
* Get the innerProperties property: The resource properties.
*
diff --git a/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/fluent/models/AssetProperties.java b/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/fluent/models/AssetProperties.java
index 184b32936cf9..28bf1982a72f 100644
--- a/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/fluent/models/AssetProperties.java
+++ b/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/fluent/models/AssetProperties.java
@@ -61,6 +61,10 @@ public final class AssetProperties {
@JsonProperty(value = "storageEncryptionFormat", access = JsonProperty.Access.WRITE_ONLY)
private AssetStorageEncryptionFormat storageEncryptionFormat;
+ /** Creates an instance of AssetProperties class. */
+ public AssetProperties() {
+ }
+
/**
* Get the assetId property: The Asset ID.
*
diff --git a/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/fluent/models/AssetTrackInner.java b/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/fluent/models/AssetTrackInner.java
index ab5d3464f0cc..897cd1ba01dc 100644
--- a/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/fluent/models/AssetTrackInner.java
+++ b/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/fluent/models/AssetTrackInner.java
@@ -19,6 +19,10 @@ public final class AssetTrackInner extends ProxyResource {
@JsonProperty(value = "properties")
private AssetTrackProperties innerProperties;
+ /** Creates an instance of AssetTrackInner class. */
+ public AssetTrackInner() {
+ }
+
/**
* Get the innerProperties property: The resource properties.
*
diff --git a/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/fluent/models/AssetTrackOperationStatusInner.java b/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/fluent/models/AssetTrackOperationStatusInner.java
index 012714e3856b..be802800a060 100644
--- a/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/fluent/models/AssetTrackOperationStatusInner.java
+++ b/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/fluent/models/AssetTrackOperationStatusInner.java
@@ -49,6 +49,10 @@ public final class AssetTrackOperationStatusInner {
@JsonProperty(value = "error")
private ManagementError error;
+ /** Creates an instance of AssetTrackOperationStatusInner class. */
+ public AssetTrackOperationStatusInner() {
+ }
+
/**
* Get the name property: Operation identifier.
*
diff --git a/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/fluent/models/AssetTrackProperties.java b/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/fluent/models/AssetTrackProperties.java
index 9269a1e5dcb2..19f73e5eca66 100644
--- a/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/fluent/models/AssetTrackProperties.java
+++ b/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/fluent/models/AssetTrackProperties.java
@@ -24,6 +24,10 @@ public final class AssetTrackProperties {
@JsonProperty(value = "provisioningState", access = JsonProperty.Access.WRITE_ONLY)
private ProvisioningState provisioningState;
+ /** Creates an instance of AssetTrackProperties class. */
+ public AssetTrackProperties() {
+ }
+
/**
* Get the track property: Detailed information about a track in the asset.
*
diff --git a/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/fluent/models/AsyncOperationResultInner.java b/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/fluent/models/AsyncOperationResultInner.java
index 444bd5ac9db4..b85e79bc6f62 100644
--- a/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/fluent/models/AsyncOperationResultInner.java
+++ b/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/fluent/models/AsyncOperationResultInner.java
@@ -30,6 +30,10 @@ public final class AsyncOperationResultInner {
@JsonProperty(value = "status")
private AsyncOperationStatus status;
+ /** Creates an instance of AsyncOperationResultInner class. */
+ public AsyncOperationResultInner() {
+ }
+
/**
* Get the error property: The error object.
*
diff --git a/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/fluent/models/ContentKeyPolicyInner.java b/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/fluent/models/ContentKeyPolicyInner.java
index b960bc6ad9f9..0a639b0bdf1b 100644
--- a/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/fluent/models/ContentKeyPolicyInner.java
+++ b/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/fluent/models/ContentKeyPolicyInner.java
@@ -28,6 +28,10 @@ public final class ContentKeyPolicyInner extends ProxyResource {
@JsonProperty(value = "systemData", access = JsonProperty.Access.WRITE_ONLY)
private SystemData systemData;
+ /** Creates an instance of ContentKeyPolicyInner class. */
+ public ContentKeyPolicyInner() {
+ }
+
/**
* Get the innerProperties property: The properties of the Content Key Policy.
*
diff --git a/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/fluent/models/ContentKeyPolicyPropertiesInner.java b/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/fluent/models/ContentKeyPolicyPropertiesInner.java
index 0159e22f2288..84417a46eccd 100644
--- a/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/fluent/models/ContentKeyPolicyPropertiesInner.java
+++ b/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/fluent/models/ContentKeyPolicyPropertiesInner.java
@@ -45,6 +45,10 @@ public final class ContentKeyPolicyPropertiesInner {
@JsonProperty(value = "options", required = true)
private List options;
+ /** Creates an instance of ContentKeyPolicyPropertiesInner class. */
+ public ContentKeyPolicyPropertiesInner() {
+ }
+
/**
* Get the policyId property: The legacy Policy ID.
*
diff --git a/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/fluent/models/EdgePoliciesInner.java b/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/fluent/models/EdgePoliciesInner.java
index d6fcdfdd4496..d2e2b10b7225 100644
--- a/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/fluent/models/EdgePoliciesInner.java
+++ b/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/fluent/models/EdgePoliciesInner.java
@@ -17,6 +17,10 @@ public final class EdgePoliciesInner {
@JsonProperty(value = "usageDataCollectionPolicy")
private EdgeUsageDataCollectionPolicy usageDataCollectionPolicy;
+ /** Creates an instance of EdgePoliciesInner class. */
+ public EdgePoliciesInner() {
+ }
+
/**
* Get the usageDataCollectionPolicy property: The usageDataCollectionPolicy property.
*
diff --git a/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/fluent/models/EntityNameAvailabilityCheckOutputInner.java b/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/fluent/models/EntityNameAvailabilityCheckOutputInner.java
index 9b2bc23a424d..8e043b23259c 100644
--- a/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/fluent/models/EntityNameAvailabilityCheckOutputInner.java
+++ b/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/fluent/models/EntityNameAvailabilityCheckOutputInner.java
@@ -28,6 +28,10 @@ public final class EntityNameAvailabilityCheckOutputInner {
@JsonProperty(value = "message")
private String message;
+ /** Creates an instance of EntityNameAvailabilityCheckOutputInner class. */
+ public EntityNameAvailabilityCheckOutputInner() {
+ }
+
/**
* Get the nameAvailable property: Specifies if the name is available.
*
diff --git a/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/fluent/models/JobInner.java b/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/fluent/models/JobInner.java
index 4735597a2e8a..76b099d9f6fc 100644
--- a/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/fluent/models/JobInner.java
+++ b/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/fluent/models/JobInner.java
@@ -34,6 +34,10 @@ public final class JobInner extends ProxyResource {
@JsonProperty(value = "systemData", access = JsonProperty.Access.WRITE_ONLY)
private SystemData systemData;
+ /** Creates an instance of JobInner class. */
+ public JobInner() {
+ }
+
/**
* Get the innerProperties property: The resource properties.
*
diff --git a/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/fluent/models/JobProperties.java b/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/fluent/models/JobProperties.java
index 250a6ac656da..f0ab9ecf309e 100644
--- a/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/fluent/models/JobProperties.java
+++ b/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/fluent/models/JobProperties.java
@@ -81,6 +81,10 @@ public final class JobProperties {
@JsonProperty(value = "endTime", access = JsonProperty.Access.WRITE_ONLY)
private OffsetDateTime endTime;
+ /** Creates an instance of JobProperties class. */
+ public JobProperties() {
+ }
+
/**
* Get the created property: The UTC date and time when the customer has created the Job, in 'YYYY-MM-DDThh:mm:ssZ'
* format.
diff --git a/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/fluent/models/ListContentKeysResponseInner.java b/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/fluent/models/ListContentKeysResponseInner.java
index def2efb17c89..1ba9b1c99771 100644
--- a/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/fluent/models/ListContentKeysResponseInner.java
+++ b/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/fluent/models/ListContentKeysResponseInner.java
@@ -18,6 +18,10 @@ public final class ListContentKeysResponseInner {
@JsonProperty(value = "contentKeys")
private List contentKeys;
+ /** Creates an instance of ListContentKeysResponseInner class. */
+ public ListContentKeysResponseInner() {
+ }
+
/**
* Get the contentKeys property: ContentKeys used by current Streaming Locator.
*
diff --git a/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/fluent/models/ListPathsResponseInner.java b/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/fluent/models/ListPathsResponseInner.java
index 7900c7d49857..681afc547ed9 100644
--- a/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/fluent/models/ListPathsResponseInner.java
+++ b/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/fluent/models/ListPathsResponseInner.java
@@ -24,6 +24,10 @@ public final class ListPathsResponseInner {
@JsonProperty(value = "downloadPaths")
private List downloadPaths;
+ /** Creates an instance of ListPathsResponseInner class. */
+ public ListPathsResponseInner() {
+ }
+
/**
* Get the streamingPaths property: Streaming Paths supported by current Streaming Locator.
*
diff --git a/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/fluent/models/ListStreamingLocatorsResponseInner.java b/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/fluent/models/ListStreamingLocatorsResponseInner.java
index 672972f27683..338292ffa60a 100644
--- a/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/fluent/models/ListStreamingLocatorsResponseInner.java
+++ b/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/fluent/models/ListStreamingLocatorsResponseInner.java
@@ -18,6 +18,10 @@ public final class ListStreamingLocatorsResponseInner {
@JsonProperty(value = "streamingLocators", access = JsonProperty.Access.WRITE_ONLY)
private List streamingLocators;
+ /** Creates an instance of ListStreamingLocatorsResponseInner class. */
+ public ListStreamingLocatorsResponseInner() {
+ }
+
/**
* Get the streamingLocators property: The list of Streaming Locators.
*
diff --git a/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/fluent/models/LiveEventInner.java b/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/fluent/models/LiveEventInner.java
index 767268a01a03..4b1d58f7cde4 100644
--- a/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/fluent/models/LiveEventInner.java
+++ b/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/fluent/models/LiveEventInner.java
@@ -34,6 +34,10 @@ public final class LiveEventInner extends Resource {
@JsonProperty(value = "systemData", access = JsonProperty.Access.WRITE_ONLY)
private SystemData systemData;
+ /** Creates an instance of LiveEventInner class. */
+ public LiveEventInner() {
+ }
+
/**
* Get the innerProperties property: The live event properties.
*
diff --git a/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/fluent/models/LiveEventProperties.java b/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/fluent/models/LiveEventProperties.java
index 83cae0d56801..fcccbbeb1c10 100644
--- a/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/fluent/models/LiveEventProperties.java
+++ b/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/fluent/models/LiveEventProperties.java
@@ -105,6 +105,10 @@ public final class LiveEventProperties {
@JsonProperty(value = "lastModified", access = JsonProperty.Access.WRITE_ONLY)
private OffsetDateTime lastModified;
+ /** Creates an instance of LiveEventProperties class. */
+ public LiveEventProperties() {
+ }
+
/**
* Get the description property: A description for the live event.
*
diff --git a/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/fluent/models/LiveOutputInner.java b/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/fluent/models/LiveOutputInner.java
index f3247a69ba71..420acd0d4706 100644
--- a/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/fluent/models/LiveOutputInner.java
+++ b/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/fluent/models/LiveOutputInner.java
@@ -28,6 +28,10 @@ public final class LiveOutputInner extends ProxyResource {
@JsonProperty(value = "systemData", access = JsonProperty.Access.WRITE_ONLY)
private SystemData systemData;
+ /** Creates an instance of LiveOutputInner class. */
+ public LiveOutputInner() {
+ }
+
/**
* Get the innerProperties property: Live output properties.
*
diff --git a/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/fluent/models/LiveOutputProperties.java b/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/fluent/models/LiveOutputProperties.java
index 29fb1f6e455d..2b493f01c909 100644
--- a/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/fluent/models/LiveOutputProperties.java
+++ b/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/fluent/models/LiveOutputProperties.java
@@ -86,6 +86,10 @@ public final class LiveOutputProperties {
@JsonProperty(value = "resourceState", access = JsonProperty.Access.WRITE_ONLY)
private LiveOutputResourceState resourceState;
+ /** Creates an instance of LiveOutputProperties class. */
+ public LiveOutputProperties() {
+ }
+
/**
* Get the description property: The description of the live output.
*
diff --git a/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/fluent/models/MediaFilterProperties.java b/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/fluent/models/MediaFilterProperties.java
index 83d3ac32eb5d..17cc3da3af96 100644
--- a/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/fluent/models/MediaFilterProperties.java
+++ b/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/fluent/models/MediaFilterProperties.java
@@ -32,6 +32,10 @@ public final class MediaFilterProperties {
@JsonProperty(value = "tracks")
private List tracks;
+ /** Creates an instance of MediaFilterProperties class. */
+ public MediaFilterProperties() {
+ }
+
/**
* Get the presentationTimeRange property: The presentation time range.
*
diff --git a/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/fluent/models/MediaServiceInner.java b/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/fluent/models/MediaServiceInner.java
index bdcdcb4e5788..f7e05b07a90c 100644
--- a/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/fluent/models/MediaServiceInner.java
+++ b/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/fluent/models/MediaServiceInner.java
@@ -40,6 +40,10 @@ public final class MediaServiceInner extends Resource {
@JsonProperty(value = "identity")
private MediaServiceIdentity identity;
+ /** Creates an instance of MediaServiceInner class. */
+ public MediaServiceInner() {
+ }
+
/**
* Get the innerProperties property: The resource properties.
*
diff --git a/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/fluent/models/MediaServiceOperationStatusInner.java b/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/fluent/models/MediaServiceOperationStatusInner.java
index 5b72ed4f13f1..254bb719326b 100644
--- a/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/fluent/models/MediaServiceOperationStatusInner.java
+++ b/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/fluent/models/MediaServiceOperationStatusInner.java
@@ -49,6 +49,10 @@ public final class MediaServiceOperationStatusInner {
@JsonProperty(value = "error")
private ManagementError error;
+ /** Creates an instance of MediaServiceOperationStatusInner class. */
+ public MediaServiceOperationStatusInner() {
+ }
+
/**
* Get the name property: Operation identifier.
*
diff --git a/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/fluent/models/MediaServiceProperties.java b/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/fluent/models/MediaServiceProperties.java
index 2ef1846a4597..d9038a8ac7f7 100644
--- a/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/fluent/models/MediaServiceProperties.java
+++ b/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/fluent/models/MediaServiceProperties.java
@@ -66,6 +66,10 @@ public final class MediaServiceProperties {
@JsonProperty(value = "privateEndpointConnections", access = JsonProperty.Access.WRITE_ONLY)
private List privateEndpointConnections;
+ /** Creates an instance of MediaServiceProperties class. */
+ public MediaServiceProperties() {
+ }
+
/**
* Get the mediaServiceId property: The Media Services account ID.
*
diff --git a/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/fluent/models/OperationCollectionInner.java b/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/fluent/models/OperationCollectionInner.java
index fe7b987cb9c8..01e7c3a112f9 100644
--- a/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/fluent/models/OperationCollectionInner.java
+++ b/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/fluent/models/OperationCollectionInner.java
@@ -18,6 +18,10 @@ public final class OperationCollectionInner {
@JsonProperty(value = "value")
private List value;
+ /** Creates an instance of OperationCollectionInner class. */
+ public OperationCollectionInner() {
+ }
+
/**
* Get the value property: A collection of Operation items.
*
diff --git a/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/fluent/models/PrivateEndpointConnectionInner.java b/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/fluent/models/PrivateEndpointConnectionInner.java
index 35ab44fe7986..c79b495aefbf 100644
--- a/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/fluent/models/PrivateEndpointConnectionInner.java
+++ b/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/fluent/models/PrivateEndpointConnectionInner.java
@@ -20,6 +20,10 @@ public final class PrivateEndpointConnectionInner extends ProxyResource {
@JsonProperty(value = "properties")
private PrivateEndpointConnectionProperties innerProperties;
+ /** Creates an instance of PrivateEndpointConnectionInner class. */
+ public PrivateEndpointConnectionInner() {
+ }
+
/**
* Get the innerProperties property: Resource properties.
*
diff --git a/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/fluent/models/PrivateEndpointConnectionListResultInner.java b/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/fluent/models/PrivateEndpointConnectionListResultInner.java
index fe1e69f02805..b9fd1fad93a2 100644
--- a/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/fluent/models/PrivateEndpointConnectionListResultInner.java
+++ b/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/fluent/models/PrivateEndpointConnectionListResultInner.java
@@ -17,6 +17,10 @@ public final class PrivateEndpointConnectionListResultInner {
@JsonProperty(value = "value")
private List value;
+ /** Creates an instance of PrivateEndpointConnectionListResultInner class. */
+ public PrivateEndpointConnectionListResultInner() {
+ }
+
/**
* Get the value property: Array of private endpoint connections.
*
diff --git a/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/fluent/models/PrivateEndpointConnectionProperties.java b/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/fluent/models/PrivateEndpointConnectionProperties.java
index 416902d7e3b6..3e8f3a2ac514 100644
--- a/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/fluent/models/PrivateEndpointConnectionProperties.java
+++ b/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/fluent/models/PrivateEndpointConnectionProperties.java
@@ -32,6 +32,10 @@ public final class PrivateEndpointConnectionProperties {
@JsonProperty(value = "provisioningState", access = JsonProperty.Access.WRITE_ONLY)
private PrivateEndpointConnectionProvisioningState provisioningState;
+ /** Creates an instance of PrivateEndpointConnectionProperties class. */
+ public PrivateEndpointConnectionProperties() {
+ }
+
/**
* Get the privateEndpoint property: The resource of private end point.
*
diff --git a/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/fluent/models/PrivateLinkResourceInner.java b/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/fluent/models/PrivateLinkResourceInner.java
index 3932d5be8bbb..9b57e2120562 100644
--- a/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/fluent/models/PrivateLinkResourceInner.java
+++ b/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/fluent/models/PrivateLinkResourceInner.java
@@ -18,6 +18,10 @@ public final class PrivateLinkResourceInner extends ProxyResource {
@JsonProperty(value = "properties")
private PrivateLinkResourceProperties innerProperties;
+ /** Creates an instance of PrivateLinkResourceInner class. */
+ public PrivateLinkResourceInner() {
+ }
+
/**
* Get the innerProperties property: Resource properties.
*
diff --git a/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/fluent/models/PrivateLinkResourceListResultInner.java b/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/fluent/models/PrivateLinkResourceListResultInner.java
index 1ac116cabe5d..48993a567962 100644
--- a/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/fluent/models/PrivateLinkResourceListResultInner.java
+++ b/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/fluent/models/PrivateLinkResourceListResultInner.java
@@ -17,6 +17,10 @@ public final class PrivateLinkResourceListResultInner {
@JsonProperty(value = "value")
private List value;
+ /** Creates an instance of PrivateLinkResourceListResultInner class. */
+ public PrivateLinkResourceListResultInner() {
+ }
+
/**
* Get the value property: Array of private link resources.
*
diff --git a/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/fluent/models/PrivateLinkResourceProperties.java b/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/fluent/models/PrivateLinkResourceProperties.java
index 81e689a95a31..e82abe02c94c 100644
--- a/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/fluent/models/PrivateLinkResourceProperties.java
+++ b/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/fluent/models/PrivateLinkResourceProperties.java
@@ -29,6 +29,10 @@ public final class PrivateLinkResourceProperties {
@JsonProperty(value = "requiredZoneNames")
private List requiredZoneNames;
+ /** Creates an instance of PrivateLinkResourceProperties class. */
+ public PrivateLinkResourceProperties() {
+ }
+
/**
* Get the groupId property: The private link resource group id.
*
diff --git a/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/fluent/models/StorageEncryptedAssetDecryptionDataInner.java b/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/fluent/models/StorageEncryptedAssetDecryptionDataInner.java
index f0ec05ab9b7e..4846e758a4fc 100644
--- a/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/fluent/models/StorageEncryptedAssetDecryptionDataInner.java
+++ b/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/fluent/models/StorageEncryptedAssetDecryptionDataInner.java
@@ -25,6 +25,10 @@ public final class StorageEncryptedAssetDecryptionDataInner {
@JsonProperty(value = "assetFileEncryptionMetadata")
private List assetFileEncryptionMetadata;
+ /** Creates an instance of StorageEncryptedAssetDecryptionDataInner class. */
+ public StorageEncryptedAssetDecryptionDataInner() {
+ }
+
/**
* Get the key property: The Asset File storage encryption key.
*
diff --git a/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/fluent/models/StreamingEndpointInner.java b/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/fluent/models/StreamingEndpointInner.java
index d7ecb7850f0b..382be9360b13 100644
--- a/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/fluent/models/StreamingEndpointInner.java
+++ b/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/fluent/models/StreamingEndpointInner.java
@@ -37,6 +37,10 @@ public final class StreamingEndpointInner extends Resource {
@JsonProperty(value = "sku")
private ArmStreamingEndpointCurrentSku sku;
+ /** Creates an instance of StreamingEndpointInner class. */
+ public StreamingEndpointInner() {
+ }
+
/**
* Get the innerProperties property: The streaming endpoint properties.
*
diff --git a/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/fluent/models/StreamingEndpointProperties.java b/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/fluent/models/StreamingEndpointProperties.java
index 385f704a4902..875259c12204 100644
--- a/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/fluent/models/StreamingEndpointProperties.java
+++ b/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/fluent/models/StreamingEndpointProperties.java
@@ -111,6 +111,10 @@ public final class StreamingEndpointProperties {
@JsonProperty(value = "lastModified", access = JsonProperty.Access.WRITE_ONLY)
private OffsetDateTime lastModified;
+ /** Creates an instance of StreamingEndpointProperties class. */
+ public StreamingEndpointProperties() {
+ }
+
/**
* Get the description property: The streaming endpoint description.
*
diff --git a/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/fluent/models/StreamingEndpointSkuInfoListResultInner.java b/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/fluent/models/StreamingEndpointSkuInfoListResultInner.java
index 6e51cb3165e0..1394ce5bad1b 100644
--- a/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/fluent/models/StreamingEndpointSkuInfoListResultInner.java
+++ b/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/fluent/models/StreamingEndpointSkuInfoListResultInner.java
@@ -18,6 +18,10 @@ public final class StreamingEndpointSkuInfoListResultInner {
@JsonProperty(value = "value")
private List value;
+ /** Creates an instance of StreamingEndpointSkuInfoListResultInner class. */
+ public StreamingEndpointSkuInfoListResultInner() {
+ }
+
/**
* Get the value property: The result of the List StreamingEndpoint skus.
*
diff --git a/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/fluent/models/StreamingLocatorInner.java b/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/fluent/models/StreamingLocatorInner.java
index 128984457a34..0406649f9dbe 100644
--- a/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/fluent/models/StreamingLocatorInner.java
+++ b/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/fluent/models/StreamingLocatorInner.java
@@ -28,6 +28,10 @@ public final class StreamingLocatorInner extends ProxyResource {
@JsonProperty(value = "systemData", access = JsonProperty.Access.WRITE_ONLY)
private SystemData systemData;
+ /** Creates an instance of StreamingLocatorInner class. */
+ public StreamingLocatorInner() {
+ }
+
/**
* Get the innerProperties property: Properties of the Streaming Locator.
*
diff --git a/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/fluent/models/StreamingLocatorProperties.java b/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/fluent/models/StreamingLocatorProperties.java
index a6d1198b3da5..e9d5ffb7708b 100644
--- a/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/fluent/models/StreamingLocatorProperties.java
+++ b/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/fluent/models/StreamingLocatorProperties.java
@@ -78,6 +78,10 @@ public final class StreamingLocatorProperties {
@JsonProperty(value = "filters")
private List filters;
+ /** Creates an instance of StreamingLocatorProperties class. */
+ public StreamingLocatorProperties() {
+ }
+
/**
* Get the assetName property: Asset Name.
*
diff --git a/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/fluent/models/StreamingPolicyInner.java b/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/fluent/models/StreamingPolicyInner.java
index 27a2bb793765..4e1025346e27 100644
--- a/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/fluent/models/StreamingPolicyInner.java
+++ b/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/fluent/models/StreamingPolicyInner.java
@@ -29,6 +29,10 @@ public final class StreamingPolicyInner extends ProxyResource {
@JsonProperty(value = "systemData", access = JsonProperty.Access.WRITE_ONLY)
private SystemData systemData;
+ /** Creates an instance of StreamingPolicyInner class. */
+ public StreamingPolicyInner() {
+ }
+
/**
* Get the innerProperties property: Class to specify properties of Streaming Policy.
*
diff --git a/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/fluent/models/StreamingPolicyProperties.java b/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/fluent/models/StreamingPolicyProperties.java
index 0b80f01df76a..bf7863b7167c 100644
--- a/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/fluent/models/StreamingPolicyProperties.java
+++ b/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/fluent/models/StreamingPolicyProperties.java
@@ -51,6 +51,10 @@ public final class StreamingPolicyProperties {
@JsonProperty(value = "noEncryption")
private NoEncryption noEncryption;
+ /** Creates an instance of StreamingPolicyProperties class. */
+ public StreamingPolicyProperties() {
+ }
+
/**
* Get the created property: Creation time of Streaming Policy.
*
diff --git a/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/fluent/models/TransformInner.java b/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/fluent/models/TransformInner.java
index 9721e02bebe4..6709d54e674a 100644
--- a/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/fluent/models/TransformInner.java
+++ b/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/fluent/models/TransformInner.java
@@ -31,6 +31,10 @@ public final class TransformInner extends ProxyResource {
@JsonProperty(value = "systemData", access = JsonProperty.Access.WRITE_ONLY)
private SystemData systemData;
+ /** Creates an instance of TransformInner class. */
+ public TransformInner() {
+ }
+
/**
* Get the innerProperties property: The resource properties.
*
diff --git a/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/fluent/models/TransformProperties.java b/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/fluent/models/TransformProperties.java
index 3150f1734f7e..760b044f7ce4 100644
--- a/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/fluent/models/TransformProperties.java
+++ b/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/fluent/models/TransformProperties.java
@@ -38,6 +38,10 @@ public final class TransformProperties {
@JsonProperty(value = "outputs", required = true)
private List outputs;
+ /** Creates an instance of TransformProperties class. */
+ public TransformProperties() {
+ }
+
/**
* Get the created property: The UTC date and time when the Transform was created, in 'YYYY-MM-DDThh:mm:ssZ' format.
*
diff --git a/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/implementation/AccountFiltersClientImpl.java b/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/implementation/AccountFiltersClientImpl.java
index f32af20910f4..93c13270c655 100644
--- a/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/implementation/AccountFiltersClientImpl.java
+++ b/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/implementation/AccountFiltersClientImpl.java
@@ -483,14 +483,16 @@ private Mono getAsync(String resourceGroupName, String accou
* @param resourceGroupName The name of the resource group within the Azure subscription.
* @param accountName The Media Services account name.
* @param filterName The Account Filter name.
+ * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the details of an Account Filter in the Media Services account.
+ * @return the details of an Account Filter in the Media Services account along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- public AccountFilterInner get(String resourceGroupName, String accountName, String filterName) {
- return getAsync(resourceGroupName, accountName, filterName).block();
+ public Response getWithResponse(
+ String resourceGroupName, String accountName, String filterName, Context context) {
+ return getWithResponseAsync(resourceGroupName, accountName, filterName, context).block();
}
/**
@@ -501,16 +503,14 @@ public AccountFilterInner get(String resourceGroupName, String accountName, Stri
* @param resourceGroupName The name of the resource group within the Azure subscription.
* @param accountName The Media Services account name.
* @param filterName The Account Filter name.
- * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the details of an Account Filter in the Media Services account along with {@link Response}.
+ * @return the details of an Account Filter in the Media Services account.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- public Response getWithResponse(
- String resourceGroupName, String accountName, String filterName, Context context) {
- return getWithResponseAsync(resourceGroupName, accountName, filterName, context).block();
+ public AccountFilterInner get(String resourceGroupName, String accountName, String filterName) {
+ return getWithResponse(resourceGroupName, accountName, filterName, Context.NONE).getValue();
}
/**
@@ -671,15 +671,20 @@ private Mono createOrUpdateAsync(
* @param accountName The Media Services account name.
* @param filterName The Account Filter name.
* @param parameters The request parameters.
+ * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return an Account Filter.
+ * @return an Account Filter along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- public AccountFilterInner createOrUpdate(
- String resourceGroupName, String accountName, String filterName, AccountFilterInner parameters) {
- return createOrUpdateAsync(resourceGroupName, accountName, filterName, parameters).block();
+ public Response createOrUpdateWithResponse(
+ String resourceGroupName,
+ String accountName,
+ String filterName,
+ AccountFilterInner parameters,
+ Context context) {
+ return createOrUpdateWithResponseAsync(resourceGroupName, accountName, filterName, parameters, context).block();
}
/**
@@ -691,20 +696,16 @@ public AccountFilterInner createOrUpdate(
* @param accountName The Media Services account name.
* @param filterName The Account Filter name.
* @param parameters The request parameters.
- * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return an Account Filter along with {@link Response}.
+ * @return an Account Filter.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- public Response createOrUpdateWithResponse(
- String resourceGroupName,
- String accountName,
- String filterName,
- AccountFilterInner parameters,
- Context context) {
- return createOrUpdateWithResponseAsync(resourceGroupName, accountName, filterName, parameters, context).block();
+ public AccountFilterInner createOrUpdate(
+ String resourceGroupName, String accountName, String filterName, AccountFilterInner parameters) {
+ return createOrUpdateWithResponse(resourceGroupName, accountName, filterName, parameters, Context.NONE)
+ .getValue();
}
/**
@@ -843,13 +844,16 @@ private Mono deleteAsync(String resourceGroupName, String accountName, Str
* @param resourceGroupName The name of the resource group within the Azure subscription.
* @param accountName The Media Services account name.
* @param filterName The Account Filter name.
+ * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- public void delete(String resourceGroupName, String accountName, String filterName) {
- deleteAsync(resourceGroupName, accountName, filterName).block();
+ public Response deleteWithResponse(
+ String resourceGroupName, String accountName, String filterName, Context context) {
+ return deleteWithResponseAsync(resourceGroupName, accountName, filterName, context).block();
}
/**
@@ -860,16 +864,13 @@ public void delete(String resourceGroupName, String accountName, String filterNa
* @param resourceGroupName The name of the resource group within the Azure subscription.
* @param accountName The Media Services account name.
* @param filterName The Account Filter name.
- * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- public Response deleteWithResponse(
- String resourceGroupName, String accountName, String filterName, Context context) {
- return deleteWithResponseAsync(resourceGroupName, accountName, filterName, context).block();
+ public void delete(String resourceGroupName, String accountName, String filterName) {
+ deleteWithResponse(resourceGroupName, accountName, filterName, Context.NONE);
}
/**
@@ -1030,15 +1031,20 @@ private Mono updateAsync(
* @param accountName The Media Services account name.
* @param filterName The Account Filter name.
* @param parameters The request parameters.
+ * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return an Account Filter.
+ * @return an Account Filter along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- public AccountFilterInner update(
- String resourceGroupName, String accountName, String filterName, AccountFilterInner parameters) {
- return updateAsync(resourceGroupName, accountName, filterName, parameters).block();
+ public Response updateWithResponse(
+ String resourceGroupName,
+ String accountName,
+ String filterName,
+ AccountFilterInner parameters,
+ Context context) {
+ return updateWithResponseAsync(resourceGroupName, accountName, filterName, parameters, context).block();
}
/**
@@ -1050,20 +1056,15 @@ public AccountFilterInner update(
* @param accountName The Media Services account name.
* @param filterName The Account Filter name.
* @param parameters The request parameters.
- * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return an Account Filter along with {@link Response}.
+ * @return an Account Filter.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- public Response updateWithResponse(
- String resourceGroupName,
- String accountName,
- String filterName,
- AccountFilterInner parameters,
- Context context) {
- return updateWithResponseAsync(resourceGroupName, accountName, filterName, parameters, context).block();
+ public AccountFilterInner update(
+ String resourceGroupName, String accountName, String filterName, AccountFilterInner parameters) {
+ return updateWithResponse(resourceGroupName, accountName, filterName, parameters, Context.NONE).getValue();
}
/**
diff --git a/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/implementation/AccountFiltersImpl.java b/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/implementation/AccountFiltersImpl.java
index ec4715db71d3..2172bdc77bb1 100644
--- a/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/implementation/AccountFiltersImpl.java
+++ b/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/implementation/AccountFiltersImpl.java
@@ -37,15 +37,6 @@ public PagedIterable list(String resourceGroupName, String accoun
return Utils.mapPage(inner, inner1 -> new AccountFilterImpl(inner1, this.manager()));
}
- public AccountFilter get(String resourceGroupName, String accountName, String filterName) {
- AccountFilterInner inner = this.serviceClient().get(resourceGroupName, accountName, filterName);
- if (inner != null) {
- return new AccountFilterImpl(inner, this.manager());
- } else {
- return null;
- }
- }
-
public Response getWithResponse(
String resourceGroupName, String accountName, String filterName, Context context) {
Response inner =
@@ -61,8 +52,13 @@ public Response getWithResponse(
}
}
- public void delete(String resourceGroupName, String accountName, String filterName) {
- this.serviceClient().delete(resourceGroupName, accountName, filterName);
+ public AccountFilter get(String resourceGroupName, String accountName, String filterName) {
+ AccountFilterInner inner = this.serviceClient().get(resourceGroupName, accountName, filterName);
+ if (inner != null) {
+ return new AccountFilterImpl(inner, this.manager());
+ } else {
+ return null;
+ }
}
public Response deleteWithResponse(
@@ -70,6 +66,10 @@ public Response deleteWithResponse(
return this.serviceClient().deleteWithResponse(resourceGroupName, accountName, filterName, context);
}
+ public void delete(String resourceGroupName, String accountName, String filterName) {
+ this.serviceClient().delete(resourceGroupName, accountName, filterName);
+ }
+
public AccountFilter getById(String id) {
String resourceGroupName = Utils.getValueFromIdByName(id, "resourceGroups");
if (resourceGroupName == null) {
diff --git a/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/implementation/AssetFiltersClientImpl.java b/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/implementation/AssetFiltersClientImpl.java
index fe4d38a9ca25..b86f3ca2eae8 100644
--- a/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/implementation/AssetFiltersClientImpl.java
+++ b/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/implementation/AssetFiltersClientImpl.java
@@ -520,14 +520,16 @@ private Mono getAsync(
* @param accountName The Media Services account name.
* @param assetName The Asset name.
* @param filterName The Asset Filter name.
+ * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the details of an Asset Filter associated with the specified Asset.
+ * @return the details of an Asset Filter associated with the specified Asset along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- public AssetFilterInner get(String resourceGroupName, String accountName, String assetName, String filterName) {
- return getAsync(resourceGroupName, accountName, assetName, filterName).block();
+ public Response getWithResponse(
+ String resourceGroupName, String accountName, String assetName, String filterName, Context context) {
+ return getWithResponseAsync(resourceGroupName, accountName, assetName, filterName, context).block();
}
/**
@@ -539,16 +541,14 @@ public AssetFilterInner get(String resourceGroupName, String accountName, String
* @param accountName The Media Services account name.
* @param assetName The Asset name.
* @param filterName The Asset Filter name.
- * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the details of an Asset Filter associated with the specified Asset along with {@link Response}.
+ * @return the details of an Asset Filter associated with the specified Asset.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- public Response getWithResponse(
- String resourceGroupName, String accountName, String assetName, String filterName, Context context) {
- return getWithResponseAsync(resourceGroupName, accountName, assetName, filterName, context).block();
+ public AssetFilterInner get(String resourceGroupName, String accountName, String assetName, String filterName) {
+ return getWithResponse(resourceGroupName, accountName, assetName, filterName, Context.NONE).getValue();
}
/**
@@ -730,19 +730,23 @@ private Mono createOrUpdateAsync(
* @param assetName The Asset name.
* @param filterName The Asset Filter name.
* @param parameters The request parameters.
+ * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return an Asset Filter.
+ * @return an Asset Filter along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- public AssetFilterInner createOrUpdate(
+ public Response createOrUpdateWithResponse(
String resourceGroupName,
String accountName,
String assetName,
String filterName,
- AssetFilterInner parameters) {
- return createOrUpdateAsync(resourceGroupName, accountName, assetName, filterName, parameters).block();
+ AssetFilterInner parameters,
+ Context context) {
+ return createOrUpdateWithResponseAsync(
+ resourceGroupName, accountName, assetName, filterName, parameters, context)
+ .block();
}
/**
@@ -755,23 +759,21 @@ public AssetFilterInner createOrUpdate(
* @param assetName The Asset name.
* @param filterName The Asset Filter name.
* @param parameters The request parameters.
- * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return an Asset Filter along with {@link Response}.
+ * @return an Asset Filter.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- public Response createOrUpdateWithResponse(
+ public AssetFilterInner createOrUpdate(
String resourceGroupName,
String accountName,
String assetName,
String filterName,
- AssetFilterInner parameters,
- Context context) {
- return createOrUpdateWithResponseAsync(
- resourceGroupName, accountName, assetName, filterName, parameters, context)
- .block();
+ AssetFilterInner parameters) {
+ return createOrUpdateWithResponse(
+ resourceGroupName, accountName, assetName, filterName, parameters, Context.NONE)
+ .getValue();
}
/**
@@ -923,13 +925,16 @@ private Mono deleteAsync(String resourceGroupName, String accountName, Str
* @param accountName The Media Services account name.
* @param assetName The Asset name.
* @param filterName The Asset Filter name.
+ * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- public void delete(String resourceGroupName, String accountName, String assetName, String filterName) {
- deleteAsync(resourceGroupName, accountName, assetName, filterName).block();
+ public Response deleteWithResponse(
+ String resourceGroupName, String accountName, String assetName, String filterName, Context context) {
+ return deleteWithResponseAsync(resourceGroupName, accountName, assetName, filterName, context).block();
}
/**
@@ -941,16 +946,13 @@ public void delete(String resourceGroupName, String accountName, String assetNam
* @param accountName The Media Services account name.
* @param assetName The Asset name.
* @param filterName The Asset Filter name.
- * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- public Response deleteWithResponse(
- String resourceGroupName, String accountName, String assetName, String filterName, Context context) {
- return deleteWithResponseAsync(resourceGroupName, accountName, assetName, filterName, context).block();
+ public void delete(String resourceGroupName, String accountName, String assetName, String filterName) {
+ deleteWithResponse(resourceGroupName, accountName, assetName, filterName, Context.NONE);
}
/**
@@ -1132,19 +1134,22 @@ private Mono updateAsync(
* @param assetName The Asset name.
* @param filterName The Asset Filter name.
* @param parameters The request parameters.
+ * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return an Asset Filter.
+ * @return an Asset Filter along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- public AssetFilterInner update(
+ public Response updateWithResponse(
String resourceGroupName,
String accountName,
String assetName,
String filterName,
- AssetFilterInner parameters) {
- return updateAsync(resourceGroupName, accountName, assetName, filterName, parameters).block();
+ AssetFilterInner parameters,
+ Context context) {
+ return updateWithResponseAsync(resourceGroupName, accountName, assetName, filterName, parameters, context)
+ .block();
}
/**
@@ -1157,22 +1162,20 @@ public AssetFilterInner update(
* @param assetName The Asset name.
* @param filterName The Asset Filter name.
* @param parameters The request parameters.
- * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return an Asset Filter along with {@link Response}.
+ * @return an Asset Filter.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- public Response updateWithResponse(
+ public AssetFilterInner update(
String resourceGroupName,
String accountName,
String assetName,
String filterName,
- AssetFilterInner parameters,
- Context context) {
- return updateWithResponseAsync(resourceGroupName, accountName, assetName, filterName, parameters, context)
- .block();
+ AssetFilterInner parameters) {
+ return updateWithResponse(resourceGroupName, accountName, assetName, filterName, parameters, Context.NONE)
+ .getValue();
}
/**
diff --git a/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/implementation/AssetFiltersImpl.java b/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/implementation/AssetFiltersImpl.java
index 61a9f12ed440..40bde3996ea3 100644
--- a/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/implementation/AssetFiltersImpl.java
+++ b/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/implementation/AssetFiltersImpl.java
@@ -39,15 +39,6 @@ public PagedIterable list(
return Utils.mapPage(inner, inner1 -> new AssetFilterImpl(inner1, this.manager()));
}
- public AssetFilter get(String resourceGroupName, String accountName, String assetName, String filterName) {
- AssetFilterInner inner = this.serviceClient().get(resourceGroupName, accountName, assetName, filterName);
- if (inner != null) {
- return new AssetFilterImpl(inner, this.manager());
- } else {
- return null;
- }
- }
-
public Response getWithResponse(
String resourceGroupName, String accountName, String assetName, String filterName, Context context) {
Response inner =
@@ -63,8 +54,13 @@ public Response getWithResponse(
}
}
- public void delete(String resourceGroupName, String accountName, String assetName, String filterName) {
- this.serviceClient().delete(resourceGroupName, accountName, assetName, filterName);
+ public AssetFilter get(String resourceGroupName, String accountName, String assetName, String filterName) {
+ AssetFilterInner inner = this.serviceClient().get(resourceGroupName, accountName, assetName, filterName);
+ if (inner != null) {
+ return new AssetFilterImpl(inner, this.manager());
+ } else {
+ return null;
+ }
}
public Response deleteWithResponse(
@@ -72,6 +68,10 @@ public Response deleteWithResponse(
return this.serviceClient().deleteWithResponse(resourceGroupName, accountName, assetName, filterName, context);
}
+ public void delete(String resourceGroupName, String accountName, String assetName, String filterName) {
+ this.serviceClient().delete(resourceGroupName, accountName, assetName, filterName);
+ }
+
public AssetFilter getById(String id) {
String resourceGroupName = Utils.getValueFromIdByName(id, "resourceGroups");
if (resourceGroupName == null) {
diff --git a/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/implementation/AssetImpl.java b/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/implementation/AssetImpl.java
index 3f0391cc8684..b89282cf252a 100644
--- a/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/implementation/AssetImpl.java
+++ b/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/implementation/AssetImpl.java
@@ -172,26 +172,22 @@ public Asset refresh(Context context) {
return this;
}
- public AssetContainerSas listContainerSas(ListContainerSasInput parameters) {
- return serviceManager.assets().listContainerSas(resourceGroupName, accountName, assetName, parameters);
- }
-
public Response listContainerSasWithResponse(ListContainerSasInput parameters, Context context) {
return serviceManager
.assets()
.listContainerSasWithResponse(resourceGroupName, accountName, assetName, parameters, context);
}
- public StorageEncryptedAssetDecryptionData getEncryptionKey() {
- return serviceManager.assets().getEncryptionKey(resourceGroupName, accountName, assetName);
+ public AssetContainerSas listContainerSas(ListContainerSasInput parameters) {
+ return serviceManager.assets().listContainerSas(resourceGroupName, accountName, assetName, parameters);
}
public Response getEncryptionKeyWithResponse(Context context) {
return serviceManager.assets().getEncryptionKeyWithResponse(resourceGroupName, accountName, assetName, context);
}
- public ListStreamingLocatorsResponse listStreamingLocators() {
- return serviceManager.assets().listStreamingLocators(resourceGroupName, accountName, assetName);
+ public StorageEncryptedAssetDecryptionData getEncryptionKey() {
+ return serviceManager.assets().getEncryptionKey(resourceGroupName, accountName, assetName);
}
public Response listStreamingLocatorsWithResponse(Context context) {
@@ -200,6 +196,10 @@ public Response listStreamingLocatorsWithResponse
.listStreamingLocatorsWithResponse(resourceGroupName, accountName, assetName, context);
}
+ public ListStreamingLocatorsResponse listStreamingLocators() {
+ return serviceManager.assets().listStreamingLocators(resourceGroupName, accountName, assetName);
+ }
+
public AssetImpl withAlternateId(String alternateId) {
this.innerModel().withAlternateId(alternateId);
return this;
diff --git a/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/implementation/AssetsClientImpl.java b/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/implementation/AssetsClientImpl.java
index ffd79b9bb01b..a2b244f0835d 100644
--- a/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/implementation/AssetsClientImpl.java
+++ b/sdk/mediaservices/azure-resourcemanager-mediaservices/src/main/java/com/azure/resourcemanager/mediaservices/implementation/AssetsClientImpl.java
@@ -593,14 +593,16 @@ private Mono getAsync(String resourceGroupName, String accountName,
* @param resourceGroupName The name of the resource group within the Azure subscription.
* @param accountName The Media Services account name.
* @param assetName The Asset name.
+ * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the details of an Asset in the Media Services account.
+ * @return the details of an Asset in the Media Services account along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- public AssetInner get(String resourceGroupName, String accountName, String assetName) {
- return getAsync(resourceGroupName, accountName, assetName).block();
+ public Response getWithResponse(
+ String resourceGroupName, String accountName, String assetName, Context context) {
+ return getWithResponseAsync(resourceGroupName, accountName, assetName, context).block();
}
/**
@@ -611,16 +613,14 @@ public AssetInner get(String resourceGroupName, String accountName, String asset
* @param resourceGroupName The name of the resource group within the Azure subscription.
* @param accountName The Media Services account name.
* @param assetName The Asset name.
- * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the details of an Asset in the Media Services account along with {@link Response}.
+ * @return the details of an Asset in the Media Services account.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- public Response getWithResponse(
- String resourceGroupName, String accountName, String assetName, Context context) {
- return getWithResponseAsync(resourceGroupName, accountName, assetName, context).block();
+ public AssetInner get(String resourceGroupName, String accountName, String assetName) {
+ return getWithResponse(resourceGroupName, accountName, assetName, Context.NONE).getValue();
}
/**
@@ -777,15 +777,16 @@ private Mono createOrUpdateAsync(
* @param accountName The Media Services account name.
* @param assetName The Asset name.
* @param parameters The request parameters.
+ * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return an Asset.
+ * @return an Asset along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- public AssetInner createOrUpdate(
- String resourceGroupName, String accountName, String assetName, AssetInner parameters) {
- return createOrUpdateAsync(resourceGroupName, accountName, assetName, parameters).block();
+ public Response createOrUpdateWithResponse(
+ String resourceGroupName, String accountName, String assetName, AssetInner parameters, Context context) {
+ return createOrUpdateWithResponseAsync(resourceGroupName, accountName, assetName, parameters, context).block();
}
/**
@@ -797,16 +798,16 @@ public AssetInner createOrUpdate(
* @param accountName The Media Services account name.
* @param assetName The Asset name.
* @param parameters The request parameters.
- * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return an Asset along with {@link Response}.
+ * @return an Asset.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- public Response createOrUpdateWithResponse(
- String resourceGroupName, String accountName, String assetName, AssetInner parameters, Context context) {
- return createOrUpdateWithResponseAsync(resourceGroupName, accountName, assetName, parameters, context).block();
+ public AssetInner createOrUpdate(
+ String resourceGroupName, String accountName, String assetName, AssetInner parameters) {
+ return createOrUpdateWithResponse(resourceGroupName, accountName, assetName, parameters, Context.NONE)
+ .getValue();
}
/**
@@ -945,13 +946,16 @@ private Mono deleteAsync(String resourceGroupName, String accountName, Str
* @param resourceGroupName The name of the resource group within the Azure subscription.
* @param accountName The Media Services account name.
* @param assetName The Asset name.
+ * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- public void delete(String resourceGroupName, String accountName, String assetName) {
- deleteAsync(resourceGroupName, accountName, assetName).block();
+ public Response deleteWithResponse(
+ String resourceGroupName, String accountName, String assetName, Context context) {
+ return deleteWithResponseAsync(resourceGroupName, accountName, assetName, context).block();
}
/**
@@ -962,16 +966,13 @@ public void delete(String resourceGroupName, String accountName, String assetNam
* @param resourceGroupName The name of the resource group within the Azure subscription.
* @param accountName The Media Services account name.
* @param assetName The Asset name.
- * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- public Response deleteWithResponse(
- String resourceGroupName, String accountName, String assetName, Context context) {
- return deleteWithResponseAsync(resourceGroupName, accountName, assetName, context).block();
+ public void delete(String resourceGroupName, String accountName, String assetName) {
+ deleteWithResponse(resourceGroupName, accountName, assetName, Context.NONE);
}
/**
@@ -1128,14 +1129,16 @@ private Mono updateAsync(
* @param accountName The Media Services account name.
* @param assetName The Asset name.
* @param parameters The request parameters.
+ * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return an Asset.
+ * @return an Asset along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- public AssetInner update(String resourceGroupName, String accountName, String assetName, AssetInner parameters) {
- return updateAsync(resourceGroupName, accountName, assetName, parameters).block();
+ public Response updateWithResponse(
+ String resourceGroupName, String accountName, String assetName, AssetInner parameters, Context context) {
+ return updateWithResponseAsync(resourceGroupName, accountName, assetName, parameters, context).block();
}
/**
@@ -1147,16 +1150,14 @@ public AssetInner update(String resourceGroupName, String accountName, String as
* @param accountName The Media Services account name.
* @param assetName The Asset name.
* @param parameters The request parameters.
- * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return an Asset along with {@link Response}.
+ * @return an Asset.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- public Response