diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/CHANGELOG.md b/sdk/appcontainers/azure-resourcemanager-appcontainers/CHANGELOG.md index 60c849290ef04..4e4c074c129e6 100644 --- a/sdk/appcontainers/azure-resourcemanager-appcontainers/CHANGELOG.md +++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/CHANGELOG.md @@ -1,6 +1,8 @@ # Release History -## 1.0.0-beta.4 (Unreleased) +## 1.0.0-beta.1 (2022-08-26) + +- Azure Resource Manager ContainerAppsApi client library for Java. This package contains Microsoft Azure SDK for ContainerAppsApi Management SDK. Package tag package-2022-03. For documentation on how to use this package, please see [Azure Management Libraries for Java](https://aka.ms/azsdk/java/mgmt). ### Features Added diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/README.md b/sdk/appcontainers/azure-resourcemanager-appcontainers/README.md index c456e0cf3e79f..86ea3f5cbf862 100644 --- a/sdk/appcontainers/azure-resourcemanager-appcontainers/README.md +++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/README.md @@ -32,7 +32,7 @@ Various documentation is available to help you get started com.azure.resourcemanager azure-resourcemanager-appcontainers - 1.0.0-beta.3 + 1.0.0-beta.4 ``` [//]: # ({x-version-update-end}) diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/SAMPLE.md b/sdk/appcontainers/azure-resourcemanager-appcontainers/SAMPLE.md index a863135771ff8..90b2f7d279d1c 100644 --- a/sdk/appcontainers/azure-resourcemanager-appcontainers/SAMPLE.md +++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/SAMPLE.md @@ -433,6 +433,21 @@ import com.azure.core.util.Context; /** Samples for ContainerApps ListCustomHostnameAnalysis. */ public final class ContainerAppsListCustomHostnameAnalysisSamples { + /* + * x-ms-original-file: specification/app/resource-manager/Microsoft.App/stable/2022-03-01/examples/ContainerApps_ListCustomHostNameAnalysisErrorResponse.json + */ + /** + * Sample code: Analyse Custom Hostname Error Response. + * + * @param manager Entry point to ContainerAppsApiManager. + */ + public static void analyseCustomHostnameErrorResponse( + com.azure.resourcemanager.appcontainers.ContainerAppsApiManager manager) { + manager + .containerApps() + .listCustomHostnameAnalysisWithResponse("rg", "testcontainerApp0", "my.name.corp", Context.NONE); + } + /* * x-ms-original-file: specification/app/resource-manager/Microsoft.App/stable/2022-03-01/examples/ContainerApps_ListCustomHostNameAnalysis.json */ diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/ContainerAppsApiManager.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/ContainerAppsApiManager.java index 2cda5dd69c19a..63cdd1c776f29 100644 --- a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/ContainerAppsApiManager.java +++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/ContainerAppsApiManager.java @@ -243,7 +243,7 @@ public ContainerAppsApiManager authenticate(TokenCredential credential, AzurePro .append("-") .append("com.azure.resourcemanager.appcontainers") .append("/") - .append("1.0.0-beta.3"); + .append("1.0.0-beta.1"); if (!Configuration.getGlobalConfiguration().get("AZURE_TELEMETRY_DISABLED", false)) { userAgentBuilder .append(" (") diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/CertificatesClient.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/CertificatesClient.java index 32178bc86902a..650fb77a11cc5 100644 --- a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/CertificatesClient.java +++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/CertificatesClient.java @@ -145,7 +145,9 @@ Response deleteWithResponse( String resourceGroupName, String environmentName, String certificateName, Context context); /** - * Patches a certificate. Currently only patching of tags is supported. + * Update properties of a certificate + * + *

