From b4759bd5629696be65c7b0b85ea5fa59b8c768ec Mon Sep 17 00:00:00 2001 From: hongli750210 Date: Fri, 22 Mar 2024 16:33:03 +0800 Subject: [PATCH] Fixed mgmt, support convenience API for publicNetworkAccess --- .../cosmos/models/CosmosDBAccount.java | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/CosmosDBAccount.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/CosmosDBAccount.java index ca710c4a9b174..2adebade83627 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/CosmosDBAccount.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/CosmosDBAccount.java @@ -37,9 +37,9 @@ public interface CosmosDBAccount DatabaseAccountOfferType databaseAccountOfferType(); /** - * Whether the cosmos db account can be accessed from public network. + * Whether the CosmosD account can be accessed from public network. * - * @return whether the cosmos db account can be accessed from public network. + * @return whether the CosmosD account can be accessed from public network. */ PublicNetworkAccess publicNetworkAccess(); @@ -405,10 +405,10 @@ PrivateEndpointConnection.DefinitionStages.Blank defineNewPrivateEnd String name); } - /** The stage of cosmos db account definition allowing to configure network access settings. */ + /** The stage of CosmosDB account definition allowing to configure network access settings. */ interface WithPublicNetworkAccess { /** - * Disables public network access for the cosmos db account. + * Disables public network access for the CosmosDB account. * * @return the next stage of the definition */ @@ -633,16 +633,16 @@ PrivateEndpointConnection.UpdateDefinitionStages.Blank defineNewP WithOptionals withoutPrivateEndpointConnection(String name); } - /** The stage of cosmos db account update allowing to configure network access settings. */ + /** The stage of CosmosDB account update allowing to configure network access settings. */ interface WithPublicNetworkAccess { /** - * Enables public network access for the cosmos db account. + * Enables public network access for the CosmosDB account. * * @return the next stage of the update */ Update enablePublicNetworkAccess(); /** - * Disables public network access for the cosmos db account. + * Disables public network access for the CosmosDB account. * * @return the next stage of the update */