cancelArchiveWithResponse(
- String resourceGroupName, String amlFilesystemName, Context context) {
- return cancelArchiveWithResponseAsync(resourceGroupName, amlFilesystemName, context).block();
- }
-
- /**
- * Cancel archiving data from the AML file system.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param amlFilesystemName Name for the AML file system. Allows alphanumerics, underscores, and hyphens. Start and
- * end with alphanumeric.
- * @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.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- public void cancelArchive(String resourceGroupName, String amlFilesystemName) {
- cancelArchiveWithResponse(resourceGroupName, amlFilesystemName, Context.NONE);
- }
-
- /**
- * Get the next page of items.
- *
- * @param nextLink The URL to get the next list of items
- * The nextLink parameter.
- * @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 result of the request to list AML file systems along with {@link PagedResponse} on successful completion
- * of {@link Mono}.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- private Mono> listNextSinglePageAsync(String nextLink) {
- if (nextLink == null) {
- return Mono.error(new IllegalArgumentException("Parameter nextLink is required and cannot be null."));
- }
- if (this.client.getEndpoint() == null) {
- return Mono
- .error(
- new IllegalArgumentException(
- "Parameter this.client.getEndpoint() is required and cannot be null."));
- }
- final String accept = "application/json";
- return FluxUtil
- .withContext(context -> service.listNext(nextLink, this.client.getEndpoint(), accept, context))
- .>map(
- res ->
- new PagedResponseBase<>(
- res.getRequest(),
- res.getStatusCode(),
- res.getHeaders(),
- res.getValue().value(),
- res.getValue().nextLink(),
- null))
- .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly()));
- }
-
- /**
- * Get the next page of items.
- *
- * @param nextLink The URL to get the next list of items
- * The nextLink parameter.
- * @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 result of the request to list AML file systems along with {@link PagedResponse} on successful completion
- * of {@link Mono}.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- private Mono> listNextSinglePageAsync(String nextLink, Context context) {
- if (nextLink == null) {
- return Mono.error(new IllegalArgumentException("Parameter nextLink is required and cannot be null."));
- }
- if (this.client.getEndpoint() == null) {
- return Mono
- .error(
- new IllegalArgumentException(
- "Parameter this.client.getEndpoint() is required and cannot be null."));
- }
- final String accept = "application/json";
- context = this.client.mergeContext(context);
- return service
- .listNext(nextLink, this.client.getEndpoint(), accept, context)
- .map(
- res ->
- new PagedResponseBase<>(
- res.getRequest(),
- res.getStatusCode(),
- res.getHeaders(),
- res.getValue().value(),
- res.getValue().nextLink(),
- null));
- }
-
- /**
- * Get the next page of items.
- *
- * @param nextLink The URL to get the next list of items
- * The nextLink parameter.
- * @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 result of the request to list AML file systems along with {@link PagedResponse} on successful completion
- * of {@link Mono}.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- private Mono> listByResourceGroupNextSinglePageAsync(String nextLink) {
- if (nextLink == null) {
- return Mono.error(new IllegalArgumentException("Parameter nextLink is required and cannot be null."));
- }
- if (this.client.getEndpoint() == null) {
- return Mono
- .error(
- new IllegalArgumentException(
- "Parameter this.client.getEndpoint() is required and cannot be null."));
- }
- final String accept = "application/json";
- return FluxUtil
- .withContext(
- context -> service.listByResourceGroupNext(nextLink, this.client.getEndpoint(), accept, context))
- .>map(
- res ->
- new PagedResponseBase<>(
- res.getRequest(),
- res.getStatusCode(),
- res.getHeaders(),
- res.getValue().value(),
- res.getValue().nextLink(),
- null))
- .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly()));
- }
-
- /**
- * Get the next page of items.
- *
- * @param nextLink The URL to get the next list of items
- * The nextLink parameter.
- * @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 result of the request to list AML file systems along with {@link PagedResponse} on successful completion
- * of {@link Mono}.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- private Mono> listByResourceGroupNextSinglePageAsync(
- String nextLink, Context context) {
- if (nextLink == null) {
- return Mono.error(new IllegalArgumentException("Parameter nextLink is required and cannot be null."));
- }
- if (this.client.getEndpoint() == null) {
- return Mono
- .error(
- new IllegalArgumentException(
- "Parameter this.client.getEndpoint() is required and cannot be null."));
- }
- final String accept = "application/json";
- context = this.client.mergeContext(context);
- return service
- .listByResourceGroupNext(nextLink, this.client.getEndpoint(), accept, context)
- .map(
- res ->
- new PagedResponseBase<>(
- res.getRequest(),
- res.getStatusCode(),
- res.getHeaders(),
- res.getValue().value(),
- res.getValue().nextLink(),
- null));
- }
-}
diff --git a/sdk/storagecache/azure-resourcemanager-storagecache/src/main/java/com/azure/resourcemanager/storagecache/implementation/AmlFilesystemsImpl.java b/sdk/storagecache/azure-resourcemanager-storagecache/src/main/java/com/azure/resourcemanager/storagecache/implementation/AmlFilesystemsImpl.java
deleted file mode 100644
index c79218b466cb..000000000000
--- a/sdk/storagecache/azure-resourcemanager-storagecache/src/main/java/com/azure/resourcemanager/storagecache/implementation/AmlFilesystemsImpl.java
+++ /dev/null
@@ -1,192 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.storagecache.implementation;
-
-import com.azure.core.http.rest.PagedIterable;
-import com.azure.core.http.rest.Response;
-import com.azure.core.http.rest.SimpleResponse;
-import com.azure.core.util.Context;
-import com.azure.core.util.logging.ClientLogger;
-import com.azure.resourcemanager.storagecache.fluent.AmlFilesystemsClient;
-import com.azure.resourcemanager.storagecache.fluent.models.AmlFilesystemInner;
-import com.azure.resourcemanager.storagecache.models.AmlFilesystem;
-import com.azure.resourcemanager.storagecache.models.AmlFilesystemArchiveInfo;
-import com.azure.resourcemanager.storagecache.models.AmlFilesystems;
-
-public final class AmlFilesystemsImpl implements AmlFilesystems {
- private static final ClientLogger LOGGER = new ClientLogger(AmlFilesystemsImpl.class);
-
- private final AmlFilesystemsClient innerClient;
-
- private final com.azure.resourcemanager.storagecache.StorageCacheManager serviceManager;
-
- public AmlFilesystemsImpl(
- AmlFilesystemsClient innerClient, com.azure.resourcemanager.storagecache.StorageCacheManager serviceManager) {
- this.innerClient = innerClient;
- this.serviceManager = serviceManager;
- }
-
- public PagedIterable list() {
- PagedIterable inner = this.serviceClient().list();
- return Utils.mapPage(inner, inner1 -> new AmlFilesystemImpl(inner1, this.manager()));
- }
-
- public PagedIterable list(Context context) {
- PagedIterable inner = this.serviceClient().list(context);
- return Utils.mapPage(inner, inner1 -> new AmlFilesystemImpl(inner1, this.manager()));
- }
-
- public PagedIterable listByResourceGroup(String resourceGroupName) {
- PagedIterable inner = this.serviceClient().listByResourceGroup(resourceGroupName);
- return Utils.mapPage(inner, inner1 -> new AmlFilesystemImpl(inner1, this.manager()));
- }
-
- public PagedIterable listByResourceGroup(String resourceGroupName, Context context) {
- PagedIterable inner = this.serviceClient().listByResourceGroup(resourceGroupName, context);
- return Utils.mapPage(inner, inner1 -> new AmlFilesystemImpl(inner1, this.manager()));
- }
-
- public void deleteByResourceGroup(String resourceGroupName, String amlFilesystemName) {
- this.serviceClient().delete(resourceGroupName, amlFilesystemName);
- }
-
- public void delete(String resourceGroupName, String amlFilesystemName, Context context) {
- this.serviceClient().delete(resourceGroupName, amlFilesystemName, context);
- }
-
- public Response getByResourceGroupWithResponse(
- String resourceGroupName, String amlFilesystemName, Context context) {
- Response inner =
- this.serviceClient().getByResourceGroupWithResponse(resourceGroupName, amlFilesystemName, context);
- if (inner != null) {
- return new SimpleResponse<>(
- inner.getRequest(),
- inner.getStatusCode(),
- inner.getHeaders(),
- new AmlFilesystemImpl(inner.getValue(), this.manager()));
- } else {
- return null;
- }
- }
-
- public AmlFilesystem getByResourceGroup(String resourceGroupName, String amlFilesystemName) {
- AmlFilesystemInner inner = this.serviceClient().getByResourceGroup(resourceGroupName, amlFilesystemName);
- if (inner != null) {
- return new AmlFilesystemImpl(inner, this.manager());
- } else {
- return null;
- }
- }
-
- public Response archiveWithResponse(
- String resourceGroupName, String amlFilesystemName, AmlFilesystemArchiveInfo archiveInfo, Context context) {
- return this.serviceClient().archiveWithResponse(resourceGroupName, amlFilesystemName, archiveInfo, context);
- }
-
- public void archive(String resourceGroupName, String amlFilesystemName) {
- this.serviceClient().archive(resourceGroupName, amlFilesystemName);
- }
-
- public Response cancelArchiveWithResponse(
- String resourceGroupName, String amlFilesystemName, Context context) {
- return this.serviceClient().cancelArchiveWithResponse(resourceGroupName, amlFilesystemName, context);
- }
-
- public void cancelArchive(String resourceGroupName, String amlFilesystemName) {
- this.serviceClient().cancelArchive(resourceGroupName, amlFilesystemName);
- }
-
- public AmlFilesystem getById(String id) {
- String resourceGroupName = Utils.getValueFromIdByName(id, "resourceGroups");
- if (resourceGroupName == null) {
- throw LOGGER
- .logExceptionAsError(
- new IllegalArgumentException(
- String
- .format("The resource ID '%s' is not valid. Missing path segment 'resourceGroups'.", id)));
- }
- String amlFilesystemName = Utils.getValueFromIdByName(id, "amlFilesystems");
- if (amlFilesystemName == null) {
- throw LOGGER
- .logExceptionAsError(
- new IllegalArgumentException(
- String
- .format("The resource ID '%s' is not valid. Missing path segment 'amlFilesystems'.", id)));
- }
- return this.getByResourceGroupWithResponse(resourceGroupName, amlFilesystemName, Context.NONE).getValue();
- }
-
- public Response getByIdWithResponse(String id, Context context) {
- String resourceGroupName = Utils.getValueFromIdByName(id, "resourceGroups");
- if (resourceGroupName == null) {
- throw LOGGER
- .logExceptionAsError(
- new IllegalArgumentException(
- String
- .format("The resource ID '%s' is not valid. Missing path segment 'resourceGroups'.", id)));
- }
- String amlFilesystemName = Utils.getValueFromIdByName(id, "amlFilesystems");
- if (amlFilesystemName == null) {
- throw LOGGER
- .logExceptionAsError(
- new IllegalArgumentException(
- String
- .format("The resource ID '%s' is not valid. Missing path segment 'amlFilesystems'.", id)));
- }
- return this.getByResourceGroupWithResponse(resourceGroupName, amlFilesystemName, context);
- }
-
- public void deleteById(String id) {
- String resourceGroupName = Utils.getValueFromIdByName(id, "resourceGroups");
- if (resourceGroupName == null) {
- throw LOGGER
- .logExceptionAsError(
- new IllegalArgumentException(
- String
- .format("The resource ID '%s' is not valid. Missing path segment 'resourceGroups'.", id)));
- }
- String amlFilesystemName = Utils.getValueFromIdByName(id, "amlFilesystems");
- if (amlFilesystemName == null) {
- throw LOGGER
- .logExceptionAsError(
- new IllegalArgumentException(
- String
- .format("The resource ID '%s' is not valid. Missing path segment 'amlFilesystems'.", id)));
- }
- this.delete(resourceGroupName, amlFilesystemName, Context.NONE);
- }
-
- public void deleteByIdWithResponse(String id, Context context) {
- String resourceGroupName = Utils.getValueFromIdByName(id, "resourceGroups");
- if (resourceGroupName == null) {
- throw LOGGER
- .logExceptionAsError(
- new IllegalArgumentException(
- String
- .format("The resource ID '%s' is not valid. Missing path segment 'resourceGroups'.", id)));
- }
- String amlFilesystemName = Utils.getValueFromIdByName(id, "amlFilesystems");
- if (amlFilesystemName == null) {
- throw LOGGER
- .logExceptionAsError(
- new IllegalArgumentException(
- String
- .format("The resource ID '%s' is not valid. Missing path segment 'amlFilesystems'.", id)));
- }
- this.delete(resourceGroupName, amlFilesystemName, context);
- }
-
- private AmlFilesystemsClient serviceClient() {
- return this.innerClient;
- }
-
- private com.azure.resourcemanager.storagecache.StorageCacheManager manager() {
- return this.serviceManager;
- }
-
- public AmlFilesystemImpl define(String name) {
- return new AmlFilesystemImpl(name, this.manager());
- }
-}
diff --git a/sdk/storagecache/azure-resourcemanager-storagecache/src/main/java/com/azure/resourcemanager/storagecache/implementation/AscOperationsClientImpl.java b/sdk/storagecache/azure-resourcemanager-storagecache/src/main/java/com/azure/resourcemanager/storagecache/implementation/AscOperationsClientImpl.java
index a7b7c546467f..5cf2ad738b63 100644
--- a/sdk/storagecache/azure-resourcemanager-storagecache/src/main/java/com/azure/resourcemanager/storagecache/implementation/AscOperationsClientImpl.java
+++ b/sdk/storagecache/azure-resourcemanager-storagecache/src/main/java/com/azure/resourcemanager/storagecache/implementation/AscOperationsClientImpl.java
@@ -53,8 +53,7 @@ public final class AscOperationsClientImpl implements AscOperationsClient {
public interface AscOperationsService {
@Headers({"Content-Type: application/json"})
@Get(
- "/subscriptions/{subscriptionId}/providers/Microsoft.StorageCache/locations/{location}/ascOperations"
- + "/{operationId}")
+ "/subscriptions/{subscriptionId}/providers/Microsoft.StorageCache/locations/{location}/ascOperations/{operationId}")
@ExpectedResponses({200})
@UnexpectedResponseExceptionType(ManagementException.class)
Mono> get(
@@ -70,8 +69,8 @@ Mono> get(
/**
* Gets the status of an asynchronous operation for the Azure HPC Cache.
*
- * @param location The name of Azure region.
- * @param operationId The ID of an ongoing async operation.
+ * @param location The name of the region used to look up the operation.
+ * @param operationId The operation id which uniquely identifies the asynchronous 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.
@@ -117,8 +116,8 @@ private Mono> getWithResponseAsync(String location,
/**
* Gets the status of an asynchronous operation for the Azure HPC Cache.
*
- * @param location The name of Azure region.
- * @param operationId The ID of an ongoing async operation.
+ * @param location The name of the region used to look up the operation.
+ * @param operationId The operation id which uniquely identifies the asynchronous operation.
* @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.
@@ -163,8 +162,8 @@ private Mono> getWithResponseAsync(
/**
* Gets the status of an asynchronous operation for the Azure HPC Cache.
*
- * @param location The name of Azure region.
- * @param operationId The ID of an ongoing async operation.
+ * @param location The name of the region used to look up the operation.
+ * @param operationId The operation id which uniquely identifies the asynchronous 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.
@@ -178,8 +177,8 @@ private Mono getAsync(String location, String operationId) {
/**
* Gets the status of an asynchronous operation for the Azure HPC Cache.
*
- * @param location The name of Azure region.
- * @param operationId The ID of an ongoing async operation.
+ * @param location The name of the region used to look up the operation.
+ * @param operationId The operation id which uniquely identifies the asynchronous operation.
* @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.
@@ -194,8 +193,8 @@ public Response getWithResponse(String location, String opera
/**
* Gets the status of an asynchronous operation for the Azure HPC Cache.
*
- * @param location The name of Azure region.
- * @param operationId The ID of an ongoing async operation.
+ * @param location The name of the region used to look up the operation.
+ * @param operationId The operation id which uniquely identifies the asynchronous 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.
diff --git a/sdk/storagecache/azure-resourcemanager-storagecache/src/main/java/com/azure/resourcemanager/storagecache/implementation/CacheImpl.java b/sdk/storagecache/azure-resourcemanager-storagecache/src/main/java/com/azure/resourcemanager/storagecache/implementation/CacheImpl.java
index b6c6bb313e6b..e277e16b6683 100644
--- a/sdk/storagecache/azure-resourcemanager-storagecache/src/main/java/com/azure/resourcemanager/storagecache/implementation/CacheImpl.java
+++ b/sdk/storagecache/azure-resourcemanager-storagecache/src/main/java/com/azure/resourcemanager/storagecache/implementation/CacheImpl.java
@@ -72,10 +72,6 @@ public Integer cacheSizeGB() {
return this.innerModel().cacheSizeGB();
}
- public Double scalingFactor() {
- return this.innerModel().scalingFactor();
- }
-
public CacheHealth health() {
return this.innerModel().health();
}
@@ -349,11 +345,6 @@ public CacheImpl withCacheSizeGB(Integer cacheSizeGB) {
return this;
}
- public CacheImpl withScalingFactor(Double scalingFactor) {
- this.innerModel().withScalingFactor(scalingFactor);
- return this;
- }
-
public CacheImpl withSubnet(String subnet) {
this.innerModel().withSubnet(subnet);
return this;
diff --git a/sdk/storagecache/azure-resourcemanager-storagecache/src/main/java/com/azure/resourcemanager/storagecache/implementation/CachesClientImpl.java b/sdk/storagecache/azure-resourcemanager-storagecache/src/main/java/com/azure/resourcemanager/storagecache/implementation/CachesClientImpl.java
index 1fd01ce44b11..e0721723b554 100644
--- a/sdk/storagecache/azure-resourcemanager-storagecache/src/main/java/com/azure/resourcemanager/storagecache/implementation/CachesClientImpl.java
+++ b/sdk/storagecache/azure-resourcemanager-storagecache/src/main/java/com/azure/resourcemanager/storagecache/implementation/CachesClientImpl.java
@@ -82,8 +82,7 @@ Mono> list(
@Headers({"Content-Type: application/json"})
@Get(
- "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.StorageCache"
- + "/caches")
+ "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.StorageCache/caches")
@ExpectedResponses({200})
@UnexpectedResponseExceptionType(ManagementException.class)
Mono> listByResourceGroup(
@@ -96,8 +95,7 @@ Mono> listByResourceGroup(
@Headers({"Content-Type: application/json"})
@Delete(
- "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.StorageCache/caches"
- + "/{cacheName}")
+ "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.StorageCache/caches/{cacheName}")
@ExpectedResponses({200, 202, 204})
@UnexpectedResponseExceptionType(ManagementException.class)
Mono>> delete(
@@ -111,8 +109,7 @@ Mono>> delete(
@Headers({"Content-Type: application/json"})
@Get(
- "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.StorageCache/caches"
- + "/{cacheName}")
+ "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.StorageCache/caches/{cacheName}")
@ExpectedResponses({200})
@UnexpectedResponseExceptionType(ManagementException.class)
Mono> getByResourceGroup(
@@ -126,8 +123,7 @@ Mono> getByResourceGroup(
@Headers({"Content-Type: application/json"})
@Put(
- "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.StorageCache/caches"
- + "/{cacheName}")
+ "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.StorageCache/caches/{cacheName}")
@ExpectedResponses({200, 201, 202})
@UnexpectedResponseExceptionType(ManagementException.class)
Mono>> createOrUpdate(
@@ -142,8 +138,7 @@ Mono>> createOrUpdate(
@Headers({"Content-Type: application/json"})
@Patch(
- "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.StorageCache/caches"
- + "/{cacheName}")
+ "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.StorageCache/caches/{cacheName}")
@ExpectedResponses({200, 202})
@UnexpectedResponseExceptionType(ManagementException.class)
Mono>> update(
@@ -158,8 +153,7 @@ Mono>> update(
@Headers({"Content-Type: application/json"})
@Post(
- "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.StorageCache/caches"
- + "/{cacheName}/debugInfo")
+ "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.StorageCache/caches/{cacheName}/debugInfo")
@ExpectedResponses({200, 202, 204})
@UnexpectedResponseExceptionType(ManagementException.class)
Mono>> debugInfo(
@@ -173,8 +167,7 @@ Mono>> debugInfo(
@Headers({"Content-Type: application/json"})
@Post(
- "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.StorageCache/caches"
- + "/{cacheName}/flush")
+ "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.StorageCache/caches/{cacheName}/flush")
@ExpectedResponses({200, 202, 204})
@UnexpectedResponseExceptionType(ManagementException.class)
Mono>> flush(
@@ -188,8 +181,7 @@ Mono>> flush(
@Headers({"Content-Type: application/json"})
@Post(
- "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.StorageCache/caches"
- + "/{cacheName}/start")
+ "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.StorageCache/caches/{cacheName}/start")
@ExpectedResponses({200, 202, 204})
@UnexpectedResponseExceptionType(ManagementException.class)
Mono>> start(
@@ -203,8 +195,7 @@ Mono>> start(
@Headers({"Content-Type: application/json"})
@Post(
- "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.StorageCache/caches"
- + "/{cacheName}/stop")
+ "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.StorageCache/caches/{cacheName}/stop")
@ExpectedResponses({200, 202, 204})
@UnexpectedResponseExceptionType(ManagementException.class)
Mono>> stop(
@@ -218,8 +209,7 @@ Mono>> stop(
@Headers({"Content-Type: application/json"})
@Post(
- "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.StorageCache/caches"
- + "/{cacheName}/startPrimingJob")
+ "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.StorageCache/caches/{cacheName}/startPrimingJob")
@ExpectedResponses({202})
@UnexpectedResponseExceptionType(ManagementException.class)
Mono>> startPrimingJob(
@@ -234,8 +224,7 @@ Mono>> startPrimingJob(
@Headers({"Content-Type: application/json"})
@Post(
- "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.StorageCache/caches"
- + "/{cacheName}/stopPrimingJob")
+ "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.StorageCache/caches/{cacheName}/stopPrimingJob")
@ExpectedResponses({202, 204})
@UnexpectedResponseExceptionType(ManagementException.class)
Mono>> stopPrimingJob(
@@ -250,8 +239,7 @@ Mono>> stopPrimingJob(
@Headers({"Content-Type: application/json"})
@Post(
- "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.StorageCache/caches"
- + "/{cacheName}/pausePrimingJob")
+ "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.StorageCache/caches/{cacheName}/pausePrimingJob")
@ExpectedResponses({202, 204})
@UnexpectedResponseExceptionType(ManagementException.class)
Mono>> pausePrimingJob(
@@ -266,8 +254,7 @@ Mono>> pausePrimingJob(
@Headers({"Content-Type: application/json"})
@Post(
- "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.StorageCache/caches"
- + "/{cacheName}/resumePrimingJob")
+ "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.StorageCache/caches/{cacheName}/resumePrimingJob")
@ExpectedResponses({202, 204})
@UnexpectedResponseExceptionType(ManagementException.class)
Mono>> resumePrimingJob(
@@ -282,8 +269,7 @@ Mono>> resumePrimingJob(
@Headers({"Content-Type: application/json"})
@Post(
- "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.StorageCache/caches"
- + "/{cacheName}/upgrade")
+ "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.StorageCache/caches/{cacheName}/upgrade")
@ExpectedResponses({201, 202, 204})
@UnexpectedResponseExceptionType(ManagementException.class)
Mono