Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
19 commits
Select commit Hold shift + click to select a range
c08b774
[Automation] Generate SDK based on TypeSpec 0.32.0
azure-sdk Aug 8, 2025
1d7dc55
revert azure-ai-projects
weidongxu-microsoft Aug 8, 2025
b3d9361
revert azure-resourcemanager-connectedcache
weidongxu-microsoft Aug 8, 2025
00c3385
revert azure-resourcemanager-connectedcache
weidongxu-microsoft Aug 8, 2025
6966d54
revert azure-resourcemanager-connectedcache
weidongxu-microsoft Aug 8, 2025
8f80ee5
revert azure-ai-documentintelligence
weidongxu-microsoft Aug 8, 2025
b144fbd
update commit ID for azure-ai-documentintelligence
weidongxu-microsoft Aug 8, 2025
034f28e
revert azure-resourcemanager-hybridconnectivity
weidongxu-microsoft Aug 8, 2025
a408201
revert azure-resourcemanager-iotoperations
weidongxu-microsoft Aug 8, 2025
8e59d73
revert azure-resourcemanager-neonpostgres
weidongxu-microsoft Aug 8, 2025
e99a16b
revert azure-resourcemanager-onlineexperimentation
weidongxu-microsoft Aug 8, 2025
72afc38
revert azure-resourcemanager-onlineexperimentatio
weidongxu-microsoft Aug 8, 2025
bf4105c
revert azure-resourcemanager-sitemanager
weidongxu-microsoft Aug 8, 2025
ffd6b66
revert azure-resourcemanager-sitemanager
weidongxu-microsoft Aug 8, 2025
5d1ce8c
sync deleted files
weidongxu-microsoft Aug 8, 2025
1a3c2e8
revert azure-developer-loadtesting
weidongxu-microsoft Aug 8, 2025
45fc7e1
revert azure-ai-documentintelligence
weidongxu-microsoft Aug 8, 2025
4a5dcef
revert azure-resourcemanager-impactreporting
weidongxu-microsoft Aug 8, 2025
57f225e
revert azure-resourcemanager-secretsstoreextension
weidongxu-microsoft Aug 8, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
revert azure-resourcemanager-connectedcache
  • Loading branch information