Patches a certificate. Currently only patching of tags is supported. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param environmentName Name of the Managed Environment. @@ -162,7 +164,9 @@ CertificateInner update( String resourceGroupName, String environmentName, String certificateName, CertificatePatch certificateEnvelope); /** - * Patches a certificate. Currently only patching of tags is supported. + * Update properties of a certificate + * + *

Patches a certificate. Currently only patching of tags is supported. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param environmentName Name of the Managed Environment. diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/ContainerAppsClient.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/ContainerAppsClient.java index 5ee0e85fc0d87..d8149b36b04a1 100644 --- a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/ContainerAppsClient.java +++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/ContainerAppsClient.java @@ -219,7 +219,9 @@ ContainerAppInner createOrUpdate( void delete(String resourceGroupName, String containerAppName, Context context); /** - * Patches a Container App using JSON Merge Patch. + * Update properties of a Container App + * + *

Patches a Container App using JSON Merge Patch. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param containerAppName Name of the Container App. @@ -235,7 +237,9 @@ SyncPoller, Void> beginUpdate( String resourceGroupName, String containerAppName, ContainerAppInner containerAppEnvelope); /** - * Patches a Container App using JSON Merge Patch. + * Update properties of a Container App + * + *

Patches a Container App using JSON Merge Patch. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param containerAppName Name of the Container App. @@ -252,7 +256,9 @@ SyncPoller, Void> beginUpdate( String resourceGroupName, String containerAppName, ContainerAppInner containerAppEnvelope, Context context); /** - * Patches a Container App using JSON Merge Patch. + * Update properties of a Container App + * + *

Patches a Container App using JSON Merge Patch. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param containerAppName Name of the Container App. @@ -266,7 +272,9 @@ SyncPoller, Void> beginUpdate( void update(String resourceGroupName, String containerAppName, ContainerAppInner containerAppEnvelope); /** - * Patches a Container App using JSON Merge Patch. + * Update properties of a Container App + * + *

Patches a Container App using JSON Merge Patch. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param containerAppName Name of the Container App. diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/DaprComponentsClient.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/DaprComponentsClient.java index 5a659b7517d82..6ba1036ec56be 100644 --- a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/DaprComponentsClient.java +++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/DaprComponentsClient.java @@ -76,7 +76,9 @@ Response getWithResponse( String resourceGroupName, String environmentName, String componentName, Context context); /** - * Creates or updates a Dapr Component in a Managed Environment. + * Creates or updates a Dapr Component. + * + *

Creates or updates a Dapr Component in a Managed Environment. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param environmentName Name of the Managed Environment. @@ -96,7 +98,9 @@ DaprComponentInner createOrUpdate( DaprComponentInner daprComponentEnvelope); /** - * Creates or updates a Dapr Component in a Managed Environment. + * Creates or updates a Dapr Component. + * + *

Creates or updates a Dapr Component in a Managed Environment. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param environmentName Name of the Managed Environment. @@ -118,7 +122,9 @@ Response createOrUpdateWithResponse( Context context); /** - * Delete a Dapr Component from a Managed Environment. + * Delete a Dapr Component. + * + *

Delete a Dapr Component from a Managed Environment. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param environmentName Name of the Managed Environment. @@ -132,7 +138,9 @@ Response createOrUpdateWithResponse( void delete(String resourceGroupName, String environmentName, String componentName); /** - * Delete a Dapr Component from a Managed Environment. + * Delete a Dapr Component. + * + *

Delete a Dapr Component from a Managed Environment. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param environmentName Name of the Managed Environment. diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/ManagedEnvironmentsClient.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/ManagedEnvironmentsClient.java index 338dd07ce2e96..39fb74de4c97f 100644 --- a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/ManagedEnvironmentsClient.java +++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/ManagedEnvironmentsClient.java @@ -16,7 +16,9 @@ /** An instance of this class provides access to all the operations defined in ManagedEnvironmentsClient. */ public interface ManagedEnvironmentsClient { /** - * Get all Managed Environments for a subscription. + * Get all Environments for a subscription. + * + *

Get all Managed Environments for a subscription. * * @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request * is rejected by server. @@ -27,7 +29,9 @@ public interface ManagedEnvironmentsClient { PagedIterable list(); /** - * Get all Managed Environments for a subscription. + * Get all Environments for a subscription. + * + *

Get all Managed Environments for a subscription. * * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -40,7 +44,9 @@ public interface ManagedEnvironmentsClient { PagedIterable list(Context context); /** - * Get all the Managed Environments in a resource group. + * Get all the Environments in a resource group. + * + *

Get all the Managed Environments in a resource group. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -53,7 +59,9 @@ public interface ManagedEnvironmentsClient { PagedIterable listByResourceGroup(String resourceGroupName); /** - * Get all the Managed Environments in a resource group. + * Get all the Environments in a resource group. + * + *

Get all the Managed Environments in a resource group. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param context The context to associate with this operation. @@ -67,7 +75,9 @@ public interface ManagedEnvironmentsClient { PagedIterable listByResourceGroup(String resourceGroupName, Context context); /** - * Get the properties of a Managed Environment used to host container apps. + * Get the properties of a Managed Environment. + * + *

Get the properties of a Managed Environment used to host container apps. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param environmentName Name of the Environment. @@ -81,7 +91,9 @@ public interface ManagedEnvironmentsClient { ManagedEnvironmentInner getByResourceGroup(String resourceGroupName, String environmentName); /** - * Get the properties of a Managed Environment used to host container apps. + * Get the properties of a Managed Environment. + * + *

Get the properties of a Managed Environment used to host container apps. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param environmentName Name of the Environment. @@ -97,7 +109,9 @@ Response getByResourceGroupWithResponse( String resourceGroupName, String environmentName, Context context); /** - * Creates or updates a Managed Environment used to host container apps. + * Creates or updates a Managed Environment. + * + *

Creates or updates a Managed Environment used to host container apps. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param environmentName Name of the Environment. @@ -113,7 +127,9 @@ SyncPoller, ManagedEnvironmentInner> beginCr String resourceGroupName, String environmentName, ManagedEnvironmentInner environmentEnvelope); /** - * Creates or updates a Managed Environment used to host container apps. + * Creates or updates a Managed Environment. + * + *

Creates or updates a Managed Environment used to host container apps. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param environmentName Name of the Environment. @@ -130,7 +146,9 @@ SyncPoller, ManagedEnvironmentInner> beginCr String resourceGroupName, String environmentName, ManagedEnvironmentInner environmentEnvelope, Context context); /** - * Creates or updates a Managed Environment used to host container apps. + * Creates or updates a Managed Environment. + * + *

Creates or updates a Managed Environment used to host container apps. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param environmentName Name of the Environment. @@ -146,7 +164,9 @@ ManagedEnvironmentInner createOrUpdate( String resourceGroupName, String environmentName, ManagedEnvironmentInner environmentEnvelope); /** - * Creates or updates a Managed Environment used to host container apps. + * Creates or updates a Managed Environment. + * + *

Creates or updates a Managed Environment used to host container apps. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param environmentName Name of the Environment. @@ -163,7 +183,9 @@ ManagedEnvironmentInner createOrUpdate( String resourceGroupName, String environmentName, ManagedEnvironmentInner environmentEnvelope, Context context); /** - * Delete a Managed Environment if it does not have any container apps. + * Delete a Managed Environment. + * + *

Delete a Managed Environment if it does not have any container apps. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param environmentName Name of the Environment. @@ -177,7 +199,9 @@ ManagedEnvironmentInner createOrUpdate( SyncPoller, Void> beginDelete(String resourceGroupName, String environmentName); /** - * Delete a Managed Environment if it does not have any container apps. + * Delete a Managed Environment. + * + *

Delete a Managed Environment if it does not have any container apps. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param environmentName Name of the Environment. @@ -192,7 +216,9 @@ ManagedEnvironmentInner createOrUpdate( SyncPoller, Void> beginDelete(String resourceGroupName, String environmentName, Context context); /** - * Delete a Managed Environment if it does not have any container apps. + * Delete a Managed Environment. + * + *

Delete a Managed Environment if it does not have any container apps. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param environmentName Name of the Environment. @@ -205,7 +231,9 @@ ManagedEnvironmentInner createOrUpdate( void delete(String resourceGroupName, String environmentName); /** - * Delete a Managed Environment if it does not have any container apps. + * Delete a Managed Environment. + * + *

Delete a Managed Environment if it does not have any container apps. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param environmentName Name of the Environment. @@ -219,7 +247,9 @@ ManagedEnvironmentInner createOrUpdate( void delete(String resourceGroupName, String environmentName, Context context); /** - * Patches a Managed Environment using JSON Merge Patch. + * Update Managed Environment's properties. + * + *

Patches a Managed Environment using JSON Merge Patch. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param environmentName Name of the Environment. @@ -235,7 +265,9 @@ SyncPoller, Void> beginUpdate( String resourceGroupName, String environmentName, ManagedEnvironmentInner environmentEnvelope); /** - * Patches a Managed Environment using JSON Merge Patch. + * Update Managed Environment's properties. + * + *

Patches a Managed Environment using JSON Merge Patch. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param environmentName Name of the Environment. @@ -252,7 +284,9 @@ SyncPoller, Void> beginUpdate( String resourceGroupName, String environmentName, ManagedEnvironmentInner environmentEnvelope, Context context); /** - * Patches a Managed Environment using JSON Merge Patch. + * Update Managed Environment's properties. + * + *

Patches a Managed Environment using JSON Merge Patch. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param environmentName Name of the Environment. @@ -266,7 +300,9 @@ SyncPoller, Void> beginUpdate( void update(String resourceGroupName, String environmentName, ManagedEnvironmentInner environmentEnvelope); /** - * Patches a Managed Environment using JSON Merge Patch. + * Update Managed Environment's properties. + * + *

Patches a Managed Environment using JSON Merge Patch. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param environmentName Name of the Environment. diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/NamespacesClient.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/NamespacesClient.java index 1a0dc5841f94b..50960ffcbc3b5 100644 --- a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/NamespacesClient.java +++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/NamespacesClient.java @@ -14,7 +14,9 @@ /** An instance of this class provides access to all the operations defined in NamespacesClient. */ public interface NamespacesClient { /** - * Checks if resource name is available. + * Checks the resource name availability. + * + *

Checks if resource name is available. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param environmentName Name of the Managed Environment. @@ -30,7 +32,9 @@ CheckNameAvailabilityResponseInner checkNameAvailability( String resourceGroupName, String environmentName, CheckNameAvailabilityRequest checkNameAvailabilityRequest); /** - * Checks if resource name is available. + * Checks the resource name availability. + * + *

Checks if resource name is available. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param environmentName Name of the Managed Environment. diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/models/AuthConfigProperties.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/models/AuthConfigProperties.java index 84c4c35a50198..f693d5b9037ff 100644 --- a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/models/AuthConfigProperties.java +++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/models/AuthConfigProperties.java @@ -16,37 +16,34 @@ @Fluent public final class AuthConfigProperties { /* - * The configuration settings of the platform of ContainerApp Service - * Authentication/Authorization. + * The configuration settings of the platform of ContainerApp Service Authentication/Authorization. */ @JsonProperty(value = "platform") private AuthPlatform platform; /* - * The configuration settings that determines the validation flow of users - * using Service Authentication/Authorization. + * The configuration settings that determines the validation flow of users using Service + * Authentication/Authorization. */ @JsonProperty(value = "globalValidation") private GlobalValidation globalValidation; /* - * The configuration settings of each of the identity providers used to - * configure ContainerApp Service Authentication/Authorization. + * The configuration settings of each of the identity providers used to configure ContainerApp Service + * Authentication/Authorization. */ @JsonProperty(value = "identityProviders") private IdentityProviders identityProviders; /* - * The configuration settings of the login flow of users using ContainerApp - * Service Authentication/Authorization. + * The configuration settings of the login flow of users using ContainerApp Service Authentication/Authorization. */ @JsonProperty(value = "login") private Login login; /* - * The configuration settings of the HTTP requests for authentication and - * authorization requests made against ContainerApp Service - * Authentication/Authorization. + * The configuration settings of the HTTP requests for authentication and authorization requests made against + * ContainerApp Service Authentication/Authorization. */ @JsonProperty(value = "httpSettings") private HttpSettings httpSettings; diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/models/CertificateInner.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/models/CertificateInner.java index af4a68117d002..9fa25b27dbf49 100644 --- a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/models/CertificateInner.java +++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/models/CertificateInner.java @@ -21,8 +21,7 @@ public final class CertificateInner extends Resource { private CertificateProperties properties; /* - * Azure Resource Manager metadata containing createdBy and modifiedBy - * information. + * Azure Resource Manager metadata containing createdBy and modifiedBy information. */ @JsonProperty(value = "systemData", access = JsonProperty.Access.WRITE_ONLY) private SystemData systemData; diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/models/ContainerAppInner.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/models/ContainerAppInner.java index 89661084471e9..c62badd5060fa 100644 --- a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/models/ContainerAppInner.java +++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/models/ContainerAppInner.java @@ -18,8 +18,8 @@ @Fluent public final class ContainerAppInner extends Resource { /* - * managed identities for the Container App to interact with other Azure - * services without maintaining any secrets or credentials in code. + * managed identities for the Container App to interact with other Azure services without maintaining any secrets + * or credentials in code. */ @JsonProperty(value = "identity") private ManagedServiceIdentity identity; diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/models/CustomHostnameAnalysisResultInner.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/models/CustomHostnameAnalysisResultInner.java index 612f3c3383d77..a0b246103f13b 100644 --- a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/models/CustomHostnameAnalysisResultInner.java +++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/models/CustomHostnameAnalysisResultInner.java @@ -5,46 +5,80 @@ package com.azure.resourcemanager.appcontainers.fluent.models; import com.azure.core.annotation.Fluent; -import com.azure.core.management.ProxyResource; -import com.azure.core.management.SystemData; -import com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseError; +import com.azure.resourcemanager.appcontainers.models.CustomHostnameAnalysisResultCustomDomainVerificationFailureInfo; import com.azure.resourcemanager.appcontainers.models.DnsVerificationTestResult; import com.fasterxml.jackson.annotation.JsonProperty; import java.util.List; /** Custom domain analysis. */ @Fluent -public final class CustomHostnameAnalysisResultInner extends ProxyResource { +public final class CustomHostnameAnalysisResultInner { /* - * CustomHostnameAnalysisResult resource specific properties + * Host name that was analyzed */ - @JsonProperty(value = "properties") - private CustomHostnameAnalysisResultProperties innerProperties; + @JsonProperty(value = "hostName", access = JsonProperty.Access.WRITE_ONLY) + private String hostname; /* - * Azure Resource Manager metadata containing createdBy and modifiedBy - * information. + * true if hostname is already verified; otherwise, false. */ - @JsonProperty(value = "systemData", access = JsonProperty.Access.WRITE_ONLY) - private SystemData systemData; + @JsonProperty(value = "isHostnameAlreadyVerified", access = JsonProperty.Access.WRITE_ONLY) + private Boolean isHostnameAlreadyVerified; - /** - * Get the innerProperties property: CustomHostnameAnalysisResult resource specific properties. - * - * @return the innerProperties value. + /* + * DNS verification test result. */ - private CustomHostnameAnalysisResultProperties innerProperties() { - return this.innerProperties; - } + @JsonProperty(value = "customDomainVerificationTest", access = JsonProperty.Access.WRITE_ONLY) + private DnsVerificationTestResult customDomainVerificationTest; - /** - * Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information. - * - * @return the systemData value. + /* + * Raw failure information if DNS verification fails. */ - public SystemData systemData() { - return this.systemData; - } + @JsonProperty(value = "customDomainVerificationFailureInfo", access = JsonProperty.Access.WRITE_ONLY) + private CustomHostnameAnalysisResultCustomDomainVerificationFailureInfo customDomainVerificationFailureInfo; + + /* + * true if there is a conflict on the Container App's managed environment; otherwise, + * false. + */ + @JsonProperty(value = "hasConflictOnManagedEnvironment", access = JsonProperty.Access.WRITE_ONLY) + private Boolean hasConflictOnManagedEnvironment; + + /* + * Name of the conflicting Container App on the Managed Environment if it's within the same subscription. + */ + @JsonProperty(value = "conflictingContainerAppResourceId", access = JsonProperty.Access.WRITE_ONLY) + private String conflictingContainerAppResourceId; + + /* + * CName records visible for this hostname. + */ + @JsonProperty(value = "cNameRecords") + private List cNameRecords; + + /* + * TXT records visible for this hostname. + */ + @JsonProperty(value = "txtRecords") + private List txtRecords; + + /* + * A records visible for this hostname. + */ + @JsonProperty(value = "aRecords") + private List aRecords; + + /* + * Alternate CName records visible for this hostname. + */ + @JsonProperty(value = "alternateCNameRecords") + private List alternateCNameRecords; + + /* + * Alternate TXT records visible for this hostname. + */ + @JsonProperty(value = "alternateTxtRecords") + private List alternateTxtRecords; /** * Get the hostname property: Host name that was analyzed. @@ -52,7 +86,7 @@ public SystemData systemData() { * @return the hostname value. */ public String hostname() { - return this.innerProperties() == null ? null : this.innerProperties().hostname(); + return this.hostname; } /** @@ -62,7 +96,7 @@ public String hostname() { * @return the isHostnameAlreadyVerified value. */ public Boolean isHostnameAlreadyVerified() { - return this.innerProperties() == null ? null : this.innerProperties().isHostnameAlreadyVerified(); + return this.isHostnameAlreadyVerified; } /** @@ -71,7 +105,7 @@ public Boolean isHostnameAlreadyVerified() { * @return the customDomainVerificationTest value. */ public DnsVerificationTestResult customDomainVerificationTest() { - return this.innerProperties() == null ? null : this.innerProperties().customDomainVerificationTest(); + return this.customDomainVerificationTest; } /** @@ -79,8 +113,8 @@ public DnsVerificationTestResult customDomainVerificationTest() { * * @return the customDomainVerificationFailureInfo value. */ - public DefaultErrorResponseError customDomainVerificationFailureInfo() { - return this.innerProperties() == null ? null : this.innerProperties().customDomainVerificationFailureInfo(); + public CustomHostnameAnalysisResultCustomDomainVerificationFailureInfo customDomainVerificationFailureInfo() { + return this.customDomainVerificationFailureInfo; } /** @@ -90,7 +124,7 @@ public DefaultErrorResponseError customDomainVerificationFailureInfo() { * @return the hasConflictOnManagedEnvironment value. */ public Boolean hasConflictOnManagedEnvironment() { - return this.innerProperties() == null ? null : this.innerProperties().hasConflictOnManagedEnvironment(); + return this.hasConflictOnManagedEnvironment; } /** @@ -100,7 +134,7 @@ public Boolean hasConflictOnManagedEnvironment() { * @return the conflictingContainerAppResourceId value. */ public String conflictingContainerAppResourceId() { - return this.innerProperties() == null ? null : this.innerProperties().conflictingContainerAppResourceId(); + return this.conflictingContainerAppResourceId; } /** @@ -109,7 +143,7 @@ public String conflictingContainerAppResourceId() { * @return the cNameRecords value. */ public List cNameRecords() { - return this.innerProperties() == null ? null : this.innerProperties().cNameRecords(); + return this.cNameRecords; } /** @@ -119,10 +153,7 @@ public List cNameRecords() { * @return the CustomHostnameAnalysisResultInner object itself. */ public CustomHostnameAnalysisResultInner withCNameRecords(List cNameRecords) { - if (this.innerProperties() == null) { - this.innerProperties = new CustomHostnameAnalysisResultProperties(); - } - this.innerProperties().withCNameRecords(cNameRecords); + this.cNameRecords = cNameRecords; return this; } @@ -132,7 +163,7 @@ public CustomHostnameAnalysisResultInner withCNameRecords(List cNameReco * @return the txtRecords value. */ public List txtRecords() { - return this.innerProperties() == null ? null : this.innerProperties().txtRecords(); + return this.txtRecords; } /** @@ -142,10 +173,7 @@ public List txtRecords() { * @return the CustomHostnameAnalysisResultInner object itself. */ public CustomHostnameAnalysisResultInner withTxtRecords(List txtRecords) { - if (this.innerProperties() == null) { - this.innerProperties = new CustomHostnameAnalysisResultProperties(); - } - this.innerProperties().withTxtRecords(txtRecords); + this.txtRecords = txtRecords; return this; } @@ -155,7 +183,7 @@ public CustomHostnameAnalysisResultInner withTxtRecords(List txtRecords) * @return the aRecords value. */ public List aRecords() { - return this.innerProperties() == null ? null : this.innerProperties().aRecords(); + return this.aRecords; } /** @@ -165,10 +193,7 @@ public List aRecords() { * @return the CustomHostnameAnalysisResultInner object itself. */ public CustomHostnameAnalysisResultInner withARecords(List aRecords) { - if (this.innerProperties() == null) { - this.innerProperties = new CustomHostnameAnalysisResultProperties(); - } - this.innerProperties().withARecords(aRecords); + this.aRecords = aRecords; return this; } @@ -178,7 +203,7 @@ public CustomHostnameAnalysisResultInner withARecords(List aRecords) { * @return the alternateCNameRecords value. */ public List alternateCNameRecords() { - return this.innerProperties() == null ? null : this.innerProperties().alternateCNameRecords(); + return this.alternateCNameRecords; } /** @@ -188,10 +213,7 @@ public List alternateCNameRecords() { * @return the CustomHostnameAnalysisResultInner object itself. */ public CustomHostnameAnalysisResultInner withAlternateCNameRecords(List alternateCNameRecords) { - if (this.innerProperties() == null) { - this.innerProperties = new CustomHostnameAnalysisResultProperties(); - } - this.innerProperties().withAlternateCNameRecords(alternateCNameRecords); + this.alternateCNameRecords = alternateCNameRecords; return this; } @@ -201,7 +223,7 @@ public CustomHostnameAnalysisResultInner withAlternateCNameRecords(List * @return the alternateTxtRecords value. */ public List alternateTxtRecords() { - return this.innerProperties() == null ? null : this.innerProperties().alternateTxtRecords(); + return this.alternateTxtRecords; } /** @@ -211,10 +233,7 @@ public List alternateTxtRecords() { * @return the CustomHostnameAnalysisResultInner object itself. */ public CustomHostnameAnalysisResultInner withAlternateTxtRecords(List alternateTxtRecords) { - if (this.innerProperties() == null) { - this.innerProperties = new CustomHostnameAnalysisResultProperties(); - } - this.innerProperties().withAlternateTxtRecords(alternateTxtRecords); + this.alternateTxtRecords = alternateTxtRecords; return this; } @@ -224,8 +243,8 @@ public CustomHostnameAnalysisResultInner withAlternateTxtRecords(List al * @throws IllegalArgumentException thrown if the instance is not valid. */ public void validate() { - if (innerProperties() != null) { - innerProperties().validate(); + if (customDomainVerificationFailureInfo() != null) { + customDomainVerificationFailureInfo().validate(); } } } diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/models/CustomHostnameAnalysisResultProperties.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/models/CustomHostnameAnalysisResultProperties.java deleted file mode 100644 index c567bf14bcfdf..0000000000000 --- a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/models/CustomHostnameAnalysisResultProperties.java +++ /dev/null @@ -1,252 +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.appcontainers.fluent.models; - -import com.azure.core.annotation.Fluent; -import com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseError; -import com.azure.resourcemanager.appcontainers.models.DnsVerificationTestResult; -import com.fasterxml.jackson.annotation.JsonProperty; -import java.util.List; - -/** CustomHostnameAnalysisResult resource specific properties. */ -@Fluent -public final class CustomHostnameAnalysisResultProperties { - /* - * Host name that was analyzed - */ - @JsonProperty(value = "hostName", access = JsonProperty.Access.WRITE_ONLY) - private String hostname; - - /* - * true if hostname is already verified; otherwise, - * false. - */ - @JsonProperty(value = "isHostnameAlreadyVerified", access = JsonProperty.Access.WRITE_ONLY) - private Boolean isHostnameAlreadyVerified; - - /* - * DNS verification test result. - */ - @JsonProperty(value = "customDomainVerificationTest", access = JsonProperty.Access.WRITE_ONLY) - private DnsVerificationTestResult customDomainVerificationTest; - - /* - * Raw failure information if DNS verification fails. - */ - @JsonProperty(value = "customDomainVerificationFailureInfo", access = JsonProperty.Access.WRITE_ONLY) - private DefaultErrorResponseError customDomainVerificationFailureInfo; - - /* - * true if there is a conflict on the Container App's managed - * environment; otherwise, false. - */ - @JsonProperty(value = "hasConflictOnManagedEnvironment", access = JsonProperty.Access.WRITE_ONLY) - private Boolean hasConflictOnManagedEnvironment; - - /* - * Name of the conflicting Container App on the Managed Environment if it's - * within the same subscription. - */ - @JsonProperty(value = "conflictingContainerAppResourceId", access = JsonProperty.Access.WRITE_ONLY) - private String conflictingContainerAppResourceId; - - /* - * CName records visible for this hostname. - */ - @JsonProperty(value = "cNameRecords") - private List cNameRecords; - - /* - * TXT records visible for this hostname. - */ - @JsonProperty(value = "txtRecords") - private List txtRecords; - - /* - * A records visible for this hostname. - */ - @JsonProperty(value = "aRecords") - private List aRecords; - - /* - * Alternate CName records visible for this hostname. - */ - @JsonProperty(value = "alternateCNameRecords") - private List alternateCNameRecords; - - /* - * Alternate TXT records visible for this hostname. - */ - @JsonProperty(value = "alternateTxtRecords") - private List alternateTxtRecords; - - /** - * Get the hostname property: Host name that was analyzed. - * - * @return the hostname value. - */ - public String hostname() { - return this.hostname; - } - - /** - * Get the isHostnameAlreadyVerified property: <code>true</code> if hostname is already verified; - * otherwise, <code>false</code>. - * - * @return the isHostnameAlreadyVerified value. - */ - public Boolean isHostnameAlreadyVerified() { - return this.isHostnameAlreadyVerified; - } - - /** - * Get the customDomainVerificationTest property: DNS verification test result. - * - * @return the customDomainVerificationTest value. - */ - public DnsVerificationTestResult customDomainVerificationTest() { - return this.customDomainVerificationTest; - } - - /** - * Get the customDomainVerificationFailureInfo property: Raw failure information if DNS verification fails. - * - * @return the customDomainVerificationFailureInfo value. - */ - public DefaultErrorResponseError customDomainVerificationFailureInfo() { - return this.customDomainVerificationFailureInfo; - } - - /** - * Get the hasConflictOnManagedEnvironment property: <code>true</code> if there is a conflict on the - * Container App's managed environment; otherwise, <code>false</code>. - * - * @return the hasConflictOnManagedEnvironment value. - */ - public Boolean hasConflictOnManagedEnvironment() { - return this.hasConflictOnManagedEnvironment; - } - - /** - * Get the conflictingContainerAppResourceId property: Name of the conflicting Container App on the Managed - * Environment if it's within the same subscription. - * - * @return the conflictingContainerAppResourceId value. - */ - public String conflictingContainerAppResourceId() { - return this.conflictingContainerAppResourceId; - } - - /** - * Get the cNameRecords property: CName records visible for this hostname. - * - * @return the cNameRecords value. - */ - public List cNameRecords() { - return this.cNameRecords; - } - - /** - * Set the cNameRecords property: CName records visible for this hostname. - * - * @param cNameRecords the cNameRecords value to set. - * @return the CustomHostnameAnalysisResultProperties object itself. - */ - public CustomHostnameAnalysisResultProperties withCNameRecords(List cNameRecords) { - this.cNameRecords = cNameRecords; - return this; - } - - /** - * Get the txtRecords property: TXT records visible for this hostname. - * - * @return the txtRecords value. - */ - public List txtRecords() { - return this.txtRecords; - } - - /** - * Set the txtRecords property: TXT records visible for this hostname. - * - * @param txtRecords the txtRecords value to set. - * @return the CustomHostnameAnalysisResultProperties object itself. - */ - public CustomHostnameAnalysisResultProperties withTxtRecords(List txtRecords) { - this.txtRecords = txtRecords; - return this; - } - - /** - * Get the aRecords property: A records visible for this hostname. - * - * @return the aRecords value. - */ - public List aRecords() { - return this.aRecords; - } - - /** - * Set the aRecords property: A records visible for this hostname. - * - * @param aRecords the aRecords value to set. - * @return the CustomHostnameAnalysisResultProperties object itself. - */ - public CustomHostnameAnalysisResultProperties withARecords(List aRecords) { - this.aRecords = aRecords; - return this; - } - - /** - * Get the alternateCNameRecords property: Alternate CName records visible for this hostname. - * - * @return the alternateCNameRecords value. - */ - public List alternateCNameRecords() { - return this.alternateCNameRecords; - } - - /** - * Set the alternateCNameRecords property: Alternate CName records visible for this hostname. - * - * @param alternateCNameRecords the alternateCNameRecords value to set. - * @return the CustomHostnameAnalysisResultProperties object itself. - */ - public CustomHostnameAnalysisResultProperties withAlternateCNameRecords(List alternateCNameRecords) { - this.alternateCNameRecords = alternateCNameRecords; - return this; - } - - /** - * Get the alternateTxtRecords property: Alternate TXT records visible for this hostname. - * - * @return the alternateTxtRecords value. - */ - public List alternateTxtRecords() { - return this.alternateTxtRecords; - } - - /** - * Set the alternateTxtRecords property: Alternate TXT records visible for this hostname. - * - * @param alternateTxtRecords the alternateTxtRecords value to set. - * @return the CustomHostnameAnalysisResultProperties object itself. - */ - public CustomHostnameAnalysisResultProperties withAlternateTxtRecords(List alternateTxtRecords) { - this.alternateTxtRecords = alternateTxtRecords; - return this; - } - - /** - * Validates the instance. - * - * @throws IllegalArgumentException thrown if the instance is not valid. - */ - public void validate() { - if (customDomainVerificationFailureInfo() != null) { - customDomainVerificationFailureInfo().validate(); - } - } -} diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/models/DaprComponentInner.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/models/DaprComponentInner.java index 7d742a9d49b30..3bb7c38d9e6e1 100644 --- a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/models/DaprComponentInner.java +++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/models/DaprComponentInner.java @@ -22,8 +22,7 @@ public final class DaprComponentInner extends ProxyResource { private DaprComponentProperties innerProperties; /* - * Azure Resource Manager metadata containing createdBy and modifiedBy - * information. + * Azure Resource Manager metadata containing createdBy and modifiedBy information. */ @JsonProperty(value = "systemData", access = JsonProperty.Access.WRITE_ONLY) private SystemData systemData; diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/models/ManagedEnvironmentInner.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/models/ManagedEnvironmentInner.java index 6eb3f4a165a4a..e0c9b882b223a 100644 --- a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/models/ManagedEnvironmentInner.java +++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/models/ManagedEnvironmentInner.java @@ -23,8 +23,7 @@ public final class ManagedEnvironmentInner extends Resource { private ManagedEnvironmentProperties innerProperties; /* - * Azure Resource Manager metadata containing createdBy and modifiedBy - * information. + * Azure Resource Manager metadata containing createdBy and modifiedBy information. */ @JsonProperty(value = "systemData", access = JsonProperty.Access.WRITE_ONLY) private SystemData systemData; diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/models/ManagedEnvironmentProperties.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/models/ManagedEnvironmentProperties.java index 3a58e75fc37d0..3e681ebeb864c 100644 --- a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/models/ManagedEnvironmentProperties.java +++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/models/ManagedEnvironmentProperties.java @@ -20,15 +20,13 @@ public final class ManagedEnvironmentProperties { private EnvironmentProvisioningState provisioningState; /* - * Azure Monitor instrumentation key used by Dapr to export Service to - * Service communication telemetry + * Azure Monitor instrumentation key used by Dapr to export Service to Service communication telemetry */ @JsonProperty(value = "daprAIInstrumentationKey") private String daprAIInstrumentationKey; /* - * Application Insights connection string used by Dapr to export Service to - * Service communication telemetry + * Application Insights connection string used by Dapr to export Service to Service communication telemetry */ @JsonProperty(value = "daprAIConnectionString") private String daprAIConnectionString; diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/models/ManagedEnvironmentStorageInner.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/models/ManagedEnvironmentStorageInner.java index 887f1f9bd6aae..d022b2eaf5d69 100644 --- a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/models/ManagedEnvironmentStorageInner.java +++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/models/ManagedEnvironmentStorageInner.java @@ -20,8 +20,7 @@ public final class ManagedEnvironmentStorageInner extends ProxyResource { private ManagedEnvironmentStorageProperties properties; /* - * Azure Resource Manager metadata containing createdBy and modifiedBy - * information. + * Azure Resource Manager metadata containing createdBy and modifiedBy information. */ @JsonProperty(value = "systemData", access = JsonProperty.Access.WRITE_ONLY) private SystemData systemData; diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/models/ReplicaInner.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/models/ReplicaInner.java index 1fdacd15d9fec..ea79ba7d1781f 100644 --- a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/models/ReplicaInner.java +++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/models/ReplicaInner.java @@ -22,8 +22,7 @@ public final class ReplicaInner extends ProxyResource { private ReplicaProperties innerProperties; /* - * Azure Resource Manager metadata containing createdBy and modifiedBy - * information. + * Azure Resource Manager metadata containing createdBy and modifiedBy information. */ @JsonProperty(value = "systemData", access = JsonProperty.Access.WRITE_ONLY) private SystemData systemData; diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/models/RevisionInner.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/models/RevisionInner.java index 10388304b930d..56228eb8a0bf7 100644 --- a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/models/RevisionInner.java +++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/models/RevisionInner.java @@ -23,8 +23,7 @@ public final class RevisionInner extends ProxyResource { private RevisionProperties innerProperties; /* - * Azure Resource Manager metadata containing createdBy and modifiedBy - * information. + * Azure Resource Manager metadata containing createdBy and modifiedBy information. */ @JsonProperty(value = "systemData", access = JsonProperty.Access.WRITE_ONLY) private SystemData systemData; diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/models/SourceControlInner.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/models/SourceControlInner.java index 35e2285d769b3..980c0cac9ee04 100644 --- a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/models/SourceControlInner.java +++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/models/SourceControlInner.java @@ -21,8 +21,7 @@ public final class SourceControlInner extends ProxyResource { private SourceControlProperties innerProperties; /* - * Azure Resource Manager metadata containing createdBy and modifiedBy - * information. + * Azure Resource Manager metadata containing createdBy and modifiedBy information. */ @JsonProperty(value = "systemData", access = JsonProperty.Access.WRITE_ONLY) private SystemData systemData; diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/implementation/CertificatesClientImpl.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/implementation/CertificatesClientImpl.java index 419aa65a6c9fd..a3bbcdc8d56be 100644 --- a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/implementation/CertificatesClientImpl.java +++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/implementation/CertificatesClientImpl.java @@ -866,7 +866,9 @@ public Response deleteWithResponse( } /** - * Patches a certificate. Currently only patching of tags is supported. + * Update properties of a certificate + * + *

Patches a certificate. Currently only patching of tags is supported. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param environmentName Name of the Managed Environment. @@ -933,7 +935,9 @@ private Mono> updateWithResponseAsync( } /** - * Patches a certificate. Currently only patching of tags is supported. + * Update properties of a certificate + * + *

Patches a certificate. Currently only patching of tags is supported. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param environmentName Name of the Managed Environment. @@ -999,7 +1003,9 @@ private Mono> updateWithResponseAsync( } /** - * Patches a certificate. Currently only patching of tags is supported. + * Update properties of a certificate + * + *

Patches a certificate. Currently only patching of tags is supported. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param environmentName Name of the Managed Environment. @@ -1022,7 +1028,9 @@ private Mono updateAsync( } /** - * Patches a certificate. Currently only patching of tags is supported. + * Update properties of a certificate + * + *

Patches a certificate. Currently only patching of tags is supported. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param environmentName Name of the Managed Environment. @@ -1043,7 +1051,9 @@ public CertificateInner update( } /** - * Patches a certificate. Currently only patching of tags is supported. + * Update properties of a certificate + * + *

Patches a certificate. Currently only patching of tags is supported. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param environmentName Name of the Managed Environment. @@ -1071,7 +1081,8 @@ public Response updateWithResponse( /** * Get the next page of items. * - * @param nextLink The nextLink parameter. + * @param nextLink The URL to get the next list of items + *

The nextLink parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws DefaultErrorResponseErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -1106,7 +1117,8 @@ private Mono> listNextSinglePageAsync(String nex /** * Get the next page of items. * - * @param nextLink The nextLink parameter. + * @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 DefaultErrorResponseErrorException thrown if the request is rejected by server. diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/implementation/ContainerAppsApiClientBuilder.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/implementation/ContainerAppsApiClientBuilder.java index 7c198677b0fce..a05676414f52a 100644 --- a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/implementation/ContainerAppsApiClientBuilder.java +++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/implementation/ContainerAppsApiClientBuilder.java @@ -119,24 +119,26 @@ public ContainerAppsApiClientBuilder serializerAdapter(SerializerAdapter seriali * @return an instance of ContainerAppsApiClientImpl. */ public ContainerAppsApiClientImpl buildClient() { - if (endpoint == null) { - this.endpoint = "https://management.azure.com"; - } - if (environment == null) { - this.environment = AzureEnvironment.AZURE; - } - if (pipeline == null) { - this.pipeline = new HttpPipelineBuilder().policies(new UserAgentPolicy(), new RetryPolicy()).build(); - } - if (defaultPollInterval == null) { - this.defaultPollInterval = Duration.ofSeconds(30); - } - if (serializerAdapter == null) { - this.serializerAdapter = SerializerFactory.createDefaultManagementSerializerAdapter(); - } + String localEndpoint = (endpoint != null) ? endpoint : "https://management.azure.com"; + AzureEnvironment localEnvironment = (environment != null) ? environment : AzureEnvironment.AZURE; + HttpPipeline localPipeline = + (pipeline != null) + ? pipeline + : new HttpPipelineBuilder().policies(new UserAgentPolicy(), new RetryPolicy()).build(); + Duration localDefaultPollInterval = + (defaultPollInterval != null) ? defaultPollInterval : Duration.ofSeconds(30); + SerializerAdapter localSerializerAdapter = + (serializerAdapter != null) + ? serializerAdapter + : SerializerFactory.createDefaultManagementSerializerAdapter(); ContainerAppsApiClientImpl client = new ContainerAppsApiClientImpl( - pipeline, serializerAdapter, defaultPollInterval, environment, subscriptionId, endpoint); + localPipeline, + localSerializerAdapter, + localDefaultPollInterval, + localEnvironment, + subscriptionId, + localEndpoint); return client; } } diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/implementation/ContainerAppsAuthConfigsClientImpl.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/implementation/ContainerAppsAuthConfigsClientImpl.java index 3a7906db0ca57..3a5155cdb1dc6 100644 --- a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/implementation/ContainerAppsAuthConfigsClientImpl.java +++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/implementation/ContainerAppsAuthConfigsClientImpl.java @@ -827,7 +827,8 @@ public Response deleteWithResponse( /** * Get the next page of items. * - * @param nextLink The nextLink parameter. + * @param nextLink The URL to get the next list of items + *

The nextLink parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws DefaultErrorResponseErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -864,7 +865,8 @@ private Mono> listByContainerAppNextSinglePageAsy /** * Get the next page of items. * - * @param nextLink The nextLink parameter. + * @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 DefaultErrorResponseErrorException thrown if the request is rejected by server. diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/implementation/ContainerAppsClientImpl.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/implementation/ContainerAppsClientImpl.java index e458a6c8c21f1..6e4f49ff11680 100644 --- a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/implementation/ContainerAppsClientImpl.java +++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/implementation/ContainerAppsClientImpl.java @@ -1163,7 +1163,9 @@ public void delete(String resourceGroupName, String containerAppName, Context co } /** - * Patches a Container App using JSON Merge Patch. + * Update properties of a Container App + * + *

Patches a Container App using JSON Merge Patch. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param containerAppName Name of the Container App. @@ -1220,7 +1222,9 @@ private Mono>> updateWithResponseAsync( } /** - * Patches a Container App using JSON Merge Patch. + * Update properties of a Container App + * + *

Patches a Container App using JSON Merge Patch. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param containerAppName Name of the Container App. @@ -1275,7 +1279,9 @@ private Mono>> updateWithResponseAsync( } /** - * Patches a Container App using JSON Merge Patch. + * Update properties of a Container App + * + *

Patches a Container App using JSON Merge Patch. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param containerAppName Name of the Container App. @@ -1297,7 +1303,9 @@ private PollerFlux, Void> beginUpdateAsync( } /** - * Patches a Container App using JSON Merge Patch. + * Update properties of a Container App + * + *

Patches a Container App using JSON Merge Patch. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param containerAppName Name of the Container App. @@ -1320,7 +1328,9 @@ private PollerFlux, Void> beginUpdateAsync( } /** - * Patches a Container App using JSON Merge Patch. + * Update properties of a Container App + * + *

Patches a Container App using JSON Merge Patch. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param containerAppName Name of the Container App. @@ -1337,7 +1347,9 @@ public SyncPoller, Void> beginUpdate( } /** - * Patches a Container App using JSON Merge Patch. + * Update properties of a Container App + * + *

Patches a Container App using JSON Merge Patch. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param containerAppName Name of the Container App. @@ -1355,7 +1367,9 @@ public SyncPoller, Void> beginUpdate( } /** - * Patches a Container App using JSON Merge Patch. + * Update properties of a Container App + * + *

Patches a Container App using JSON Merge Patch. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param containerAppName Name of the Container App. @@ -1374,7 +1388,9 @@ private Mono updateAsync( } /** - * Patches a Container App using JSON Merge Patch. + * Update properties of a Container App + * + *

Patches a Container App using JSON Merge Patch. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param containerAppName Name of the Container App. @@ -1394,7 +1410,9 @@ private Mono updateAsync( } /** - * Patches a Container App using JSON Merge Patch. + * Update properties of a Container App + * + *

Patches a Container App using JSON Merge Patch. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param containerAppName Name of the Container App. @@ -1409,7 +1427,9 @@ public void update(String resourceGroupName, String containerAppName, ContainerA } /** - * Patches a Container App using JSON Merge Patch. + * Update properties of a Container App + * + *

Patches a Container App using JSON Merge Patch. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param containerAppName Name of the Container App. @@ -1746,7 +1766,8 @@ public Response listSecretsWithResponse( /** * Get the next page of items. * - * @param nextLink The nextLink parameter. + * @param nextLink The URL to get the next list of items + *

The nextLink parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws DefaultErrorResponseErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -1783,7 +1804,8 @@ private Mono> listBySubscriptionNextSinglePageA /** * Get the next page of items. * - * @param nextLink The nextLink parameter. + * @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 DefaultErrorResponseErrorException thrown if the request is rejected by server. @@ -1821,7 +1843,8 @@ private Mono> listBySubscriptionNextSinglePageA /** * Get the next page of items. * - * @param nextLink The nextLink parameter. + * @param nextLink The URL to get the next list of items + *

The nextLink parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws DefaultErrorResponseErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -1858,7 +1881,8 @@ private Mono> listByResourceGroupNextSinglePage /** * Get the next page of items. * - * @param nextLink The nextLink parameter. + * @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 DefaultErrorResponseErrorException thrown if the request is rejected by server. diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/implementation/ContainerAppsRevisionsClientImpl.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/implementation/ContainerAppsRevisionsClientImpl.java index a480adfb7c7e7..4fb115bf791c5 100644 --- a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/implementation/ContainerAppsRevisionsClientImpl.java +++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/implementation/ContainerAppsRevisionsClientImpl.java @@ -989,7 +989,8 @@ public Response restartRevisionWithResponse( /** * Get the next page of items. * - * @param nextLink The nextLink parameter. + * @param nextLink The URL to get the next list of items + *

The nextLink parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws DefaultErrorResponseErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -1025,7 +1026,8 @@ private Mono> listRevisionsNextSinglePageAsync(Stri /** * Get the next page of items. * - * @param nextLink The nextLink parameter. + * @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 DefaultErrorResponseErrorException thrown if the request is rejected by server. diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/implementation/ContainerAppsSourceControlsClientImpl.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/implementation/ContainerAppsSourceControlsClientImpl.java index 1b7ddaef4a88d..0d79af65b0f45 100644 --- a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/implementation/ContainerAppsSourceControlsClientImpl.java +++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/implementation/ContainerAppsSourceControlsClientImpl.java @@ -101,7 +101,7 @@ Mono> get( @Put( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/containerApps" + "/{containerAppName}/sourcecontrols/{sourceControlName}") - @ExpectedResponses({200, 202}) + @ExpectedResponses({200, 201}) @UnexpectedResponseExceptionType(DefaultErrorResponseErrorException.class) Mono>> createOrUpdate( @HostParam("$host") String endpoint, @@ -1082,7 +1082,8 @@ public void delete(String resourceGroupName, String containerAppName, String sou /** * Get the next page of items. * - * @param nextLink The nextLink parameter. + * @param nextLink The URL to get the next list of items + *

The nextLink parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws DefaultErrorResponseErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -1119,7 +1120,8 @@ private Mono> listByContainerAppNextSinglePage /** * Get the next page of items. * - * @param nextLink The nextLink parameter. + * @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 DefaultErrorResponseErrorException thrown if the request is rejected by server. diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/implementation/CustomHostnameAnalysisResultImpl.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/implementation/CustomHostnameAnalysisResultImpl.java index fb9b87b4236cf..f7ff9f2caa453 100644 --- a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/implementation/CustomHostnameAnalysisResultImpl.java +++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/implementation/CustomHostnameAnalysisResultImpl.java @@ -4,10 +4,9 @@ package com.azure.resourcemanager.appcontainers.implementation; -import com.azure.core.management.SystemData; import com.azure.resourcemanager.appcontainers.fluent.models.CustomHostnameAnalysisResultInner; import com.azure.resourcemanager.appcontainers.models.CustomHostnameAnalysisResult; -import com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseError; +import com.azure.resourcemanager.appcontainers.models.CustomHostnameAnalysisResultCustomDomainVerificationFailureInfo; import com.azure.resourcemanager.appcontainers.models.DnsVerificationTestResult; import java.util.Collections; import java.util.List; @@ -24,22 +23,6 @@ public final class CustomHostnameAnalysisResultImpl implements CustomHostnameAna this.serviceManager = serviceManager; } - public String id() { - return this.innerModel().id(); - } - - public String name() { - return this.innerModel().name(); - } - - public String type() { - return this.innerModel().type(); - } - - public SystemData systemData() { - return this.innerModel().systemData(); - } - public String hostname() { return this.innerModel().hostname(); } @@ -52,7 +35,7 @@ public DnsVerificationTestResult customDomainVerificationTest() { return this.innerModel().customDomainVerificationTest(); } - public DefaultErrorResponseError customDomainVerificationFailureInfo() { + public CustomHostnameAnalysisResultCustomDomainVerificationFailureInfo customDomainVerificationFailureInfo() { return this.innerModel().customDomainVerificationFailureInfo(); } diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/implementation/DaprComponentsClientImpl.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/implementation/DaprComponentsClientImpl.java index b1b7edd5495d2..6e141da0ded00 100644 --- a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/implementation/DaprComponentsClientImpl.java +++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/implementation/DaprComponentsClientImpl.java @@ -492,7 +492,9 @@ public Response getWithResponse( } /** - * Creates or updates a Dapr Component in a Managed Environment. + * Creates or updates a Dapr Component. + * + *

Creates or updates a Dapr Component in a Managed Environment. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param environmentName Name of the Managed Environment. @@ -557,7 +559,9 @@ private Mono> createOrUpdateWithResponseAsync( } /** - * Creates or updates a Dapr Component in a Managed Environment. + * Creates or updates a Dapr Component. + * + *

Creates or updates a Dapr Component in a Managed Environment. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param environmentName Name of the Managed Environment. @@ -621,7 +625,9 @@ private Mono> createOrUpdateWithResponseAsync( } /** - * Creates or updates a Dapr Component in a Managed Environment. + * Creates or updates a Dapr Component. + * + *

Creates or updates a Dapr Component in a Managed Environment. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param environmentName Name of the Managed Environment. @@ -643,7 +649,9 @@ private Mono createOrUpdateAsync( } /** - * Creates or updates a Dapr Component in a Managed Environment. + * Creates or updates a Dapr Component. + * + *

Creates or updates a Dapr Component in a Managed Environment. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param environmentName Name of the Managed Environment. @@ -664,7 +672,9 @@ public DaprComponentInner createOrUpdate( } /** - * Creates or updates a Dapr Component in a Managed Environment. + * Creates or updates a Dapr Component. + * + *

Creates or updates a Dapr Component in a Managed Environment. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param environmentName Name of the Managed Environment. @@ -689,7 +699,9 @@ public Response createOrUpdateWithResponse( } /** - * Delete a Dapr Component from a Managed Environment. + * Delete a Dapr Component. + * + *

Delete a Dapr Component from a Managed Environment. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param environmentName Name of the Managed Environment. @@ -743,7 +755,9 @@ private Mono> deleteWithResponseAsync( } /** - * Delete a Dapr Component from a Managed Environment. + * Delete a Dapr Component. + * + *

Delete a Dapr Component from a Managed Environment. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param environmentName Name of the Managed Environment. @@ -795,7 +809,9 @@ private Mono> deleteWithResponseAsync( } /** - * Delete a Dapr Component from a Managed Environment. + * Delete a Dapr Component. + * + *

Delete a Dapr Component from a Managed Environment. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param environmentName Name of the Managed Environment. @@ -812,7 +828,9 @@ private Mono deleteAsync(String resourceGroupName, String environmentName, } /** - * Delete a Dapr Component from a Managed Environment. + * Delete a Dapr Component. + * + *

Delete a Dapr Component from a Managed Environment. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param environmentName Name of the Managed Environment. @@ -827,7 +845,9 @@ public void delete(String resourceGroupName, String environmentName, String comp } /** - * Delete a Dapr Component from a Managed Environment. + * Delete a Dapr Component. + * + *

Delete a Dapr Component from a Managed Environment. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param environmentName Name of the Managed Environment. @@ -1008,7 +1028,8 @@ public Response listSecretsWithResponse( /** * Get the next page of items. * - * @param nextLink The nextLink parameter. + * @param nextLink The URL to get the next list of items + *

The nextLink parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws DefaultErrorResponseErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -1043,7 +1064,8 @@ private Mono> listNextSinglePageAsync(String n /** * Get the next page of items. * - * @param nextLink The nextLink parameter. + * @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 DefaultErrorResponseErrorException thrown if the request is rejected by server. diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/implementation/ManagedEnvironmentsClientImpl.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/implementation/ManagedEnvironmentsClientImpl.java index f49b7b00fa519..1d98043412e23 100644 --- a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/implementation/ManagedEnvironmentsClientImpl.java +++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/implementation/ManagedEnvironmentsClientImpl.java @@ -174,7 +174,9 @@ Mono> listByResourceGroupNext( } /** - * Get all Managed Environments for a subscription. + * Get all Environments for a subscription. + * + *

Get all Managed Environments for a subscription. * * @throws DefaultErrorResponseErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -219,7 +221,9 @@ private Mono> listSinglePageAsync() { } /** - * Get all Managed Environments for a subscription. + * Get all Environments for a subscription. + * + *

Get all Managed Environments for a subscription. * * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -263,7 +267,9 @@ private Mono> listSinglePageAsync(Context } /** - * Get all Managed Environments for a subscription. + * Get all Environments for a subscription. + * + *

Get all Managed Environments for a subscription. * * @throws DefaultErrorResponseErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -276,7 +282,9 @@ private PagedFlux listAsync() { } /** - * Get all Managed Environments for a subscription. + * Get all Environments for a subscription. + * + *

Get all Managed Environments for a subscription. * * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -291,7 +299,9 @@ private PagedFlux listAsync(Context context) { } /** - * Get all Managed Environments for a subscription. + * Get all Environments for a subscription. + * + *

Get all Managed Environments for a subscription. * * @throws DefaultErrorResponseErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -303,7 +313,9 @@ public PagedIterable list() { } /** - * Get all Managed Environments for a subscription. + * Get all Environments for a subscription. + * + *

Get all Managed Environments for a subscription. * * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -317,7 +329,9 @@ public PagedIterable list(Context context) { } /** - * Get all the Managed Environments in a resource group. + * Get all the Environments in a resource group. + * + *

Get all the Managed Environments in a resource group. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -369,7 +383,9 @@ private Mono> listByResourceGroupSinglePa } /** - * Get all the Managed Environments in a resource group. + * Get all the Environments in a resource group. + * + *

Get all the Managed Environments in a resource group. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param context The context to associate with this operation. @@ -420,7 +436,9 @@ private Mono> listByResourceGroupSinglePa } /** - * Get all the Managed Environments in a resource group. + * Get all the Environments in a resource group. + * + *

Get all the Managed Environments in a resource group. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -436,7 +454,9 @@ private PagedFlux listByResourceGroupAsync(String resou } /** - * Get all the Managed Environments in a resource group. + * Get all the Environments in a resource group. + * + *

Get all the Managed Environments in a resource group. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param context The context to associate with this operation. @@ -453,7 +473,9 @@ private PagedFlux listByResourceGroupAsync(String resou } /** - * Get all the Managed Environments in a resource group. + * Get all the Environments in a resource group. + * + *

Get all the Managed Environments in a resource group. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -467,7 +489,9 @@ public PagedIterable listByResourceGroup(String resourc } /** - * Get all the Managed Environments in a resource group. + * Get all the Environments in a resource group. + * + *

Get all the Managed Environments in a resource group. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param context The context to associate with this operation. @@ -482,7 +506,9 @@ public PagedIterable listByResourceGroup(String resourc } /** - * Get the properties of a Managed Environment used to host container apps. + * Get the properties of a Managed Environment. + * + *

Get the properties of a Managed Environment used to host container apps. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param environmentName Name of the Environment. @@ -532,7 +558,9 @@ private Mono> getByResourceGroupWithResponseAs } /** - * Get the properties of a Managed Environment used to host container apps. + * Get the properties of a Managed Environment. + * + *

Get the properties of a Managed Environment used to host container apps. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param environmentName Name of the Environment. @@ -580,7 +608,9 @@ private Mono> getByResourceGroupWithResponseAs } /** - * Get the properties of a Managed Environment used to host container apps. + * Get the properties of a Managed Environment. + * + *

Get the properties of a Managed Environment used to host container apps. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param environmentName Name of the Environment. @@ -597,7 +627,9 @@ private Mono getByResourceGroupAsync(String resourceGro } /** - * Get the properties of a Managed Environment used to host container apps. + * Get the properties of a Managed Environment. + * + *

Get the properties of a Managed Environment used to host container apps. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param environmentName Name of the Environment. @@ -612,7 +644,9 @@ public ManagedEnvironmentInner getByResourceGroup(String resourceGroupName, Stri } /** - * Get the properties of a Managed Environment used to host container apps. + * Get the properties of a Managed Environment. + * + *

Get the properties of a Managed Environment used to host container apps. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param environmentName Name of the Environment. @@ -629,7 +663,9 @@ public Response getByResourceGroupWithResponse( } /** - * Creates or updates a Managed Environment used to host container apps. + * Creates or updates a Managed Environment. + * + *

Creates or updates a Managed Environment used to host container apps. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param environmentName Name of the Environment. @@ -687,7 +723,9 @@ private Mono>> createOrUpdateWithResponseAsync( } /** - * Creates or updates a Managed Environment used to host container apps. + * Creates or updates a Managed Environment. + * + *

Creates or updates a Managed Environment used to host container apps. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param environmentName Name of the Environment. @@ -746,7 +784,9 @@ private Mono>> createOrUpdateWithResponseAsync( } /** - * Creates or updates a Managed Environment used to host container apps. + * Creates or updates a Managed Environment. + * + *

Creates or updates a Managed Environment used to host container apps. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param environmentName Name of the Environment. @@ -772,7 +812,9 @@ private PollerFlux, ManagedEnvironmentInner> } /** - * Creates or updates a Managed Environment used to host container apps. + * Creates or updates a Managed Environment. + * + *

Creates or updates a Managed Environment used to host container apps. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param environmentName Name of the Environment. @@ -803,7 +845,9 @@ private PollerFlux, ManagedEnvironmentInner> } /** - * Creates or updates a Managed Environment used to host container apps. + * Creates or updates a Managed Environment. + * + *

Creates or updates a Managed Environment used to host container apps. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param environmentName Name of the Environment. @@ -820,7 +864,9 @@ public SyncPoller, ManagedEnvironmentInner> } /** - * Creates or updates a Managed Environment used to host container apps. + * Creates or updates a Managed Environment. + * + *

Creates or updates a Managed Environment used to host container apps. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param environmentName Name of the Environment. @@ -842,7 +888,9 @@ public SyncPoller, ManagedEnvironmentInner> } /** - * Creates or updates a Managed Environment used to host container apps. + * Creates or updates a Managed Environment. + * + *

Creates or updates a Managed Environment used to host container apps. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param environmentName Name of the Environment. @@ -861,7 +909,9 @@ private Mono createOrUpdateAsync( } /** - * Creates or updates a Managed Environment used to host container apps. + * Creates or updates a Managed Environment. + * + *

Creates or updates a Managed Environment used to host container apps. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param environmentName Name of the Environment. @@ -884,7 +934,9 @@ private Mono createOrUpdateAsync( } /** - * Creates or updates a Managed Environment used to host container apps. + * Creates or updates a Managed Environment. + * + *

Creates or updates a Managed Environment used to host container apps. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param environmentName Name of the Environment. @@ -901,7 +953,9 @@ public ManagedEnvironmentInner createOrUpdate( } /** - * Creates or updates a Managed Environment used to host container apps. + * Creates or updates a Managed Environment. + * + *

Creates or updates a Managed Environment used to host container apps. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param environmentName Name of the Environment. @@ -922,7 +976,9 @@ public ManagedEnvironmentInner createOrUpdate( } /** - * Delete a Managed Environment if it does not have any container apps. + * Delete a Managed Environment. + * + *

Delete a Managed Environment if it does not have any container apps. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param environmentName Name of the Environment. @@ -970,7 +1026,9 @@ private Mono>> deleteWithResponseAsync(String resource } /** - * Delete a Managed Environment if it does not have any container apps. + * Delete a Managed Environment. + * + *

Delete a Managed Environment if it does not have any container apps. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param environmentName Name of the Environment. @@ -1017,7 +1075,9 @@ private Mono>> deleteWithResponseAsync( } /** - * Delete a Managed Environment if it does not have any container apps. + * Delete a Managed Environment. + * + *

Delete a Managed Environment if it does not have any container apps. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param environmentName Name of the Environment. @@ -1036,7 +1096,9 @@ private PollerFlux, Void> beginDeleteAsync(String resourceGroup } /** - * Delete a Managed Environment if it does not have any container apps. + * Delete a Managed Environment. + * + *

Delete a Managed Environment if it does not have any container apps. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param environmentName Name of the Environment. @@ -1057,7 +1119,9 @@ private PollerFlux, Void> beginDeleteAsync( } /** - * Delete a Managed Environment if it does not have any container apps. + * Delete a Managed Environment. + * + *

Delete a Managed Environment if it does not have any container apps. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param environmentName Name of the Environment. @@ -1072,7 +1136,9 @@ public SyncPoller, Void> beginDelete(String resourceGroupName, } /** - * Delete a Managed Environment if it does not have any container apps. + * Delete a Managed Environment. + * + *

Delete a Managed Environment if it does not have any container apps. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param environmentName Name of the Environment. @@ -1089,7 +1155,9 @@ public SyncPoller, Void> beginDelete( } /** - * Delete a Managed Environment if it does not have any container apps. + * Delete a Managed Environment. + * + *

Delete a Managed Environment if it does not have any container apps. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param environmentName Name of the Environment. @@ -1106,7 +1174,9 @@ private Mono deleteAsync(String resourceGroupName, String environmentName) } /** - * Delete a Managed Environment if it does not have any container apps. + * Delete a Managed Environment. + * + *

Delete a Managed Environment if it does not have any container apps. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param environmentName Name of the Environment. @@ -1124,7 +1194,9 @@ private Mono deleteAsync(String resourceGroupName, String environmentName, } /** - * Delete a Managed Environment if it does not have any container apps. + * Delete a Managed Environment. + * + *

Delete a Managed Environment if it does not have any container apps. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param environmentName Name of the Environment. @@ -1138,7 +1210,9 @@ public void delete(String resourceGroupName, String environmentName) { } /** - * Delete a Managed Environment if it does not have any container apps. + * Delete a Managed Environment. + * + *

Delete a Managed Environment if it does not have any container apps. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param environmentName Name of the Environment. @@ -1153,7 +1227,9 @@ public void delete(String resourceGroupName, String environmentName, Context con } /** - * Patches a Managed Environment using JSON Merge Patch. + * Update Managed Environment's properties. + * + *

Patches a Managed Environment using JSON Merge Patch. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param environmentName Name of the Environment. @@ -1210,7 +1286,9 @@ private Mono>> updateWithResponseAsync( } /** - * Patches a Managed Environment using JSON Merge Patch. + * Update Managed Environment's properties. + * + *

Patches a Managed Environment using JSON Merge Patch. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param environmentName Name of the Environment. @@ -1268,7 +1346,9 @@ private Mono>> updateWithResponseAsync( } /** - * Patches a Managed Environment using JSON Merge Patch. + * Update Managed Environment's properties. + * + *

Patches a Managed Environment using JSON Merge Patch. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param environmentName Name of the Environment. @@ -1290,7 +1370,9 @@ private PollerFlux, Void> beginUpdateAsync( } /** - * Patches a Managed Environment using JSON Merge Patch. + * Update Managed Environment's properties. + * + *

Patches a Managed Environment using JSON Merge Patch. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param environmentName Name of the Environment. @@ -1316,7 +1398,9 @@ private PollerFlux, Void> beginUpdateAsync( } /** - * Patches a Managed Environment using JSON Merge Patch. + * Update Managed Environment's properties. + * + *

Patches a Managed Environment using JSON Merge Patch. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param environmentName Name of the Environment. @@ -1333,7 +1417,9 @@ public SyncPoller, Void> beginUpdate( } /** - * Patches a Managed Environment using JSON Merge Patch. + * Update Managed Environment's properties. + * + *

Patches a Managed Environment using JSON Merge Patch. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param environmentName Name of the Environment. @@ -1354,7 +1440,9 @@ public SyncPoller, Void> beginUpdate( } /** - * Patches a Managed Environment using JSON Merge Patch. + * Update Managed Environment's properties. + * + *

Patches a Managed Environment using JSON Merge Patch. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param environmentName Name of the Environment. @@ -1373,7 +1461,9 @@ private Mono updateAsync( } /** - * Patches a Managed Environment using JSON Merge Patch. + * Update Managed Environment's properties. + * + *

Patches a Managed Environment using JSON Merge Patch. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param environmentName Name of the Environment. @@ -1396,7 +1486,9 @@ private Mono updateAsync( } /** - * Patches a Managed Environment using JSON Merge Patch. + * Update Managed Environment's properties. + * + *

Patches a Managed Environment using JSON Merge Patch. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param environmentName Name of the Environment. @@ -1411,7 +1503,9 @@ public void update(String resourceGroupName, String environmentName, ManagedEnvi } /** - * Patches a Managed Environment using JSON Merge Patch. + * Update Managed Environment's properties. + * + *

Patches a Managed Environment using JSON Merge Patch. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param environmentName Name of the Environment. @@ -1433,7 +1527,8 @@ public void update( /** * Get the next page of items. * - * @param nextLink The nextLink parameter. + * @param nextLink The URL to get the next list of items + *

The nextLink parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws DefaultErrorResponseErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -1469,7 +1564,8 @@ private Mono> listBySubscriptionNextSingl /** * Get the next page of items. * - * @param nextLink The nextLink parameter. + * @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 DefaultErrorResponseErrorException thrown if the request is rejected by server. @@ -1506,7 +1602,8 @@ private Mono> listBySubscriptionNextSingl /** * Get the next page of items. * - * @param nextLink The nextLink parameter. + * @param nextLink The URL to get the next list of items + *

The nextLink parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws DefaultErrorResponseErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -1542,7 +1639,8 @@ private Mono> listByResourceGroupNextSing /** * Get the next page of items. * - * @param nextLink The nextLink parameter. + * @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 DefaultErrorResponseErrorException thrown if the request is rejected by server. diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/implementation/NamespacesClientImpl.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/implementation/NamespacesClientImpl.java index 8dc0a74267be5..67573d1fd9aeb 100644 --- a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/implementation/NamespacesClientImpl.java +++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/implementation/NamespacesClientImpl.java @@ -71,7 +71,9 @@ Mono> checkNameAvailability( } /** - * Checks if resource name is available. + * Checks the resource name availability. + * + *

Checks if resource name is available. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param environmentName Name of the Managed Environment. @@ -130,7 +132,9 @@ private Mono> checkNameAvailability } /** - * Checks if resource name is available. + * Checks the resource name availability. + * + *

Checks if resource name is available. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param environmentName Name of the Managed Environment. @@ -190,7 +194,9 @@ private Mono> checkNameAvailability } /** - * Checks if resource name is available. + * Checks the resource name availability. + * + *

Checks if resource name is available. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param environmentName Name of the Managed Environment. @@ -208,7 +214,9 @@ private Mono checkNameAvailabilityAsync( } /** - * Checks if resource name is available. + * Checks the resource name availability. + * + *

Checks if resource name is available. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param environmentName Name of the Managed Environment. @@ -225,7 +233,9 @@ public CheckNameAvailabilityResponseInner checkNameAvailability( } /** - * Checks if resource name is available. + * Checks the resource name availability. + * + *

Checks if resource name is available. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param environmentName Name of the Managed Environment. diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/implementation/OperationsClientImpl.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/implementation/OperationsClientImpl.java index 0cab6ac197d25..951798c3d460d 100644 --- a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/implementation/OperationsClientImpl.java +++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/implementation/OperationsClientImpl.java @@ -198,7 +198,8 @@ public PagedIterable list(Context context) { /** * Get the next page of items. * - * @param nextLink The nextLink parameter. + * @param nextLink The URL to get the next list of items + *

The nextLink parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws DefaultErrorResponseErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -234,7 +235,8 @@ private Mono> listNextSinglePageAsync(String /** * Get the next page of items. * - * @param nextLink The nextLink parameter. + * @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 DefaultErrorResponseErrorException thrown if the request is rejected by server. diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/AccessMode.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/AccessMode.java index 88fd0d585724c..8f2d01d44becd 100644 --- a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/AccessMode.java +++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/AccessMode.java @@ -8,7 +8,7 @@ import com.fasterxml.jackson.annotation.JsonCreator; import java.util.Collection; -/** Defines values for AccessMode. */ +/** Access mode for storage. */ public final class AccessMode extends ExpandableStringEnum { /** Static value ReadOnly for AccessMode. */ public static final AccessMode READ_ONLY = fromString("ReadOnly"); diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/ActiveRevisionsMode.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/ActiveRevisionsMode.java index 490d92a661480..1ade7f9c0e39e 100644 --- a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/ActiveRevisionsMode.java +++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/ActiveRevisionsMode.java @@ -8,7 +8,12 @@ import com.fasterxml.jackson.annotation.JsonCreator; import java.util.Collection; -/** Defines values for ActiveRevisionsMode. */ +/** + * ActiveRevisionsMode controls how active revisions are handled for the Container app: + * <list><item>Multiple: multiple revisions can be active.</item><item>Single: Only one revision + * can be active at a time. Revision weights can not be used in this mode. If no value if provided, this is the + * default.</item></list>. + */ public final class ActiveRevisionsMode extends ExpandableStringEnum { /** Static value Multiple for ActiveRevisionsMode. */ public static final ActiveRevisionsMode MULTIPLE = fromString("Multiple"); diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/AllowedAudiencesValidation.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/AllowedAudiencesValidation.java index 887906a892ba9..bcb6d46d4eeca 100644 --- a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/AllowedAudiencesValidation.java +++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/AllowedAudiencesValidation.java @@ -12,8 +12,7 @@ @Fluent public final class AllowedAudiencesValidation { /* - * The configuration settings of the allowed list of audiences from which - * to validate the JWT token. + * The configuration settings of the allowed list of audiences from which to validate the JWT token. */ @JsonProperty(value = "allowedAudiences") private List allowedAudiences; diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/AppProtocol.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/AppProtocol.java index 33433e341adbd..32c619fd30599 100644 --- a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/AppProtocol.java +++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/AppProtocol.java @@ -8,7 +8,7 @@ import com.fasterxml.jackson.annotation.JsonCreator; import java.util.Collection; -/** Defines values for AppProtocol. */ +/** Tells Dapr which protocol your application is using. Valid options are http and grpc. Default is http. */ public final class AppProtocol extends ExpandableStringEnum { /** Static value http for AppProtocol. */ public static final AppProtocol HTTP = fromString("http"); diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/Apple.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/Apple.java index 5a7a4eb8b2917..7a4b7948ef9df 100644 --- a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/Apple.java +++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/Apple.java @@ -11,8 +11,8 @@ @Fluent public final class Apple { /* - * false if the Apple provider should not be enabled despite - * the set registration; otherwise, true. + * false if the Apple provider should not be enabled despite the set registration; otherwise, + * true. */ @JsonProperty(value = "enabled") private Boolean enabled; diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/AuthPlatform.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/AuthPlatform.java index 0450f8bd42991..85400026423f3 100644 --- a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/AuthPlatform.java +++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/AuthPlatform.java @@ -11,17 +11,16 @@ @Fluent public final class AuthPlatform { /* - * true if the Authentication / Authorization feature is - * enabled for the current app; otherwise, false. + * true if the Authentication / Authorization feature is enabled for the current app; otherwise, + * false. */ @JsonProperty(value = "enabled") private Boolean enabled; /* - * The RuntimeVersion of the Authentication / Authorization feature in use - * for the current app. - * The setting in this value can control the behavior of certain features - * in the Authentication / Authorization module. + * The RuntimeVersion of the Authentication / Authorization feature in use for the current app. + * The setting in this value can control the behavior of certain features in the Authentication / Authorization + * module. */ @JsonProperty(value = "runtimeVersion") private String runtimeVersion; diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/AzureActiveDirectory.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/AzureActiveDirectory.java index daef4f26cf8b2..f46e632bdb1a1 100644 --- a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/AzureActiveDirectory.java +++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/AzureActiveDirectory.java @@ -11,15 +11,14 @@ @Fluent public final class AzureActiveDirectory { /* - * false if the Azure Active Directory provider should not be - * enabled despite the set registration; otherwise, true. + * false if the Azure Active Directory provider should not be enabled despite the set registration; + * otherwise, true. */ @JsonProperty(value = "enabled") private Boolean enabled; /* - * The configuration settings of the Azure Active Directory app - * registration. + * The configuration settings of the Azure Active Directory app registration. */ @JsonProperty(value = "registration") private AzureActiveDirectoryRegistration registration; @@ -31,17 +30,14 @@ public final class AzureActiveDirectory { private AzureActiveDirectoryLogin login; /* - * The configuration settings of the Azure Active Directory token - * validation flow. + * The configuration settings of the Azure Active Directory token validation flow. */ @JsonProperty(value = "validation") private AzureActiveDirectoryValidation validation; /* - * Gets a value indicating whether the Azure AD configuration was - * auto-provisioned using 1st party tooling. - * This is an internal flag primarily intended to support the Azure - * Management Portal. Users should not + * Gets a value indicating whether the Azure AD configuration was auto-provisioned using 1st party tooling. + * This is an internal flag primarily intended to support the Azure Management Portal. Users should not * read or write to this property. */ @JsonProperty(value = "isAutoProvisioned") diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/AzureActiveDirectoryLogin.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/AzureActiveDirectoryLogin.java index c7622a3e8248a..572ab78792eea 100644 --- a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/AzureActiveDirectoryLogin.java +++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/AzureActiveDirectoryLogin.java @@ -12,16 +12,15 @@ @Fluent public final class AzureActiveDirectoryLogin { /* - * Login parameters to send to the OpenID Connect authorization endpoint - * when + * Login parameters to send to the OpenID Connect authorization endpoint when * a user logs in. Each parameter must be in the form "key=value". */ @JsonProperty(value = "loginParameters") private List loginParameters; /* - * true if the www-authenticate provider should be omitted - * from the request; otherwise, false. + * true if the www-authenticate provider should be omitted from the request; otherwise, + * false. */ @JsonProperty(value = "disableWWWAuthenticate") private Boolean disableWwwAuthenticate; diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/AzureActiveDirectoryRegistration.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/AzureActiveDirectoryRegistration.java index e02a78b65fab1..0a54c9b945a1f 100644 --- a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/AzureActiveDirectoryRegistration.java +++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/AzureActiveDirectoryRegistration.java @@ -11,59 +11,50 @@ @Fluent public final class AzureActiveDirectoryRegistration { /* - * The OpenID Connect Issuer URI that represents the entity which issues - * access tokens for this application. - * When using Azure Active Directory, this value is the URI of the - * directory tenant, e.g. + * The OpenID Connect Issuer URI that represents the entity which issues access tokens for this application. + * When using Azure Active Directory, this value is the URI of the directory tenant, e.g. * https://login.microsoftonline.com/v2.0/{tenant-guid}/. * This URI is a case-sensitive identifier for the token issuer. - * More information on OpenID Connect Discovery: - * http://openid.net/specs/openid-connect-discovery-1_0.html + * More information on OpenID Connect Discovery: http://openid.net/specs/openid-connect-discovery-1_0.html */ @JsonProperty(value = "openIdIssuer") private String openIdIssuer; /* * The Client ID of this relying party application, known as the client_id. - * This setting is required for enabling OpenID Connection authentication - * with Azure Active Directory or + * This setting is required for enabling OpenID Connection authentication with Azure Active Directory or * other 3rd party OpenID Connect providers. - * More information on OpenID Connect: - * http://openid.net/specs/openid-connect-core-1_0.html + * More information on OpenID Connect: http://openid.net/specs/openid-connect-core-1_0.html */ @JsonProperty(value = "clientId") private String clientId; /* - * The app setting name that contains the client secret of the relying - * party application. + * The app setting name that contains the client secret of the relying party application. */ @JsonProperty(value = "clientSecretSettingName") private String clientSecretSettingName; /* - * An alternative to the client secret, that is the thumbprint of a - * certificate used for signing purposes. This property acts as + * An alternative to the client secret, that is the thumbprint of a certificate used for signing purposes. This + * property acts as * a replacement for the Client Secret. It is also optional. */ @JsonProperty(value = "clientSecretCertificateThumbprint") private String clientSecretCertificateThumbprint; /* - * An alternative to the client secret thumbprint, that is the subject - * alternative name of a certificate used for signing purposes. This - * property acts as - * a replacement for the Client Secret Certificate Thumbprint. It is also - * optional. + * An alternative to the client secret thumbprint, that is the subject alternative name of a certificate used for + * signing purposes. This property acts as + * a replacement for the Client Secret Certificate Thumbprint. It is also optional. */ @JsonProperty(value = "clientSecretCertificateSubjectAlternativeName") private String clientSecretCertificateSubjectAlternativeName; /* - * An alternative to the client secret thumbprint, that is the issuer of a - * certificate used for signing purposes. This property acts as - * a replacement for the Client Secret Certificate Thumbprint. It is also - * optional. + * An alternative to the client secret thumbprint, that is the issuer of a certificate used for signing purposes. + * This property acts as + * a replacement for the Client Secret Certificate Thumbprint. It is also optional. */ @JsonProperty(value = "clientSecretCertificateIssuer") private String clientSecretCertificateIssuer; diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/AzureActiveDirectoryValidation.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/AzureActiveDirectoryValidation.java index 40b4c31185614..553e0cb843d45 100644 --- a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/AzureActiveDirectoryValidation.java +++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/AzureActiveDirectoryValidation.java @@ -12,15 +12,13 @@ @Fluent public final class AzureActiveDirectoryValidation { /* - * The configuration settings of the checks that should be made while - * validating the JWT Claims. + * The configuration settings of the checks that should be made while validating the JWT Claims. */ @JsonProperty(value = "jwtClaimChecks") private JwtClaimChecks jwtClaimChecks; /* - * The list of audiences that can make successful - * authentication/authorization requests. + * The list of audiences that can make successful authentication/authorization requests. */ @JsonProperty(value = "allowedAudiences") private List allowedAudiences; diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/AzureStaticWebApps.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/AzureStaticWebApps.java index 0662fc06212a5..81f758544374b 100644 --- a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/AzureStaticWebApps.java +++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/AzureStaticWebApps.java @@ -11,8 +11,8 @@ @Fluent public final class AzureStaticWebApps { /* - * false if the Azure Static Web Apps provider should not be - * enabled despite the set registration; otherwise, true. + * false if the Azure Static Web Apps provider should not be enabled despite the set registration; + * otherwise, true. */ @JsonProperty(value = "enabled") private Boolean enabled; diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/BindingType.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/BindingType.java index 69780955f1499..675cbf07a216a 100644 --- a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/BindingType.java +++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/BindingType.java @@ -8,7 +8,7 @@ import com.fasterxml.jackson.annotation.JsonCreator; import java.util.Collection; -/** Defines values for BindingType. */ +/** Custom Domain binding type. */ public final class BindingType extends ExpandableStringEnum { /** Static value Disabled for BindingType. */ public static final BindingType DISABLED = fromString("Disabled"); diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/CertificateProvisioningState.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/CertificateProvisioningState.java index 010c6954f6a75..af98d56fd8b83 100644 --- a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/CertificateProvisioningState.java +++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/CertificateProvisioningState.java @@ -8,7 +8,7 @@ import com.fasterxml.jackson.annotation.JsonCreator; import java.util.Collection; -/** Defines values for CertificateProvisioningState. */ +/** Provisioning state of the certificate. */ public final class CertificateProvisioningState extends ExpandableStringEnum { /** Static value Succeeded for CertificateProvisioningState. */ public static final CertificateProvisioningState SUCCEEDED = fromString("Succeeded"); diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/CheckNameAvailabilityReason.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/CheckNameAvailabilityReason.java index 33c8af8b3707f..3a44345d05f54 100644 --- a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/CheckNameAvailabilityReason.java +++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/CheckNameAvailabilityReason.java @@ -8,7 +8,7 @@ import com.fasterxml.jackson.annotation.JsonCreator; import java.util.Collection; -/** Defines values for CheckNameAvailabilityReason. */ +/** The reason why the given name is not available. */ public final class CheckNameAvailabilityReason extends ExpandableStringEnum { /** Static value Invalid for CheckNameAvailabilityReason. */ public static final CheckNameAvailabilityReason INVALID = fromString("Invalid"); diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/ClientCredentialMethod.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/ClientCredentialMethod.java index 449e7d2d56532..9486ee8854e01 100644 --- a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/ClientCredentialMethod.java +++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/ClientCredentialMethod.java @@ -7,7 +7,7 @@ import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonValue; -/** Defines values for ClientCredentialMethod. */ +/** The method that should be used to authenticate the user. */ public enum ClientCredentialMethod { /** Enum value ClientSecretPost. */ CLIENT_SECRET_POST("ClientSecretPost"); @@ -27,6 +27,9 @@ public enum ClientCredentialMethod { */ @JsonCreator public static ClientCredentialMethod fromString(String value) { + if (value == null) { + return null; + } ClientCredentialMethod[] items = ClientCredentialMethod.values(); for (ClientCredentialMethod item : items) { if (item.toString().equalsIgnoreCase(value)) { @@ -36,6 +39,7 @@ public static ClientCredentialMethod fromString(String value) { return null; } + /** {@inheritDoc} */ @JsonValue @Override public String toString() { diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/Configuration.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/Configuration.java index e47ac5bce80d6..0d1730a04f363 100644 --- a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/Configuration.java +++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/Configuration.java @@ -18,12 +18,9 @@ public final class Configuration { private List secrets; /* - * ActiveRevisionsMode controls how active revisions are handled for the - * Container app: - * Multiple: multiple revisions can be - * active.Single: Only one revision can be active at a time. - * Revision weights can not be used in this mode. If no value if provided, - * this is the default. + * ActiveRevisionsMode controls how active revisions are handled for the Container app: + * Multiple: multiple revisions can be active.Single: Only one revision can be active at a + * time. Revision weights can not be used in this mode. If no value if provided, this is the default. */ @JsonProperty(value = "activeRevisionsMode") private ActiveRevisionsMode activeRevisionsMode; @@ -35,8 +32,7 @@ public final class Configuration { private Ingress ingress; /* - * Collection of private container registry credentials for containers used - * by the Container app + * Collection of private container registry credentials for containers used by the Container app */ @JsonProperty(value = "registries") private List registries; diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/ContainerAppProbe.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/ContainerAppProbe.java index f4d33a73ee6f4..c2608aa5af888 100644 --- a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/ContainerAppProbe.java +++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/ContainerAppProbe.java @@ -14,9 +14,8 @@ @Fluent public final class ContainerAppProbe { /* - * Minimum consecutive failures for the probe to be considered failed after - * having succeeded. Defaults to 3. Minimum value is 1. Maximum value is - * 10. + * Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. + * Minimum value is 1. Maximum value is 10. */ @JsonProperty(value = "failureThreshold") private Integer failureThreshold; @@ -28,53 +27,46 @@ public final class ContainerAppProbe { private ContainerAppProbeHttpGet httpGet; /* - * Number of seconds after the container has started before liveness probes - * are initiated. Minimum value is 1. Maximum value is 60. + * Number of seconds after the container has started before liveness probes are initiated. Minimum value is 1. + * Maximum value is 60. */ @JsonProperty(value = "initialDelaySeconds") private Integer initialDelaySeconds; /* - * How often (in seconds) to perform the probe. Default to 10 seconds. - * Minimum value is 1. Maximum value is 240. + * How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1. Maximum value is 240. */ @JsonProperty(value = "periodSeconds") private Integer periodSeconds; /* - * Minimum consecutive successes for the probe to be considered successful - * after having failed. Defaults to 1. Must be 1 for liveness and startup. - * Minimum value is 1. Maximum value is 10. + * Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must + * be 1 for liveness and startup. Minimum value is 1. Maximum value is 10. */ @JsonProperty(value = "successThreshold") private Integer successThreshold; /* - * TCPSocket specifies an action involving a TCP port. TCP hooks not yet - * supported. + * TCPSocket specifies an action involving a TCP port. TCP hooks not yet supported. */ @JsonProperty(value = "tcpSocket") private ContainerAppProbeTcpSocket tcpSocket; /* - * Optional duration in seconds the pod needs to terminate gracefully upon - * probe failure. The grace period is the duration in seconds after the - * processes running in the pod are sent a termination signal and the time - * when the processes are forcibly halted with a kill signal. Set this - * value longer than the expected cleanup time for your process. If this - * value is nil, the pod's terminationGracePeriodSeconds will be used. - * Otherwise, this value overrides the value provided by the pod spec. - * Value must be non-negative integer. The value zero indicates stop - * immediately via the kill signal (no opportunity to shut down). This is - * an alpha field and requires enabling ProbeTerminationGracePeriod feature - * gate. Maximum value is 3600 seconds (1 hour) + * Optional duration in seconds the pod needs to terminate gracefully upon probe failure. The grace period is the + * duration in seconds after the processes running in the pod are sent a termination signal and the time when the + * processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your + * process. If this value is nil, the pod's terminationGracePeriodSeconds will be used. Otherwise, this value + * overrides the value provided by the pod spec. Value must be non-negative integer. The value zero indicates stop + * immediately via the kill signal (no opportunity to shut down). This is an alpha field and requires enabling + * ProbeTerminationGracePeriod feature gate. Maximum value is 3600 seconds (1 hour) */ @JsonProperty(value = "terminationGracePeriodSeconds") private Long terminationGracePeriodSeconds; /* - * Number of seconds after which the probe times out. Defaults to 1 second. - * Minimum value is 1. Maximum value is 240. + * Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. Maximum value is + * 240. */ @JsonProperty(value = "timeoutSeconds") private Integer timeoutSeconds; diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/ContainerAppProbeHttpGet.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/ContainerAppProbeHttpGet.java index cfb6d80072bc7..3ca38a6e764fa 100644 --- a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/ContainerAppProbeHttpGet.java +++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/ContainerAppProbeHttpGet.java @@ -12,8 +12,7 @@ @Fluent public final class ContainerAppProbeHttpGet { /* - * Host name to connect to, defaults to the pod IP. You probably want to - * set "Host" in httpHeaders instead. + * Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead. */ @JsonProperty(value = "host") private String host; @@ -31,8 +30,8 @@ public final class ContainerAppProbeHttpGet { private String path; /* - * Name or number of the port to access on the container. Number must be in - * the range 1 to 65535. Name must be an IANA_SVC_NAME. + * Name or number of the port to access on the container. Number must be in the range 1 to 65535. Name must be an + * IANA_SVC_NAME. */ @JsonProperty(value = "port", required = true) private int port; diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/ContainerAppProbeTcpSocket.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/ContainerAppProbeTcpSocket.java index 75c842fc45688..0757aa9e16c90 100644 --- a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/ContainerAppProbeTcpSocket.java +++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/ContainerAppProbeTcpSocket.java @@ -17,8 +17,8 @@ public final class ContainerAppProbeTcpSocket { private String host; /* - * Number or name of the port to access on the container. Number must be in - * the range 1 to 65535. Name must be an IANA_SVC_NAME. + * Number or name of the port to access on the container. Number must be in the range 1 to 65535. Name must be an + * IANA_SVC_NAME. */ @JsonProperty(value = "port", required = true) private int port; diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/ContainerAppProvisioningState.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/ContainerAppProvisioningState.java index 06a070fd61679..f1b0dfdbda2e5 100644 --- a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/ContainerAppProvisioningState.java +++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/ContainerAppProvisioningState.java @@ -8,7 +8,7 @@ import com.fasterxml.jackson.annotation.JsonCreator; import java.util.Collection; -/** Defines values for ContainerAppProvisioningState. */ +/** Provisioning state of the Container App. */ public final class ContainerAppProvisioningState extends ExpandableStringEnum { /** Static value InProgress for ContainerAppProvisioningState. */ public static final ContainerAppProvisioningState IN_PROGRESS = fromString("InProgress"); @@ -22,6 +22,9 @@ public final class ContainerAppProvisioningState extends ExpandableStringEnum getByResourceGroupWithResponse( void delete(String resourceGroupName, String containerAppName, Context context); /** - * Patches a Container App using JSON Merge Patch. + * Update properties of a Container App + * + *

Patches a Container App using JSON Merge Patch. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param containerAppName Name of the Container App. @@ -123,7 +125,9 @@ Response getByResourceGroupWithResponse( void update(String resourceGroupName, String containerAppName, ContainerAppInner containerAppEnvelope); /** - * Patches a Container App using JSON Merge Patch. + * Update properties of a Container App + * + *

Patches a Container App using JSON Merge Patch. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param containerAppName Name of the Container App. diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/CookieExpiration.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/CookieExpiration.java index 8312b3ee5b652..c522358743288 100644 --- a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/CookieExpiration.java +++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/CookieExpiration.java @@ -17,8 +17,7 @@ public final class CookieExpiration { private CookieExpirationConvention convention; /* - * The time after the request is made when the session cookie should - * expire. + * The time after the request is made when the session cookie should expire. */ @JsonProperty(value = "timeToExpiration") private String timeToExpiration; diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/CookieExpirationConvention.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/CookieExpirationConvention.java index 40118638404fa..defc5483b6e0d 100644 --- a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/CookieExpirationConvention.java +++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/CookieExpirationConvention.java @@ -7,7 +7,7 @@ import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonValue; -/** Defines values for CookieExpirationConvention. */ +/** The convention used when determining the session cookie's expiration. */ public enum CookieExpirationConvention { /** Enum value FixedTime. */ FIXED_TIME("FixedTime"), @@ -30,6 +30,9 @@ public enum CookieExpirationConvention { */ @JsonCreator public static CookieExpirationConvention fromString(String value) { + if (value == null) { + return null; + } CookieExpirationConvention[] items = CookieExpirationConvention.values(); for (CookieExpirationConvention item : items) { if (item.toString().equalsIgnoreCase(value)) { @@ -39,6 +42,7 @@ public static CookieExpirationConvention fromString(String value) { return null; } + /** {@inheritDoc} */ @JsonValue @Override public String toString() { diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/CustomDomain.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/CustomDomain.java index 8c7e016e05873..26cfedaa2b04f 100644 --- a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/CustomDomain.java +++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/CustomDomain.java @@ -24,8 +24,7 @@ public final class CustomDomain { private BindingType bindingType; /* - * Resource Id of the Certificate to be bound to this hostname. Must exist - * in the Managed Environment. + * Resource Id of the Certificate to be bound to this hostname. Must exist in the Managed Environment. */ @JsonProperty(value = "certificateId", required = true) private String certificateId; diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/CustomHostnameAnalysisResult.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/CustomHostnameAnalysisResult.java index b2d9b4e1aa668..74303340899fa 100644 --- a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/CustomHostnameAnalysisResult.java +++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/CustomHostnameAnalysisResult.java @@ -4,40 +4,11 @@ package com.azure.resourcemanager.appcontainers.models; -import com.azure.core.management.SystemData; import com.azure.resourcemanager.appcontainers.fluent.models.CustomHostnameAnalysisResultInner; import java.util.List; /** An immutable client-side representation of CustomHostnameAnalysisResult. */ public interface CustomHostnameAnalysisResult { - /** - * Gets the id property: Fully qualified resource Id for the resource. - * - * @return the id value. - */ - String id(); - - /** - * Gets the name property: The name of the resource. - * - * @return the name value. - */ - String name(); - - /** - * Gets the type property: The type of the resource. - * - * @return the type value. - */ - String type(); - - /** - * Gets the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information. - * - * @return the systemData value. - */ - SystemData systemData(); - /** * Gets the hostname property: Host name that was analyzed. * @@ -65,7 +36,7 @@ public interface CustomHostnameAnalysisResult { * * @return the customDomainVerificationFailureInfo value. */ - DefaultErrorResponseError customDomainVerificationFailureInfo(); + CustomHostnameAnalysisResultCustomDomainVerificationFailureInfo customDomainVerificationFailureInfo(); /** * Gets the hasConflictOnManagedEnvironment property: <code>true</code> if there is a conflict on the diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/CustomHostnameAnalysisResultCustomDomainVerificationFailureInfo.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/CustomHostnameAnalysisResultCustomDomainVerificationFailureInfo.java new file mode 100644 index 0000000000000..c7f5329111ba3 --- /dev/null +++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/CustomHostnameAnalysisResultCustomDomainVerificationFailureInfo.java @@ -0,0 +1,96 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator. + +package com.azure.resourcemanager.appcontainers.models; + +import com.azure.core.annotation.Fluent; +import com.fasterxml.jackson.annotation.JsonProperty; +import java.util.List; + +/** Raw failure information if DNS verification fails. */ +@Fluent +public final class CustomHostnameAnalysisResultCustomDomainVerificationFailureInfo { + /* + * Standardized string to programmatically identify the error. + */ + @JsonProperty(value = "code", access = JsonProperty.Access.WRITE_ONLY) + private String code; + + /* + * Detailed error description and debugging information. + */ + @JsonProperty(value = "message", access = JsonProperty.Access.WRITE_ONLY) + private String message; + + /* + * Detailed error description and debugging information. + */ + @JsonProperty(value = "target", access = JsonProperty.Access.WRITE_ONLY) + private String target; + + /* + * Details or the error + */ + @JsonProperty(value = "details") + private List details; + + /** + * Get the code property: Standardized string to programmatically identify the error. + * + * @return the code value. + */ + public String code() { + return this.code; + } + + /** + * Get the message property: Detailed error description and debugging information. + * + * @return the message value. + */ + public String message() { + return this.message; + } + + /** + * Get the target property: Detailed error description and debugging information. + * + * @return the target value. + */ + public String target() { + return this.target; + } + + /** + * Get the details property: Details or the error. + * + * @return the details value. + */ + public List details() { + return this.details; + } + + /** + * Set the details property: Details or the error. + * + * @param details the details value to set. + * @return the CustomHostnameAnalysisResultCustomDomainVerificationFailureInfo object itself. + */ + public CustomHostnameAnalysisResultCustomDomainVerificationFailureInfo withDetails( + List details) { + this.details = details; + return this; + } + + /** + * Validates the instance. + * + * @throws IllegalArgumentException thrown if the instance is not valid. + */ + public void validate() { + if (details() != null) { + details().forEach(e -> e.validate()); + } + } +} diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/CustomHostnameAnalysisResultCustomDomainVerificationFailureInfoDetailsItem.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/CustomHostnameAnalysisResultCustomDomainVerificationFailureInfoDetailsItem.java new file mode 100644 index 0000000000000..ee0e6e680a03c --- /dev/null +++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/CustomHostnameAnalysisResultCustomDomainVerificationFailureInfoDetailsItem.java @@ -0,0 +1,65 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator. + +package com.azure.resourcemanager.appcontainers.models; + +import com.azure.core.annotation.Immutable; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** Detailed errors. */ +@Immutable +public final class CustomHostnameAnalysisResultCustomDomainVerificationFailureInfoDetailsItem { + /* + * Standardized string to programmatically identify the error. + */ + @JsonProperty(value = "code", access = JsonProperty.Access.WRITE_ONLY) + private String code; + + /* + * Detailed error description and debugging information. + */ + @JsonProperty(value = "message", access = JsonProperty.Access.WRITE_ONLY) + private String message; + + /* + * Detailed error description and debugging information. + */ + @JsonProperty(value = "target", access = JsonProperty.Access.WRITE_ONLY) + private String target; + + /** + * Get the code property: Standardized string to programmatically identify the error. + * + * @return the code value. + */ + public String code() { + return this.code; + } + + /** + * Get the message property: Detailed error description and debugging information. + * + * @return the message value. + */ + public String message() { + return this.message; + } + + /** + * Get the target property: Detailed error description and debugging information. + * + * @return the target value. + */ + public String target() { + return this.target; + } + + /** + * Validates the instance. + * + * @throws IllegalArgumentException thrown if the instance is not valid. + */ + public void validate() { + } +} diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/CustomOpenIdConnectProvider.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/CustomOpenIdConnectProvider.java index d8db7dcb6afd7..d42f5d4eaeab3 100644 --- a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/CustomOpenIdConnectProvider.java +++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/CustomOpenIdConnectProvider.java @@ -11,22 +11,19 @@ @Fluent public final class CustomOpenIdConnectProvider { /* - * false if the custom Open ID provider provider should not be - * enabled; otherwise, true. + * false if the custom Open ID provider provider should not be enabled; otherwise, true. */ @JsonProperty(value = "enabled") private Boolean enabled; /* - * The configuration settings of the app registration for the custom Open - * ID Connect provider. + * The configuration settings of the app registration for the custom Open ID Connect provider. */ @JsonProperty(value = "registration") private OpenIdConnectRegistration registration; /* - * The configuration settings of the login flow of the custom Open ID - * Connect provider. + * The configuration settings of the login flow of the custom Open ID Connect provider. */ @JsonProperty(value = "login") private OpenIdConnectLogin login; diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/Dapr.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/Dapr.java index 2674b4fbc2fe0..e4854322a8df4 100644 --- a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/Dapr.java +++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/Dapr.java @@ -23,8 +23,7 @@ public final class Dapr { private String appId; /* - * Tells Dapr which protocol your application is using. Valid options are - * http and grpc. Default is http + * Tells Dapr which protocol your application is using. Valid options are http and grpc. Default is http */ @JsonProperty(value = "appProtocol") private AppProtocol appProtocol; diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/DaprComponents.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/DaprComponents.java index 133f3dc3e14fb..4fca264253149 100644 --- a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/DaprComponents.java +++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/DaprComponents.java @@ -68,7 +68,9 @@ Response getWithResponse( String resourceGroupName, String environmentName, String componentName, Context context); /** - * Delete a Dapr Component from a Managed Environment. + * Delete a Dapr Component. + * + *

Delete a Dapr Component from a Managed Environment. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param environmentName Name of the Managed Environment. @@ -81,7 +83,9 @@ Response getWithResponse( void delete(String resourceGroupName, String environmentName, String componentName); /** - * Delete a Dapr Component from a Managed Environment. + * Delete a Dapr Component. + * + *

Delete a Dapr Component from a Managed Environment. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param environmentName Name of the Managed Environment. @@ -152,7 +156,9 @@ Response listSecretsWithResponse( Response getByIdWithResponse(String id, Context context); /** - * Delete a Dapr Component from a Managed Environment. + * Delete a Dapr Component. + * + *

Delete a Dapr Component from a Managed Environment. * * @param id the resource ID. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -163,7 +169,9 @@ Response listSecretsWithResponse( void deleteById(String id); /** - * Delete a Dapr Component from a Managed Environment. + * Delete a Dapr Component. + * + *

Delete a Dapr Component from a Managed Environment. * * @param id the resource ID. * @param context The context to associate with this operation. diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/DaprMetadata.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/DaprMetadata.java index c34b305a6301c..da8488ddeb2f1 100644 --- a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/DaprMetadata.java +++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/DaprMetadata.java @@ -23,8 +23,7 @@ public final class DaprMetadata { private String value; /* - * Name of the Dapr Component secret from which to pull the metadata - * property value. + * Name of the Dapr Component secret from which to pull the metadata property value. */ @JsonProperty(value = "secretRef") private String secretRef; diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/DefaultAuthorizationPolicy.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/DefaultAuthorizationPolicy.java index 8147b632b3ef9..ac2ae2a0ac9e1 100644 --- a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/DefaultAuthorizationPolicy.java +++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/DefaultAuthorizationPolicy.java @@ -12,15 +12,13 @@ @Fluent public final class DefaultAuthorizationPolicy { /* - * The configuration settings of the Azure Active Directory allowed - * principals. + * The configuration settings of the Azure Active Directory allowed principals. */ @JsonProperty(value = "allowedPrincipals") private AllowedPrincipals allowedPrincipals; /* - * The configuration settings of the Azure Active Directory allowed - * applications. + * The configuration settings of the Azure Active Directory allowed applications. */ @JsonProperty(value = "allowedApplications") private List allowedApplications; diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/DefaultErrorResponseErrorException.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/DefaultErrorResponseErrorException.java index 5856c94ab91ef..9cfd6edb32583 100644 --- a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/DefaultErrorResponseErrorException.java +++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/DefaultErrorResponseErrorException.java @@ -30,6 +30,7 @@ public DefaultErrorResponseErrorException(String message, HttpResponse response, super(message, response, value); } + /** {@inheritDoc} */ @Override public DefaultErrorResponseError getValue() { return (DefaultErrorResponseError) super.getValue(); diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/DnsVerificationTestResult.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/DnsVerificationTestResult.java index 635453133af6c..be7d141905d1b 100644 --- a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/DnsVerificationTestResult.java +++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/DnsVerificationTestResult.java @@ -7,7 +7,7 @@ import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonValue; -/** Defines values for DnsVerificationTestResult. */ +/** DNS verification test result. */ public enum DnsVerificationTestResult { /** Enum value Passed. */ PASSED("Passed"), @@ -33,6 +33,9 @@ public enum DnsVerificationTestResult { */ @JsonCreator public static DnsVerificationTestResult fromString(String value) { + if (value == null) { + return null; + } DnsVerificationTestResult[] items = DnsVerificationTestResult.values(); for (DnsVerificationTestResult item : items) { if (item.toString().equalsIgnoreCase(value)) { @@ -42,6 +45,7 @@ public static DnsVerificationTestResult fromString(String value) { return null; } + /** {@inheritDoc} */ @JsonValue @Override public String toString() { diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/EnvironmentProvisioningState.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/EnvironmentProvisioningState.java index 2c2f4b4c9396a..aa7e68f3d523f 100644 --- a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/EnvironmentProvisioningState.java +++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/EnvironmentProvisioningState.java @@ -8,7 +8,7 @@ import com.fasterxml.jackson.annotation.JsonCreator; import java.util.Collection; -/** Defines values for EnvironmentProvisioningState. */ +/** Provisioning state of the Environment. */ public final class EnvironmentProvisioningState extends ExpandableStringEnum { /** Static value Succeeded for EnvironmentProvisioningState. */ public static final EnvironmentProvisioningState SUCCEEDED = fromString("Succeeded"); diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/EnvironmentVar.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/EnvironmentVar.java index 68f15cc144789..b7603465274c1 100644 --- a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/EnvironmentVar.java +++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/EnvironmentVar.java @@ -23,8 +23,7 @@ public final class EnvironmentVar { private String value; /* - * Name of the Container App secret from which to pull the environment - * variable value. + * Name of the Container App secret from which to pull the environment variable value. */ @JsonProperty(value = "secretRef") private String secretRef; diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/Facebook.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/Facebook.java index 156bdd036587f..44fe1582df4d7 100644 --- a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/Facebook.java +++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/Facebook.java @@ -11,15 +11,14 @@ @Fluent public final class Facebook { /* - * false if the Facebook provider should not be enabled - * despite the set registration; otherwise, true. + * false if the Facebook provider should not be enabled despite the set registration; otherwise, + * true. */ @JsonProperty(value = "enabled") private Boolean enabled; /* - * The configuration settings of the app registration for the Facebook - * provider. + * The configuration settings of the app registration for the Facebook provider. */ @JsonProperty(value = "registration") private AppRegistration registration; diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/ForwardProxyConvention.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/ForwardProxyConvention.java index 682f9dc4f3f64..67a969e08129c 100644 --- a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/ForwardProxyConvention.java +++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/ForwardProxyConvention.java @@ -7,7 +7,7 @@ import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonValue; -/** Defines values for ForwardProxyConvention. */ +/** The convention used to determine the url of the request made. */ public enum ForwardProxyConvention { /** Enum value NoProxy. */ NO_PROXY("NoProxy"), @@ -33,6 +33,9 @@ public enum ForwardProxyConvention { */ @JsonCreator public static ForwardProxyConvention fromString(String value) { + if (value == null) { + return null; + } ForwardProxyConvention[] items = ForwardProxyConvention.values(); for (ForwardProxyConvention item : items) { if (item.toString().equalsIgnoreCase(value)) { @@ -42,6 +45,7 @@ public static ForwardProxyConvention fromString(String value) { return null; } + /** {@inheritDoc} */ @JsonValue @Override public String toString() { diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/GitHub.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/GitHub.java index 3a909ed772350..f6c178bf27867 100644 --- a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/GitHub.java +++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/GitHub.java @@ -11,15 +11,14 @@ @Fluent public final class GitHub { /* - * false if the GitHub provider should not be enabled despite - * the set registration; otherwise, true. + * false if the GitHub provider should not be enabled despite the set registration; otherwise, + * true. */ @JsonProperty(value = "enabled") private Boolean enabled; /* - * The configuration settings of the app registration for the GitHub - * provider. + * The configuration settings of the app registration for the GitHub provider. */ @JsonProperty(value = "registration") private ClientRegistration registration; diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/GlobalValidation.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/GlobalValidation.java index 62ed62bf27ef9..76ab8a2d98124 100644 --- a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/GlobalValidation.java +++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/GlobalValidation.java @@ -15,25 +15,21 @@ @Fluent public final class GlobalValidation { /* - * The action to take when an unauthenticated client attempts to access the - * app. + * The action to take when an unauthenticated client attempts to access the app. */ @JsonProperty(value = "unauthenticatedClientAction") private UnauthenticatedClientActionV2 unauthenticatedClientAction; /* - * The default authentication provider to use when multiple providers are - * configured. - * This setting is only needed if multiple providers are configured and the - * unauthenticated client + * The default authentication provider to use when multiple providers are configured. + * This setting is only needed if multiple providers are configured and the unauthenticated client * action is set to "RedirectToLoginPage". */ @JsonProperty(value = "redirectToProvider") private String redirectToProvider; /* - * The paths for which unauthenticated flow would not be redirected to the - * login page. + * The paths for which unauthenticated flow would not be redirected to the login page. */ @JsonProperty(value = "excludedPaths") private List excludedPaths; diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/Google.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/Google.java index e054143330f3e..0a91403e9bb26 100644 --- a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/Google.java +++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/Google.java @@ -11,15 +11,14 @@ @Fluent public final class Google { /* - * false if the Google provider should not be enabled despite - * the set registration; otherwise, true. + * false if the Google provider should not be enabled despite the set registration; otherwise, + * true. */ @JsonProperty(value = "enabled") private Boolean enabled; /* - * The configuration settings of the app registration for the Google - * provider. + * The configuration settings of the app registration for the Google provider. */ @JsonProperty(value = "registration") private ClientRegistration registration; @@ -31,8 +30,7 @@ public final class Google { private LoginScopes login; /* - * The configuration settings of the Azure Active Directory token - * validation flow. + * The configuration settings of the Azure Active Directory token validation flow. */ @JsonProperty(value = "validation") private AllowedAudiencesValidation validation; diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/HttpSettings.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/HttpSettings.java index dceff513a349a..d88fdbe676803 100644 --- a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/HttpSettings.java +++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/HttpSettings.java @@ -14,8 +14,8 @@ @Fluent public final class HttpSettings { /* - * false if the authentication/authorization responses not - * having the HTTPS scheme are permissible; otherwise, true. + * false if the authentication/authorization responses not having the HTTPS scheme are permissible; + * otherwise, true. */ @JsonProperty(value = "requireHttps") private Boolean requireHttps; diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/HttpSettingsRoutes.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/HttpSettingsRoutes.java index 10778321bbc38..2d2973ea962e9 100644 --- a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/HttpSettingsRoutes.java +++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/HttpSettingsRoutes.java @@ -11,8 +11,7 @@ @Fluent public final class HttpSettingsRoutes { /* - * The prefix that should precede all the authentication/authorization - * paths. + * The prefix that should precede all the authentication/authorization paths. */ @JsonProperty(value = "apiPrefix") private String apiPrefix; diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/IdentityProviders.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/IdentityProviders.java index 839f1ea096e56..cc4f5adf2de12 100644 --- a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/IdentityProviders.java +++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/IdentityProviders.java @@ -58,8 +58,7 @@ public final class IdentityProviders { private AzureStaticWebApps azureStaticWebApps; /* - * The map of the name of the alias of each custom Open ID Connect provider - * to the + * The map of the name of the alias of each custom Open ID Connect provider to the * configuration settings of the custom Open ID Connect provider. */ @JsonProperty(value = "customOpenIdConnectProviders") diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/Ingress.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/Ingress.java index 1c041e51fc560..79c134df3c04d 100644 --- a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/Ingress.java +++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/Ingress.java @@ -48,8 +48,8 @@ public final class Ingress { private List customDomains; /* - * Bool indicating if HTTP connections to is allowed. If set to false HTTP - * connections are automatically redirected to HTTPS connections + * Bool indicating if HTTP connections to is allowed. If set to false HTTP connections are automatically redirected + * to HTTPS connections */ @JsonProperty(value = "allowInsecure") private Boolean allowInsecure; diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/IngressTransportMethod.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/IngressTransportMethod.java index 04e6a2dce2942..54cff595b97dc 100644 --- a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/IngressTransportMethod.java +++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/IngressTransportMethod.java @@ -8,7 +8,7 @@ import com.fasterxml.jackson.annotation.JsonCreator; import java.util.Collection; -/** Defines values for IngressTransportMethod. */ +/** Ingress transport protocol. */ public final class IngressTransportMethod extends ExpandableStringEnum { /** Static value auto for IngressTransportMethod. */ public static final IngressTransportMethod AUTO = fromString("auto"); diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/Login.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/Login.java index ba800efe5120e..47f0dcdd1b4c2 100644 --- a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/Login.java +++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/Login.java @@ -12,24 +12,22 @@ @Fluent public final class Login { /* - * The routes that specify the endpoints used for login and logout - * requests. + * The routes that specify the endpoints used for login and logout requests. */ @JsonProperty(value = "routes") private LoginRoutes routes; /* - * true if the fragments from the request are preserved after - * the login request is made; otherwise, false. + * true if the fragments from the request are preserved after the login request is made; otherwise, + * false. */ @JsonProperty(value = "preserveUrlFragmentsForLogins") private Boolean preserveUrlFragmentsForLogins; /* - * External URLs that can be redirected to as part of logging in or logging - * out of the app. Note that the query string part of the URL is ignored. - * This is an advanced setting typically only needed by Windows Store - * application backends. + * External URLs that can be redirected to as part of logging in or logging out of the app. Note that the query + * string part of the URL is ignored. + * This is an advanced setting typically only needed by Windows Store application backends. * Note that URLs within the current domain are always implicitly allowed. */ @JsonProperty(value = "allowedExternalRedirectUrls") diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/ManagedEnvironments.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/ManagedEnvironments.java index 2477278f7a9d2..c264553d5e85c 100644 --- a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/ManagedEnvironments.java +++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/ManagedEnvironments.java @@ -12,7 +12,9 @@ /** Resource collection API of ManagedEnvironments. */ public interface ManagedEnvironments { /** - * Get all Managed Environments for a subscription. + * Get all Environments for a subscription. + * + *

Get all Managed Environments for a subscription. * * @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request * is rejected by server. @@ -22,7 +24,9 @@ public interface ManagedEnvironments { PagedIterable list(); /** - * Get all Managed Environments for a subscription. + * Get all Environments for a subscription. + * + *

Get all Managed Environments for a subscription. * * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -34,7 +38,9 @@ public interface ManagedEnvironments { PagedIterable list(Context context); /** - * Get all the Managed Environments in a resource group. + * Get all the Environments in a resource group. + * + *

Get all the Managed Environments in a resource group. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -46,7 +52,9 @@ public interface ManagedEnvironments { PagedIterable listByResourceGroup(String resourceGroupName); /** - * Get all the Managed Environments in a resource group. + * Get all the Environments in a resource group. + * + *

Get all the Managed Environments in a resource group. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param context The context to associate with this operation. @@ -59,7 +67,9 @@ public interface ManagedEnvironments { PagedIterable listByResourceGroup(String resourceGroupName, Context context); /** - * Get the properties of a Managed Environment used to host container apps. + * Get the properties of a Managed Environment. + * + *

Get the properties of a Managed Environment used to host container apps. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param environmentName Name of the Environment. @@ -72,7 +82,9 @@ public interface ManagedEnvironments { ManagedEnvironment getByResourceGroup(String resourceGroupName, String environmentName); /** - * Get the properties of a Managed Environment used to host container apps. + * Get the properties of a Managed Environment. + * + *

Get the properties of a Managed Environment used to host container apps. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param environmentName Name of the Environment. @@ -87,7 +99,9 @@ Response getByResourceGroupWithResponse( String resourceGroupName, String environmentName, Context context); /** - * Delete a Managed Environment if it does not have any container apps. + * Delete a Managed Environment. + * + *

Delete a Managed Environment if it does not have any container apps. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param environmentName Name of the Environment. @@ -99,7 +113,9 @@ Response getByResourceGroupWithResponse( void deleteByResourceGroup(String resourceGroupName, String environmentName); /** - * Delete a Managed Environment if it does not have any container apps. + * Delete a Managed Environment. + * + *

Delete a Managed Environment if it does not have any container apps. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param environmentName Name of the Environment. @@ -112,7 +128,9 @@ Response getByResourceGroupWithResponse( void delete(String resourceGroupName, String environmentName, Context context); /** - * Patches a Managed Environment using JSON Merge Patch. + * Update Managed Environment's properties. + * + *

Patches a Managed Environment using JSON Merge Patch. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param environmentName Name of the Environment. @@ -125,7 +143,9 @@ Response getByResourceGroupWithResponse( void update(String resourceGroupName, String environmentName, ManagedEnvironmentInner environmentEnvelope); /** - * Patches a Managed Environment using JSON Merge Patch. + * Update Managed Environment's properties. + * + *

Patches a Managed Environment using JSON Merge Patch. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param environmentName Name of the Environment. @@ -140,7 +160,9 @@ void update( String resourceGroupName, String environmentName, ManagedEnvironmentInner environmentEnvelope, Context context); /** - * Get the properties of a Managed Environment used to host container apps. + * Get the properties of a Managed Environment. + * + *

Get the properties of a Managed Environment used to host container apps. * * @param id the resource ID. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -152,7 +174,9 @@ void update( ManagedEnvironment getById(String id); /** - * Get the properties of a Managed Environment used to host container apps. + * Get the properties of a Managed Environment. + * + *

Get the properties of a Managed Environment used to host container apps. * * @param id the resource ID. * @param context The context to associate with this operation. @@ -165,7 +189,9 @@ void update( Response getByIdWithResponse(String id, Context context); /** - * Delete a Managed Environment if it does not have any container apps. + * Delete a Managed Environment. + * + *

Delete a Managed Environment if it does not have any container apps. * * @param id the resource ID. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -176,7 +202,9 @@ void update( void deleteById(String id); /** - * Delete a Managed Environment if it does not have any container apps. + * Delete a Managed Environment. + * + *

Delete a Managed Environment if it does not have any container apps. * * @param id the resource ID. * @param context The context to associate with this operation. diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/ManagedServiceIdentity.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/ManagedServiceIdentity.java index 2b5d019da2832..5250763c9df86 100644 --- a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/ManagedServiceIdentity.java +++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/ManagedServiceIdentity.java @@ -15,30 +15,28 @@ @Fluent public class ManagedServiceIdentity { /* - * The service principal ID of the system assigned identity. This property - * will only be provided for a system assigned identity. + * The service principal ID of the system assigned identity. This property will only be provided for a system + * assigned identity. */ @JsonProperty(value = "principalId", access = JsonProperty.Access.WRITE_ONLY) private UUID principalId; /* - * The tenant ID of the system assigned identity. This property will only - * be provided for a system assigned identity. + * The tenant ID of the system assigned identity. This property will only be provided for a system assigned + * identity. */ @JsonProperty(value = "tenantId", access = JsonProperty.Access.WRITE_ONLY) private UUID tenantId; /* - * Type of managed service identity (where both SystemAssigned and - * UserAssigned types are allowed). + * Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed). */ @JsonProperty(value = "type", required = true) private ManagedServiceIdentityType type; /* - * The set of user assigned identities associated with the resource. The - * userAssignedIdentities dictionary keys will be ARM resource ids in the - * form: + * The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys + * will be ARM resource ids in the form: * '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. * The dictionary values can be empty objects ({}) in requests. */ diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/ManagedServiceIdentityType.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/ManagedServiceIdentityType.java index a76352c38df3f..b06d0fb6ca057 100644 --- a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/ManagedServiceIdentityType.java +++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/ManagedServiceIdentityType.java @@ -8,7 +8,7 @@ import com.fasterxml.jackson.annotation.JsonCreator; import java.util.Collection; -/** Defines values for ManagedServiceIdentityType. */ +/** Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed). */ public final class ManagedServiceIdentityType extends ExpandableStringEnum { /** Static value None for ManagedServiceIdentityType. */ public static final ManagedServiceIdentityType NONE = fromString("None"); diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/Namespaces.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/Namespaces.java index 31ec2a5bd7a8d..33caa710265c0 100644 --- a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/Namespaces.java +++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/Namespaces.java @@ -10,7 +10,9 @@ /** Resource collection API of Namespaces. */ public interface Namespaces { /** - * Checks if resource name is available. + * Checks the resource name availability. + * + *

Checks if resource name is available. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param environmentName Name of the Managed Environment. @@ -25,7 +27,9 @@ CheckNameAvailabilityResponse checkNameAvailability( String resourceGroupName, String environmentName, CheckNameAvailabilityRequest checkNameAvailabilityRequest); /** - * Checks if resource name is available. + * Checks the resource name availability. + * + *

Checks if resource name is available. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param environmentName Name of the Managed Environment. diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/Nonce.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/Nonce.java index fdb34ac0fe668..4e6591baf1564 100644 --- a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/Nonce.java +++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/Nonce.java @@ -11,8 +11,8 @@ @Fluent public final class Nonce { /* - * false if the nonce should not be validated while completing - * the login flow; otherwise, true. + * false if the nonce should not be validated while completing the login flow; otherwise, + * true. */ @JsonProperty(value = "validateNonce") private Boolean validateNonce; diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/OpenIdConnectClientCredential.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/OpenIdConnectClientCredential.java index b6bdca9cff8e7..e447a556082c1 100644 --- a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/OpenIdConnectClientCredential.java +++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/OpenIdConnectClientCredential.java @@ -17,8 +17,7 @@ public final class OpenIdConnectClientCredential { private ClientCredentialMethod method; /* - * The app setting that contains the client secret for the custom Open ID - * Connect provider. + * The app setting that contains the client secret for the custom Open ID Connect provider. */ @JsonProperty(value = "clientSecretSettingName") private String clientSecretSettingName; diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/OpenIdConnectConfig.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/OpenIdConnectConfig.java index 5c7e05a305dcc..ab349cbb45935 100644 --- a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/OpenIdConnectConfig.java +++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/OpenIdConnectConfig.java @@ -35,8 +35,7 @@ public final class OpenIdConnectConfig { private String certificationUri; /* - * The endpoint that contains all the configuration endpoints for the - * provider. + * The endpoint that contains all the configuration endpoints for the provider. */ @JsonProperty(value = "wellKnownOpenIdConfiguration") private String wellKnownOpenIdConfiguration; diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/OpenIdConnectRegistration.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/OpenIdConnectRegistration.java index 192a661f3b989..acf654b8ded42 100644 --- a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/OpenIdConnectRegistration.java +++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/OpenIdConnectRegistration.java @@ -23,8 +23,7 @@ public final class OpenIdConnectRegistration { private OpenIdConnectClientCredential clientCredential; /* - * The configuration settings of the endpoints used for the custom Open ID - * Connect provider. + * The configuration settings of the endpoints used for the custom Open ID Connect provider. */ @JsonProperty(value = "openIdConnectConfiguration") private OpenIdConnectConfig openIdConnectConfiguration; diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/RegistryCredentials.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/RegistryCredentials.java index 2ede306b687b1..40a50abfa8f06 100644 --- a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/RegistryCredentials.java +++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/RegistryCredentials.java @@ -29,9 +29,8 @@ public final class RegistryCredentials { private String passwordSecretRef; /* - * A Managed Identity to use to authenticate with Azure Container Registry. - * For user-assigned identities, use the full user-assigned identity - * Resource ID. For system-assigned identities, use 'system' + * A Managed Identity to use to authenticate with Azure Container Registry. For user-assigned identities, use the + * full user-assigned identity Resource ID. For system-assigned identities, use 'system' */ @JsonProperty(value = "identity") private String identity; diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/RevisionHealthState.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/RevisionHealthState.java index 23bd9205b40cd..dc40a43691f8f 100644 --- a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/RevisionHealthState.java +++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/RevisionHealthState.java @@ -8,7 +8,7 @@ import com.fasterxml.jackson.annotation.JsonCreator; import java.util.Collection; -/** Defines values for RevisionHealthState. */ +/** Current health State of the revision. */ public final class RevisionHealthState extends ExpandableStringEnum { /** Static value Healthy for RevisionHealthState. */ public static final RevisionHealthState HEALTHY = fromString("Healthy"); diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/RevisionProvisioningState.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/RevisionProvisioningState.java index e34f70978f599..5f5205cd23215 100644 --- a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/RevisionProvisioningState.java +++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/RevisionProvisioningState.java @@ -8,7 +8,7 @@ import com.fasterxml.jackson.annotation.JsonCreator; import java.util.Collection; -/** Defines values for RevisionProvisioningState. */ +/** Current provisioning State of the revision. */ public final class RevisionProvisioningState extends ExpandableStringEnum { /** Static value Provisioning for RevisionProvisioningState. */ public static final RevisionProvisioningState PROVISIONING = fromString("Provisioning"); diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/Scale.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/Scale.java index 2af107980c751..c1cc83350c77b 100644 --- a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/Scale.java +++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/Scale.java @@ -18,8 +18,7 @@ public final class Scale { private Integer minReplicas; /* - * Optional. Maximum number of container replicas. Defaults to 10 if not - * set. + * Optional. Maximum number of container replicas. Defaults to 10 if not set. */ @JsonProperty(value = "maxReplicas") private Integer maxReplicas; diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/Scheme.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/Scheme.java index c561ce421911d..a6818740846ad 100644 --- a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/Scheme.java +++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/Scheme.java @@ -8,7 +8,7 @@ import com.fasterxml.jackson.annotation.JsonCreator; import java.util.Collection; -/** Defines values for Scheme. */ +/** Scheme to use for connecting to the host. Defaults to HTTP. */ public final class Scheme extends ExpandableStringEnum { /** Static value HTTP for Scheme. */ public static final Scheme HTTP = fromString("HTTP"); diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/SourceControlOperationState.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/SourceControlOperationState.java index efaab9ad14ef7..e99c063b3a2a0 100644 --- a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/SourceControlOperationState.java +++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/SourceControlOperationState.java @@ -8,7 +8,7 @@ import com.fasterxml.jackson.annotation.JsonCreator; import java.util.Collection; -/** Defines values for SourceControlOperationState. */ +/** Current provisioning State of the operation. */ public final class SourceControlOperationState extends ExpandableStringEnum { /** Static value InProgress for SourceControlOperationState. */ public static final SourceControlOperationState IN_PROGRESS = fromString("InProgress"); diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/StorageType.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/StorageType.java index 23beb970b46df..e1887e6837156 100644 --- a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/StorageType.java +++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/StorageType.java @@ -8,7 +8,7 @@ import com.fasterxml.jackson.annotation.JsonCreator; import java.util.Collection; -/** Defines values for StorageType. */ +/** Storage type for the volume. If not provided, use EmptyDir. */ public final class StorageType extends ExpandableStringEnum { /** Static value AzureFile for StorageType. */ public static final StorageType AZURE_FILE = fromString("AzureFile"); diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/Twitter.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/Twitter.java index 4e07b3aff83ee..b6f91e49b5fdf 100644 --- a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/Twitter.java +++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/Twitter.java @@ -11,15 +11,14 @@ @Fluent public final class Twitter { /* - * false if the Twitter provider should not be enabled despite - * the set registration; otherwise, true. + * false if the Twitter provider should not be enabled despite the set registration; otherwise, + * true. */ @JsonProperty(value = "enabled") private Boolean enabled; /* - * The configuration settings of the app registration for the Twitter - * provider. + * The configuration settings of the app registration for the Twitter provider. */ @JsonProperty(value = "registration") private TwitterRegistration registration; diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/TwitterRegistration.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/TwitterRegistration.java index 37bf160c12b9d..0314f25bb5a1b 100644 --- a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/TwitterRegistration.java +++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/TwitterRegistration.java @@ -19,8 +19,7 @@ public final class TwitterRegistration { private String consumerKey; /* - * The app setting name that contains the OAuth 1.0a consumer secret of the - * Twitter + * The app setting name that contains the OAuth 1.0a consumer secret of the Twitter * application used for sign-in. */ @JsonProperty(value = "consumerSecretSettingName") diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/Type.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/Type.java index fa69222e8fa19..f6780b693f9b4 100644 --- a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/Type.java +++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/Type.java @@ -8,7 +8,7 @@ import com.fasterxml.jackson.annotation.JsonCreator; import java.util.Collection; -/** Defines values for Type. */ +/** The type of probe. */ public final class Type extends ExpandableStringEnum { /** Static value Liveness for Type. */ public static final Type LIVENESS = fromString("Liveness"); diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/UnauthenticatedClientActionV2.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/UnauthenticatedClientActionV2.java index a3a2fc415bfea..0cc5de4ca5213 100644 --- a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/UnauthenticatedClientActionV2.java +++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/UnauthenticatedClientActionV2.java @@ -7,7 +7,7 @@ import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonValue; -/** Defines values for UnauthenticatedClientActionV2. */ +/** The action to take when an unauthenticated client attempts to access the app. */ public enum UnauthenticatedClientActionV2 { /** Enum value RedirectToLoginPage. */ REDIRECT_TO_LOGIN_PAGE("RedirectToLoginPage"), @@ -36,6 +36,9 @@ public enum UnauthenticatedClientActionV2 { */ @JsonCreator public static UnauthenticatedClientActionV2 fromString(String value) { + if (value == null) { + return null; + } UnauthenticatedClientActionV2[] items = UnauthenticatedClientActionV2.values(); for (UnauthenticatedClientActionV2 item : items) { if (item.toString().equalsIgnoreCase(value)) { @@ -45,6 +48,7 @@ public static UnauthenticatedClientActionV2 fromString(String value) { return null; } + /** {@inheritDoc} */ @JsonValue @Override public String toString() { diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/VnetConfiguration.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/VnetConfiguration.java index 068b95ab5637c..90c141c2ade66 100644 --- a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/VnetConfiguration.java +++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/VnetConfiguration.java @@ -11,57 +11,51 @@ @Fluent public final class VnetConfiguration { /* - * Boolean indicating the environment only has an internal load balancer. - * These environments do not have a public static IP resource, must provide - * ControlPlaneSubnetResourceId and AppSubnetResourceId if enabling this - * property + * Boolean indicating the environment only has an internal load balancer. These environments do not have a public + * static IP resource. They must provide runtimeSubnetId and infrastructureSubnetId if enabling this property */ @JsonProperty(value = "internal") private Boolean internal; /* - * Resource ID of a subnet for infrastructure components. This subnet must - * be in the same VNET as the subnet defined in runtimeSubnetId. Must not - * overlap with any other provided IP ranges. + * Resource ID of a subnet for infrastructure components. This subnet must be in the same VNET as the subnet + * defined in runtimeSubnetId. Must not overlap with any other provided IP ranges. */ @JsonProperty(value = "infrastructureSubnetId") private String infrastructureSubnetId; /* - * Resource ID of a subnet that Container App containers are injected into. - * This subnet must be in the same VNET as the subnet defined in - * infrastructureSubnetId. Must not overlap with any other provided IP - * ranges. + * Resource ID of a subnet that Container App containers are injected into. This subnet must be in the same VNET as + * the subnet defined in infrastructureSubnetId. Must not overlap with any other provided IP ranges. */ @JsonProperty(value = "runtimeSubnetId") private String runtimeSubnetId; /* - * CIDR notation IP range assigned to the Docker bridge, network. Must not - * overlap with any other provided IP ranges. + * CIDR notation IP range assigned to the Docker bridge, network. Must not overlap with any other provided IP + * ranges. */ @JsonProperty(value = "dockerBridgeCidr") private String dockerBridgeCidr; /* - * IP range in CIDR notation that can be reserved for environment - * infrastructure IP addresses. Must not overlap with any other provided IP - * ranges. + * IP range in CIDR notation that can be reserved for environment infrastructure IP addresses. Must not overlap + * with any other provided IP ranges. */ @JsonProperty(value = "platformReservedCidr") private String platformReservedCidr; /* - * An IP address from the IP range defined by platformReservedCidr that - * will be reserved for the internal DNS server. + * An IP address from the IP range defined by platformReservedCidr that will be reserved for the internal DNS + * server. */ @JsonProperty(value = "platformReservedDnsIP") private String platformReservedDnsIp; /** * Get the internal property: Boolean indicating the environment only has an internal load balancer. These - * environments do not have a public static IP resource, must provide ControlPlaneSubnetResourceId and - * AppSubnetResourceId if enabling this property. + * environments do not have a public static IP resource. They must provide runtimeSubnetId and + * infrastructureSubnetId if enabling this property. * * @return the internal value. */ @@ -71,8 +65,8 @@ public Boolean internal() { /** * Set the internal property: Boolean indicating the environment only has an internal load balancer. These - * environments do not have a public static IP resource, must provide ControlPlaneSubnetResourceId and - * AppSubnetResourceId if enabling this property. + * environments do not have a public static IP resource. They must provide runtimeSubnetId and + * infrastructureSubnetId if enabling this property. * * @param internal the internal value to set. * @return the VnetConfiguration object itself. diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/VolumeMount.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/VolumeMount.java index 81c761c518024..5718251f03bf0 100644 --- a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/VolumeMount.java +++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/models/VolumeMount.java @@ -17,8 +17,7 @@ public final class VolumeMount { private String volumeName; /* - * Path within the container at which the volume should be mounted.Must not - * contain ':'. + * Path within the container at which the volume should be mounted.Must not contain ':'. */ @JsonProperty(value = "mountPath") private String mountPath; diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/samples/java/com/azure/resourcemanager/appcontainers/generated/ContainerAppsListCustomHostnameAnalysisSamples.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/samples/java/com/azure/resourcemanager/appcontainers/generated/ContainerAppsListCustomHostnameAnalysisSamples.java index a0f775c3c2b30..2b4284e907269 100644 --- a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/samples/java/com/azure/resourcemanager/appcontainers/generated/ContainerAppsListCustomHostnameAnalysisSamples.java +++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/samples/java/com/azure/resourcemanager/appcontainers/generated/ContainerAppsListCustomHostnameAnalysisSamples.java @@ -8,6 +8,21 @@ /** Samples for ContainerApps ListCustomHostnameAnalysis. */ public final class ContainerAppsListCustomHostnameAnalysisSamples { + /* + * x-ms-original-file: specification/app/resource-manager/Microsoft.App/stable/2022-03-01/examples/ContainerApps_ListCustomHostNameAnalysisErrorResponse.json + */ + /** + * Sample code: Analyse Custom Hostname Error Response. + * + * @param manager Entry point to ContainerAppsApiManager. + */ + public static void analyseCustomHostnameErrorResponse( + com.azure.resourcemanager.appcontainers.ContainerAppsApiManager manager) { + manager + .containerApps() + .listCustomHostnameAnalysisWithResponse("rg", "testcontainerApp0", "my.name.corp", Context.NONE); + } + /* * x-ms-original-file: specification/app/resource-manager/Microsoft.App/stable/2022-03-01/examples/ContainerApps_ListCustomHostNameAnalysis.json */