weidongxu-microsoft committed Aug 8, 2025
commit b3d9361e31fa74ff871013a634bee38f344301d8
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,16 @@
import com.azure.core.util.CoreUtils;
import com.azure.core.util.logging.ClientLogger;
import com.azure.resourcemanager.connectedcache.fluent.ConnectedCacheManagementClient;
import com.azure.resourcemanager.connectedcache.implementation.CacheNodesOperationsImpl;
import com.azure.resourcemanager.connectedcache.implementation.ConnectedCacheManagementClientBuilder;
import com.azure.resourcemanager.connectedcache.implementation.EnterpriseCustomerOperationsImpl;
import com.azure.resourcemanager.connectedcache.implementation.EnterpriseMccCacheNodesOperationsImpl;
import com.azure.resourcemanager.connectedcache.implementation.EnterpriseMccCustomersImpl;
import com.azure.resourcemanager.connectedcache.implementation.IspCacheNodesOperationsImpl;
import com.azure.resourcemanager.connectedcache.implementation.IspCustomersImpl;
import com.azure.resourcemanager.connectedcache.implementation.OperationsImpl;
import com.azure.resourcemanager.connectedcache.models.CacheNodesOperations;
import com.azure.resourcemanager.connectedcache.models.EnterpriseCustomerOperations;
import com.azure.resourcemanager.connectedcache.models.EnterpriseMccCacheNodesOperations;
import com.azure.resourcemanager.connectedcache.models.EnterpriseMccCustomers;
import com.azure.resourcemanager.connectedcache.models.IspCacheNodesOperations;
Expand All @@ -51,6 +55,10 @@
public final class ConnectedCacheManager {
private Operations operations;

private EnterpriseCustomerOperations enterpriseCustomerOperations;

private CacheNodesOperations cacheNodesOperations;

private IspCustomers ispCustomers;

private IspCacheNodesOperations ispCacheNodesOperations;
Expand Down Expand Up @@ -286,6 +294,31 @@ public Operations operations() {
return operations;
}

/**
* Gets the resource collection API of EnterpriseCustomerOperations. It manages EnterprisePreviewResource.
*
* @return Resource collection API of EnterpriseCustomerOperations.
*/
public EnterpriseCustomerOperations enterpriseCustomerOperations() {
if (this.enterpriseCustomerOperations == null) {
this.enterpriseCustomerOperations
= new EnterpriseCustomerOperationsImpl(clientObject.getEnterpriseCustomerOperations(), this);
}
return enterpriseCustomerOperations;
}

/**
* Gets the resource collection API of CacheNodesOperations. It manages CacheNodePreviewResource.
*
* @return Resource collection API of CacheNodesOperations.
*/
public CacheNodesOperations cacheNodesOperations() {
if (this.cacheNodesOperations == null) {
this.cacheNodesOperations = new CacheNodesOperationsImpl(clientObject.getCacheNodesOperations(), this);
}
return cacheNodesOperations;
}

/**
* Gets the resource collection API of IspCustomers. It manages IspCustomerResource.
*
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,222 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) TypeSpec Code Generator.

package com.azure.resourcemanager.connectedcache.fluent;

import com.azure.core.annotation.ReturnType;
import com.azure.core.annotation.ServiceMethod;
import com.azure.core.http.rest.PagedIterable;
import com.azure.core.http.rest.Response;
import com.azure.core.management.polling.PollResult;
import com.azure.core.util.Context;
import com.azure.core.util.polling.SyncPoller;
import com.azure.resourcemanager.connectedcache.fluent.models.CacheNodePreviewResourceInner;
import com.azure.resourcemanager.connectedcache.models.ConnectedCachePatchResource;

/**
* An instance of this class provides access to all the operations defined in CacheNodesOperationsClient.
*/
public interface CacheNodesOperationsClient {
/**
* Retrieves the properties of a cacheNodes.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param customerResourceName Name of the Customer resource.
* @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 concrete tracked resource types can be created by aliasing this type using a specific property type along
* with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Response<CacheNodePreviewResourceInner> getByResourceGroupWithResponse(String resourceGroupName,
String customerResourceName, Context context);

/**
* Retrieves the properties of a cacheNodes.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param customerResourceName Name of the Customer resource.
* @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 concrete tracked resource types can be created by aliasing this type using a specific property type.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
CacheNodePreviewResourceInner getByResourceGroup(String resourceGroupName, String customerResourceName);

/**
* Creates a cacheNodes with the specified create parameters.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param customerResourceName Name of the Customer resource.
* @param resource Resource create 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 {@link SyncPoller} for polling of concrete tracked resource types can be created by aliasing this
* type using a specific property type.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller<PollResult<CacheNodePreviewResourceInner>, CacheNodePreviewResourceInner> beginCreateorUpdate(
String resourceGroupName, String customerResourceName, CacheNodePreviewResourceInner resource);

/**
* Creates a cacheNodes with the specified create parameters.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param customerResourceName Name of the Customer resource.
* @param resource Resource create 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 SyncPoller} for polling of concrete tracked resource types can be created by aliasing this
* type using a specific property type.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller<PollResult<CacheNodePreviewResourceInner>, CacheNodePreviewResourceInner> beginCreateorUpdate(
String resourceGroupName, String customerResourceName, CacheNodePreviewResourceInner resource, Context context);

/**
* Creates a cacheNodes with the specified create parameters.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param customerResourceName Name of the Customer resource.
* @param resource Resource create 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 concrete tracked resource types can be created by aliasing this type using a specific property type.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
CacheNodePreviewResourceInner createorUpdate(String resourceGroupName, String customerResourceName,
CacheNodePreviewResourceInner resource);

/**
* Creates a cacheNodes with the specified create parameters.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param customerResourceName Name of the Customer resource.
* @param resource Resource create 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 concrete tracked resource types can be created by aliasing this type using a specific property type.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
CacheNodePreviewResourceInner createorUpdate(String resourceGroupName, String customerResourceName,
CacheNodePreviewResourceInner resource, Context context);

/**
* Deletes an existing cache Node.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param customerResourceName Name of the Customer resource.
* @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<Void> deleteWithResponse(String resourceGroupName, String customerResourceName, Context context);

/**
* Deletes an existing cache Node.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param customerResourceName Name of the Customer resource.
* @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 delete(String resourceGroupName, String customerResourceName);

/**
* updates an existing Cache Node.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param customerResourceName Name of the Customer resource.
* @param properties The resource properties to be updated.
* @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 concrete tracked resource types can be created by aliasing this type using a specific property type along
* with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Response<CacheNodePreviewResourceInner> updateWithResponse(String resourceGroupName, String customerResourceName,
ConnectedCachePatchResource properties, Context context);

/**
* updates an existing Cache Node.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param customerResourceName Name of the Customer resource.
* @param properties The resource properties to be updated.
* @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 concrete tracked resource types can be created by aliasing this type using a specific property type.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
CacheNodePreviewResourceInner update(String resourceGroupName, String customerResourceName,
ConnectedCachePatchResource properties);

/**
* Retrieves the properties of all ConnectedCache.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @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 of a CacheNodePreviewResource list operation as paginated response with
* {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
PagedIterable<CacheNodePreviewResourceInner> listByResourceGroup(String resourceGroupName);

/**
* Retrieves the properties of all ConnectedCache.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @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 of a CacheNodePreviewResource list operation as paginated response with
* {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
PagedIterable<CacheNodePreviewResourceInner> listByResourceGroup(String resourceGroupName, Context context);

/**
* Retrieves the properties of all ConnectedCaches.
*
* @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 of a CacheNodePreviewResource list operation as paginated response with
* {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
PagedIterable<CacheNodePreviewResourceInner> list();

/**
* Retrieves the properties of all ConnectedCaches.
*
* @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 of a CacheNodePreviewResource list operation as paginated response with
* {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
PagedIterable<CacheNodePreviewResourceInner> list(Context context);
}
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,20 @@ public interface ConnectedCacheManagementClient {
*/
OperationsClient getOperations();

/**
* Gets the EnterpriseCustomerOperationsClient object to access its operations.
*
* @return the EnterpriseCustomerOperationsClient object.
*/
EnterpriseCustomerOperationsClient getEnterpriseCustomerOperations();

/**
* Gets the CacheNodesOperationsClient object to access its operations.
*
* @return the CacheNodesOperationsClient object.
*/
CacheNodesOperationsClient getCacheNodesOperations();

/**
* Gets the IspCustomersClient object to access its operations.
*
Expand Down
Loading