diff --git a/eng/versioning/version_client.txt b/eng/versioning/version_client.txt
index 5bef20bd1c1f..44d022c62e53 100644
--- a/eng/versioning/version_client.txt
+++ b/eng/versioning/version_client.txt
@@ -410,7 +410,7 @@ com.azure.resourcemanager:azure-resourcemanager-mobilenetwork;1.3.1;1.4.0-beta.1
com.azure.resourcemanager:azure-resourcemanager-azureadexternalidentities;1.0.0-beta.1;1.0.0-beta.1
com.azure.resourcemanager:azure-resourcemanager-dashboard;1.2.0;1.3.0-beta.1
com.azure.resourcemanager:azure-resourcemanager-servicelinker;1.0.0;1.1.0-beta.1
-com.azure.resourcemanager:azure-resourcemanager-appcontainers;1.2.0;1.3.0-beta.1
+com.azure.resourcemanager:azure-resourcemanager-appcontainers;1.2.0;1.3.0
com.azure.resourcemanager:azure-resourcemanager-scvmm;1.0.0;1.1.0-beta.1
com.azure.resourcemanager:azure-resourcemanager-hardwaresecuritymodules;1.1.0;1.2.0-beta.2
com.azure.resourcemanager:azure-resourcemanager-workloads;1.1.0;1.2.0-beta.1
diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/CHANGELOG.md b/sdk/appcontainers/azure-resourcemanager-appcontainers/CHANGELOG.md
index 1bd1f15c0188..a170b97544e6 100644
--- a/sdk/appcontainers/azure-resourcemanager-appcontainers/CHANGELOG.md
+++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/CHANGELOG.md
@@ -1,14 +1,1102 @@
# Release History
-## 1.3.0-beta.1 (Unreleased)
+## 1.3.0 (2026-09-10)
+
+- Azure Resource Manager ContainerAppsApi client library for Java. This package contains Microsoft Azure SDK for ContainerAppsApi Management SDK. Functions is an extension resource to revisions and the api listed is used to proxy the call from Web RP to the function app's host process, this api is not exposed to users and only Web RP is allowed to invoke functions extension resource. Package api-version 2026-07-01. For documentation on how to use this package, please see [Azure Management Libraries for Java](https://aka.ms/azsdk/java/mgmt).
+
+### Breaking Changes
+
+#### `models.PrivateEndpointConnectionListResult` was removed
+
+#### `models.WorkloadProfileStatesCollection` was removed
+
+#### `models.DaprComponentsCollection` was removed
+
+#### `models.ManagedCertificateCollection` was removed
+
+#### `models.AvailableWorkloadProfilesCollection` was removed
+
+#### `models.JobsCollection` was removed
+
+#### `models.ListUsagesResult` was removed
+
+#### `models.ContainerAppCollection` was removed
+
+#### `models.ConnectedEnvironmentCollection` was removed
+
+#### `models.CertificateCollection` was removed
+
+#### `models.WorkflowEnvelopeCollection` was removed
+
+#### `models.JavaComponentsCollection` was removed
+
+#### `models.PrivateLinkResourceListResult` was removed
+
+#### `models.AvailableOperations` was removed
+
+#### `models.RevisionCollection` was removed
+
+#### `models.HttpRouteConfigCollection` was removed
+
+#### `models.MaintenanceConfigurationCollection` was removed
+
+#### `models.SourceControlCollection` was removed
+
+#### `models.ManagedEnvironmentsCollection` was removed
+
+#### `models.AuthConfigCollection` was removed
+
+#### `models.SessionPoolCollection` was removed
+
+#### `models.SessionContainer` was modified
+
+* `validate()` was removed
+
+#### `models.JobConfigurationScheduleTriggerConfig` was modified
+
+* `validate()` was removed
+
+#### `models.IngressConfiguration` was modified
+
+* `validate()` was removed
+
+#### `models.ManagedCertificatePatch` was modified
+
+* `validate()` was removed
+
+#### `models.HttpRouteProvisioningErrors` was modified
+
+* `HttpRouteProvisioningErrors()` was changed to private access
+* `validate()` was removed
+
+#### `models.Runtime` was modified
+
+* `validate()` was removed
+
+#### `models.ServiceBind` was modified
+
+* `validate()` was removed
+
+#### `models.SessionPoolUpdatableProperties` was modified
+
+* `validate()` was removed
+
+#### `models.JavaComponentPropertiesScale` was modified
+
+* `validate()` was removed
+
+#### `models.ScaleConfiguration` was modified
+
+* `validate()` was removed
+
+#### `models.Secret` was modified
+
+* `validate()` was removed
+
+#### `models.AzureActiveDirectoryValidation` was modified
+
+* `validate()` was removed
+
+#### `models.HttpRouteConfigProperties` was modified
+
+* `validate()` was removed
+
+#### `models.LoginScopes` was modified
+
+* `validate()` was removed
+
+#### `models.AvailableWorkloadProfileProperties` was modified
+
+* `AvailableWorkloadProfileProperties()` was changed to private access
+* `withCategory(java.lang.String)` was removed
+* `withGpus(java.lang.Integer)` was removed
+* `withMemoryGiB(java.lang.Integer)` was removed
+* `validate()` was removed
+* `withCores(java.lang.Integer)` was removed
+* `withApplicability(models.Applicability)` was removed
+* `withDisplayName(java.lang.String)` was removed
+
+#### `models.HttpSettings` was modified
+
+* `validate()` was removed
+
+#### `models.CertificateKeyVaultProperties` was modified
+
+* `validate()` was removed
+
+#### `models.Google` was modified
+
+* `validate()` was removed
+
+#### `models.AllowedPrincipals` was modified
+
+* `validate()` was removed
+
+#### `models.ConnectedEnvironmentPatchResource` was modified
+
+* `validate()` was removed
+
+#### `models.ContainerAppProbeHttpGetHttpHeadersItem` was modified
+
+* `validate()` was removed
+
+#### `models.KedaConfiguration` was modified
+
+* `validate()` was removed
+
+#### `models.SpringBootAdminComponent` was modified
+
+* `validate()` was removed
+
+#### `models.DiagnosticsDefinition` was modified
+
+* `DiagnosticsDefinition()` was changed to private access
+* `withSupportTopicList(java.util.List)` was removed
+* `withAnalysisTypes(java.util.List)` was removed
+* `validate()` was removed
+
+#### `models.PrivateEndpoint` was modified
+
+* `validate()` was removed
+
+#### `models.JavaComponentServiceBind` was modified
+
+* `validate()` was removed
+
+#### `models.GlobalValidation` was modified
+
+* `validate()` was removed
+
+#### `models.AzureActiveDirectoryLogin` was modified
+
+* `validate()` was removed
+
+#### `models.WorkloadProfile` was modified
+
+* `validate()` was removed
+
+#### `models.InitContainer` was modified
+
+* `validate()` was removed
+
+#### `models.EnvironmentVar` was modified
+
+* `validate()` was removed
+
+#### `models.CertificatePatch` was modified
+
+* `validate()` was removed
+
+#### `models.UsageName` was modified
+
+* `UsageName()` was changed to private access
+* `withValue(java.lang.String)` was removed
+* `validate()` was removed
+* `withLocalizedValue(java.lang.String)` was removed
+
+#### `models.TrafficWeight` was modified
+
+* `validate()` was removed
+
+#### `models.JobScale` was modified
+
+* `validate()` was removed
+
+#### `models.IpSecurityRestrictionRule` was modified
+
+* `validate()` was removed
+
+#### `models.AppleRegistration` was modified
+
+* `validate()` was removed
+
+#### `models.QueueScaleRule` was modified
+
+* `validate()` was removed
+
+#### `models.CheckNameAvailabilityRequest` was modified
+
+* `validate()` was removed
+
+#### `models.OpenIdConnectLogin` was modified
+
+* `validate()` was removed
+
+#### `models.UserAssignedIdentity` was modified
+
+* `java.util.UUID principalId()` -> `java.lang.String principalId()`
+* `java.util.UUID clientId()` -> `java.lang.String clientId()`
+* `validate()` was removed
+
+#### `models.SecretKeyVaultProperties` was modified
+
+* `validate()` was removed
+
+#### `models.JavaComponentConfigurationProperty` was modified
+
+* `validate()` was removed
+
+#### `models.ConnectedEnvironmentStorageProperties` was modified
+
+* `validate()` was removed
+
+#### `models.AppRegistration` was modified
+
+* `validate()` was removed
+
+#### `models.ContainerAppSecret` was modified
+
+* `ContainerAppSecret()` was changed to private access
+* `validate()` was removed
+
+#### `models.SpringCloudConfigComponent` was modified
+
+* `validate()` was removed
+
+#### `models.Service` was modified
+
+* `validate()` was removed
+
+#### `models.DaprAppHealth` was modified
+
+* `validate()` was removed
+
+#### `models.BillingMeterProperties` was modified
+
+* `BillingMeterProperties()` was changed to private access
+* `withCategory(java.lang.String)` was removed
+* `validate()` was removed
+* `withMeterType(java.lang.String)` was removed
+* `withDisplayName(java.lang.String)` was removed
+
+#### `models.ManagedEnvironmentStorageProperties` was modified
+
+* `validate()` was removed
+
+#### `models.OpenIdConnectConfig` was modified
+
+* `validate()` was removed
+
+#### `models.BillingMeter` was modified
+
+* `BillingMeter()` was changed to private access
+* `validate()` was removed
+* `withLocation(java.lang.String)` was removed
+* `withProperties(models.BillingMeterProperties)` was removed
+
+#### `models.GithubActionConfiguration` was modified
+
+* `validate()` was removed
+
+#### `models.JobPatchPropertiesProperties` was modified
+
+* `validate()` was removed
+
+#### `models.AllowedAudiencesValidation` was modified
+
+* `validate()` was removed
+
+#### `models.LifecycleConfiguration` was modified
+
+* `validate()` was removed
+
+#### `models.ScaleRule` was modified
+
+* `validate()` was removed
+
+#### `models.ClientRegistration` was modified
+
+* `validate()` was removed
+
+#### `models.WorkflowEnvelopeProperties` was modified
+
+* `WorkflowEnvelopeProperties()` was changed to private access
+* `validate()` was removed
+* `withHealth(models.WorkflowHealth)` was removed
+* `withFlowState(models.WorkflowState)` was removed
+* `withFiles(java.lang.Object)` was removed
+
+#### `models.CustomHostnameAnalysisResultCustomDomainVerificationFailureInfoDetailsItem` was modified
+
+* `CustomHostnameAnalysisResultCustomDomainVerificationFailureInfoDetailsItem()` was changed to private access
+* `validate()` was removed
+
+#### `models.ForwardProxy` was modified
+
+* `validate()` was removed
+
+#### `models.IdentityProviders` was modified
+
+* `validate()` was removed
+
+#### `models.ContainerAppProbe` was modified
+
+* `validate()` was removed
+
+#### `models.ScaleRuleAuth` was modified
+
+* `validate()` was removed
+
+#### `models.JobConfiguration` was modified
+
+* `validate()` was removed
+
+#### `models.TcpScaleRule` was modified
+
+* `validate()` was removed
+
+#### `models.SecretVolumeItem` was modified
+
+* `validate()` was removed
+
+#### `models.OperationDisplay` was modified
+
+* `OperationDisplay()` was changed to private access
+* `withDescription(java.lang.String)` was removed
+* `withResource(java.lang.String)` was removed
+* `withProvider(java.lang.String)` was removed
+* `validate()` was removed
+* `withOperation(java.lang.String)` was removed
+
+#### `models.JobConfigurationManualTriggerConfig` was modified
+
+* `validate()` was removed
+
+#### `models.JobConfigurationEventTriggerConfig` was modified
+
+* `validate()` was removed
+
+#### `models.Scale` was modified
+
+* `validate()` was removed
+
+#### `models.SessionIngress` was modified
+
+* `validate()` was removed
+
+#### `models.CustomDomain` was modified
+
+* `validate()` was removed
+
+#### `models.IngressStickySessions` was modified
+
+* `validate()` was removed
+
+#### `models.TokenStore` was modified
+
+* `validate()` was removed
+
+#### `models.ErrorEntity` was modified
+
+* `ErrorEntity()` was changed to private access
+* `withParameters(java.util.List)` was removed
+* `withTarget(java.lang.String)` was removed
+* `withCode(java.lang.String)` was removed
+* `withDetails(java.util.List)` was removed
+* `withExtendedCode(java.lang.String)` was removed
+* `withMessageTemplate(java.lang.String)` was removed
+* `validate()` was removed
+* `withInnerErrors(java.util.List)` was removed
+* `withMessage(java.lang.String)` was removed
+
+#### `models.VnetConfiguration` was modified
+
+* `validate()` was removed
+
+#### `models.PrivateLinkServiceConnectionState` was modified
+
+* `validate()` was removed
+
+#### `models.WorkflowHealth` was modified
+
+* `WorkflowHealth()` was changed to private access
+* `withError(models.ErrorEntity)` was removed
+* `withState(models.WorkflowHealthState)` was removed
+* `validate()` was removed
+
+#### `models.LogAnalyticsConfiguration` was modified
+
+* `validate()` was removed
+
+#### `models.Mtls` was modified
+
+* `validate()` was removed
+
+#### `models.NfsAzureFileProperties` was modified
+
+* `validate()` was removed
+
+#### `models.SessionContainerResources` was modified
+
+* `validate()` was removed
+
+#### `models.SessionPoolSecret` was modified
+
+* `validate()` was removed
+
+#### `models.AzureFileProperties` was modified
+
+* `validate()` was removed
+
+#### `models.AuthPlatform` was modified
+
+* `validate()` was removed
+
+#### `models.CorsPolicy` was modified
+
+* `validate()` was removed
+
+#### `models.RegistryCredentials` was modified
+
+* `validate()` was removed
+
+#### `models.HttpRouteMatch` was modified
+
+* `validate()` was removed
+
+#### `models.OpenIdConnectClientCredential` was modified
+
+* `validate()` was removed
+
+#### `models.JobTemplate` was modified
+
+* `validate()` was removed
+
+#### `models.AzureActiveDirectoryRegistration` was modified
+
+* `validate()` was removed
+
+#### `models.ManagedServiceIdentity` was modified
+
+* `java.util.UUID tenantId()` -> `java.lang.String tenantId()`
+* `validate()` was removed
+* `java.util.UUID principalId()` -> `java.lang.String principalId()`
+
+#### `models.DefaultAuthorizationPolicy` was modified
+
+* `validate()` was removed
+
+#### `models.DefaultErrorResponseError` was modified
+
+* `DefaultErrorResponseError()` was changed to private access
+* `validate()` was removed
+
+#### `models.AzureCredentials` was modified
+
+* `validate()` was removed
+
+#### `models.WorkloadProfileStatesProperties` was modified
+
+* `WorkloadProfileStatesProperties()` was changed to private access
+* `withMaximumCount(java.lang.Integer)` was removed
+* `withCurrentCount(java.lang.Integer)` was removed
+* `validate()` was removed
+* `withMinimumCount(java.lang.Integer)` was removed
+
+#### `models.HttpScaleRule` was modified
+
+* `validate()` was removed
+
+#### `models.AzureActiveDirectory` was modified
+
+* `validate()` was removed
+
+#### `models.Login` was modified
+
+* `validate()` was removed
+
+#### `models.DiagnosticsDataApiResponse` was modified
+
+* `DiagnosticsDataApiResponse()` was changed to private access
+* `validate()` was removed
+* `withRenderingProperties(models.DiagnosticRendering)` was removed
+* `withTable(models.DiagnosticDataTableResponseObject)` was removed
+
+#### `models.HttpRouteAction` was modified
+
+* `validate()` was removed
+
+#### `models.ManagedCertificateProperties` was modified
+
+* `validate()` was removed
+
+#### `models.JobExecutionContainer` was modified
+
+* `validate()` was removed
+
+#### `models.AzureStaticWebApps` was modified
+
+* `validate()` was removed
+
+#### `models.RuntimeJava` was modified
+
+* `validate()` was removed
+
+#### `models.DaprConfiguration` was modified
+
+* `validate()` was removed
+
+#### `models.JobPatchProperties` was modified
+
+* `validate()` was removed
+
+#### `models.AzureStaticWebAppsRegistration` was modified
+
+* `validate()` was removed
+
+#### `models.ManagedEnvironmentPropertiesPeerTrafficConfiguration` was modified
+
+* `validate()` was removed
+
+#### `models.TwitterRegistration` was modified
+
+* `validate()` was removed
+
+#### `models.EncryptionSettings` was modified
+
+* `validate()` was removed
+
+#### `models.Twitter` was modified
+
+* `validate()` was removed
+
+#### `models.ScheduledEntry` was modified
+
+* `validate()` was removed
+
+#### `models.Container` was modified
+
+* `validate()` was removed
+
+#### `models.CustomHostnameAnalysisResultCustomDomainVerificationFailureInfo` was modified
+
+* `CustomHostnameAnalysisResultCustomDomainVerificationFailureInfo()` was changed to private access
+* `validate()` was removed
+* `withDetails(java.util.List)` was removed
+
+#### `models.Facebook` was modified
+
+* `validate()` was removed
+
+#### `models.CookieExpiration` was modified
+
+* `validate()` was removed
+
+#### `models.ManagedIdentitySetting` was modified
+
+* `withLifecycle(models.IdentitySettingsLifeCycle)` was removed
+* `models.IdentitySettingsLifeCycle lifecycle()` -> `models.SessionPoolIdentityLifeCycle lifecycle()`
+* `validate()` was removed
+
+#### `models.CustomOpenIdConnectProvider` was modified
+
+* `validate()` was removed
+
+#### `models.CertificateProperties` was modified
+
+* `validate()` was removed
+
+#### `models.DiagnosticRendering` was modified
+
+* `DiagnosticRendering()` was changed to private access
+* `withTitle(java.lang.String)` was removed
+* `withType(java.lang.Integer)` was removed
+* `withDescription(java.lang.String)` was removed
+* `withIsVisible(java.lang.Boolean)` was removed
+* `validate()` was removed
+
+#### `models.Apple` was modified
+
+* `validate()` was removed
+
+#### `models.CustomContainerTemplate` was modified
+
+* `validate()` was removed
+
+#### `models.DiagnosticSupportTopic` was modified
+
+* `DiagnosticSupportTopic()` was changed to private access
+* `validate()` was removed
+
+#### `models.JwtClaimChecks` was modified
+
+* `validate()` was removed
+
+#### `models.ContainerAppProbeHttpGet` was modified
+
+* `validate()` was removed
+
+#### `models.SessionNetworkConfiguration` was modified
+
+* `validate()` was removed
+
+#### `models.JobScaleRule` was modified
+
+* `validate()` was removed
+
+#### `models.DynamicPoolConfiguration` was modified
+
+* `validate()` was removed
+
+#### `models.RegistryInfo` was modified
+
+* `validate()` was removed
+
+#### `models.ManagedEnvironmentPropertiesPeerTrafficConfigurationEncryption` was modified
+
+* `validate()` was removed
+
+#### `models.Volume` was modified
+
+* `validate()` was removed
+
+#### `models.DaprSecret` was modified
+
+* `DaprSecret()` was changed to private access
+* `validate()` was removed
+
+#### `models.IdentitySettings` was modified
+
+* `validate()` was removed
+
+#### `models.DaprMetadata` was modified
+
+* `validate()` was removed
+
+#### `models.JobExecutionTemplate` was modified
+
+* `validate()` was removed
+
+#### `models.HttpRouteTarget` was modified
+
+* `validate()` was removed
+
+#### `models.DiagnosticsProperties` was modified
+
+* `DiagnosticsProperties()` was changed to private access
+* `validate()` was removed
+* `withMetadata(models.DiagnosticsDefinition)` was removed
+* `withDataset(java.util.List)` was removed
+* `withStatus(models.DiagnosticsStatus)` was removed
+* `withDataProviderMetadata(models.DiagnosticDataProviderMetadata)` was removed
+
+#### `models.IngressPortMapping` was modified
+
+* `validate()` was removed
+
+#### `models.DiagnosticsStatus` was modified
+
+* `DiagnosticsStatus()` was changed to private access
+* `withMessage(java.lang.String)` was removed
+* `withStatusId(java.lang.Integer)` was removed
+* `validate()` was removed
+
+#### `models.ReplicaContainer` was modified
+
+* `ReplicaContainer()` was changed to private access
+* `withContainerId(java.lang.String)` was removed
+* `withReady(java.lang.Boolean)` was removed
+* `validate()` was removed
+* `withRestartCount(java.lang.Integer)` was removed
+* `withStarted(java.lang.Boolean)` was removed
+* `withName(java.lang.String)` was removed
+
+#### `models.BaseContainer` was modified
+
+* `validate()` was removed
+
+#### `models.BlobStorageTokenStore` was modified
+
+* `validate()` was removed
+
+#### `models.VolumeMount` was modified
+
+* `validate()` was removed
+
+#### `models.DiagnosticDataProviderMetadata` was modified
+
+* `DiagnosticDataProviderMetadata()` was changed to private access
+* `withProviderName(java.lang.String)` was removed
+* `validate()` was removed
+* `withPropertyBag(java.util.List)` was removed
+
+#### `models.ExtendedLocation` was modified
+
+* `validate()` was removed
+
+#### `models.DiagnosticDataTableResponseObject` was modified
+
+* `DiagnosticDataTableResponseObject()` was changed to private access
+* `withColumns(java.util.List)` was removed
+* `validate()` was removed
+* `withRows(java.util.List)` was removed
+* `withTableName(java.lang.String)` was removed
+
+#### `models.SessionRegistryCredentials` was modified
+
+* `validate()` was removed
+
+#### `models.ManagedEnvironmentPropertiesPeerAuthentication` was modified
+
+* `validate()` was removed
+
+#### `models.DiagnosticDataProviderMetadataPropertyBagItem` was modified
+
+* `DiagnosticDataProviderMetadataPropertyBagItem()` was changed to private access
+* `validate()` was removed
+* `withName(java.lang.String)` was removed
+* `withValue(java.lang.String)` was removed
+
+#### `models.AppLogsConfiguration` was modified
+
+* `validate()` was removed
+
+#### `models.HttpRouteRule` was modified
+
+* `validate()` was removed
+
+#### `models.JavaComponentProperties` was modified
+
+* `validate()` was removed
+
+#### `models.GitHub` was modified
+
+* `validate()` was removed
+
+#### `models.ResourceTags` was modified
+
+* `validate()` was removed
+
+#### `models.CustomScaleRule` was modified
+
+* `validate()` was removed
+
+#### `models.Nonce` was modified
+
+* `validate()` was removed
+
+#### `models.ContainerResources` was modified
+
+* `validate()` was removed
+
+#### `models.OpenIdConnectRegistration` was modified
+
+* `validate()` was removed
+
+#### `models.Ingress` was modified
+
+* `validate()` was removed
+
+#### `models.HttpRoute` was modified
+
+* `validate()` was removed
+
+#### `models.CustomDomainConfiguration` was modified
+
+* `validate()` was removed
+
+#### `models.JavaComponentIngress` was modified
+
+* `validate()` was removed
+
+#### `models.Dapr` was modified
+
+* `validate()` was removed
+
+#### `models.HttpSettingsRoutes` was modified
+
+* `validate()` was removed
+
+#### `models.DiagnosticDataTableResponseColumn` was modified
+
+* `DiagnosticDataTableResponseColumn()` was changed to private access
+* `withColumnType(java.lang.String)` was removed
+* `validate()` was removed
+* `withColumnName(java.lang.String)` was removed
+* `withDataType(java.lang.String)` was removed
+
+#### `models.Configuration` was modified
+
+* `validate()` was removed
+
+#### `models.Template` was modified
+
+* `validate()` was removed
+
+#### `models.ContainerAppProbeTcpSocket` was modified
+
+* `validate()` was removed
+
+#### `models.SpringCloudEurekaComponent` was modified
+
+* `validate()` was removed
+
+#### `models.LoginRoutes` was modified
+
+* `validate()` was removed
### Features Added
-### Breaking Changes
+* `models.DotNetComponent$UpdateStages` was added
+
+* `models.LabelHistory` was added
+
+* `models.CheckMigrationEligibilityResponse` was added
+
+* `models.DaprComponentResiliencyPolicyTimeoutPolicyConfiguration` was added
+
+* `models.ContainerAppsFunction` was added
+
+* `models.VnetConnectionProperties` was added
+
+* `models.SessionPoolIdentityLifeCycle` was added
+
+* `models.DotNetComponents` was added
+
+* `models.SandboxGroups` was added
+
+* `models.LabelHistoryRecordItem` was added
+
+* `models.SessionProbe` was added
+
+* `models.VnetConnectionProvisioningState` was added
+
+* `models.ContainerAppsFunctionState` was added
+
+* `models.ContainerAppPrivateEndpointConnections` was added
+
+* `models.DotNetComponentServiceBind` was added
+
+* `models.SessionProbeTcpSocket` was added
+
+* `models.SandboxGroupProperties` was added
+
+* `models.LogsConfiguration` was added
+
+* `models.VnetConnection$Definition` was added
+
+* `models.DotNetComponent$Update` was added
+
+* `models.SandboxGroupPatchProperties` was added
+
+* `models.DotNetComponent$DefinitionStages` was added
+
+* `models.Status` was added
+
+* `models.SandboxGroup$DefinitionStages` was added
+
+* `models.VnetConnection$UpdateStages` was added
+
+* `models.DotNetComponentProvisioningState` was added
+
+* `models.DotNetComponentType` was added
+
+* `models.FunctionsExtensions` was added
+
+* `models.DaprComponentResiliencyPolicyHttpRetryBackOffConfiguration` was added
+
+* `models.SessionProbeHttpGet` was added
+
+* `models.OtlpConfiguration` was added
+
+* `models.MetricsConfiguration` was added
+
+* `models.TracesConfiguration` was added
+
+* `models.DaprComponentResiliencyPolicyCircuitBreakerPolicyConfiguration` was added
+
+* `models.VnetConnection` was added
+
+* `models.SandboxGroupPatch` was added
+
+* `models.VnetConnections` was added
+
+* `models.DotNetComponentConfigurationProperty` was added
+
+* `models.AppInsightsConfiguration` was added
+
+* `models.DaprComponentResiliencyPolicy$Definition` was added
+
+* `models.VnetConnection$Update` was added
+
+* `models.AvailableEnvironmentModeProperties` was added
+
+* `models.ContainerAppNetworkingConfiguration` was added
+
+* `models.DaprComponentResiliencyPolicy$DefinitionStages` was added
+
+* `models.DaprComponentResiliencyPolicies` was added
+
+* `models.DotNetComponent` was added
+
+* `models.ContainerAppsLabelHistories` was added
+
+* `models.DaprComponentResiliencyPolicyHttpRetryPolicyConfiguration` was added
+
+* `models.DaprComponentResiliencyPolicyConfiguration` was added
+
+* `models.OpenTelemetryConfiguration` was added
+
+* `models.SandboxGroup$Definition` was added
+
+* `models.DaprComponentResiliencyPolicy$Update` was added
+
+* `models.ContainerAppsFunctions` was added
+
+* `models.ContainerAppPrivateLinkResources` was added
+
+* `models.DestinationsConfiguration` was added
+
+* `models.DataDogConfiguration` was added
+
+* `models.DotNetComponent$Definition` was added
+
+* `models.AvailableEnvironmentMode` was added
+
+* `models.MigrationEligibilityFailureReason` was added
+
+* `models.SandboxGroup$UpdateStages` was added
+
+* `models.DaprComponentResiliencyPolicy$UpdateStages` was added
+
+* `models.ReplicaExecutionStatus` was added
+
+* `models.ContainerExecutionStatus` was added
+
+* `models.SandboxGroupProvisioningState` was added
+
+* `models.LabelHistoryProperties` was added
+
+* `models.CheckMigrationEligibilityRequest` was added
+
+* `models.SessionProbeType` was added
+
+* `models.ExecutionStatus` was added
+
+* `models.VnetConnection$DefinitionStages` was added
+
+* `models.DaprComponentResiliencyPolicy` was added
+
+* `models.JobRunningState` was added
+
+* `models.ManagedEnvironmentMode` was added
+
+* `models.AvailableEnvironmentModes` was added
+
+* `models.SandboxGroup` was added
+
+* `models.SandboxGroup$Update` was added
+
+* `models.SessionProbeHttpGetHttpHeadersItem` was added
+
+* `models.Header` was added
+
+* `models.ContainerAppsRevisionFunctions` was added
+
+#### `models.SessionContainer` was modified
+
+* `probes()` was added
+* `withProbes(java.util.List)` was added
+
+#### `models.Job` was modified
+
+* `resume(com.azure.core.util.Context)` was added
+* `resume()` was added
+* `suspend()` was added
+* `runningState()` was added
+* `suspend(com.azure.core.util.Context)` was added
-### Bugs Fixed
+#### `models.ManagedEnvironment$Update` was modified
+
+* `withAppInsightsConfiguration(models.AppInsightsConfiguration)` was added
+* `withOpenTelemetryConfiguration(models.OpenTelemetryConfiguration)` was added
+* `withEnvironmentMode(models.ManagedEnvironmentMode)` was added
+
+#### `models.Jobs` was modified
+
+* `suspend(java.lang.String,java.lang.String,com.azure.core.util.Context)` was added
+* `resume(java.lang.String,java.lang.String)` was added
+* `suspend(java.lang.String,java.lang.String)` was added
+* `resume(java.lang.String,java.lang.String,com.azure.core.util.Context)` was added
+
+#### `models.ManagedEnvironment$Definition` was modified
+
+* `withOpenTelemetryConfiguration(models.OpenTelemetryConfiguration)` was added
+* `withEnvironmentMode(models.ManagedEnvironmentMode)` was added
+* `withAppInsightsConfiguration(models.AppInsightsConfiguration)` was added
+
+#### `models.ContainerApp$Update` was modified
+
+* `withNetworking(models.ContainerAppNetworkingConfiguration)` was added
+
+#### `models.Scale` was modified
+
+* `allowScalingRuleOverride()` was added
+* `withAllowScalingRuleOverride(java.lang.Boolean)` was added
+
+#### `models.ManagedEnvironment` was modified
+
+* `openTelemetryConfiguration()` was added
+* `checkMigrationEligibilityWithResponse(models.CheckMigrationEligibilityRequest,com.azure.core.util.Context)` was added
+* `checkMigrationEligibility(models.CheckMigrationEligibilityRequest)` was added
+* `appInsightsConfiguration()` was added
+* `environmentMode()` was added
+
+#### `models.ManagedEnvironments` was modified
+
+* `checkMigrationEligibility(java.lang.String,java.lang.String,models.CheckMigrationEligibilityRequest)` was added
+* `checkMigrationEligibilityWithResponse(java.lang.String,java.lang.String,models.CheckMigrationEligibilityRequest,com.azure.core.util.Context)` was added
+
+#### `models.JobExecution` was modified
+
+* `detailedStatus()` was added
+* `reason()` was added
+* `message()` was added
+* `systemData()` was added
+
+#### `models.ManagedEnvironmentPrivateLinkResources` was modified
+
+* `getWithResponse(java.lang.String,java.lang.String,java.lang.String,com.azure.core.util.Context)` was added
+* `get(java.lang.String,java.lang.String,java.lang.String)` was added
+
+#### `models.ManagedIdentitySetting` was modified
+
+* `withLifecycle(models.SessionPoolIdentityLifeCycle)` was added
+
+#### `models.ContainerApp` was modified
+
+* `networking()` was added
+
+#### `ContainerAppsApiManager` was modified
+
+* `containerAppsFunctions()` was added
+* `containerAppPrivateEndpointConnections()` was added
+* `sandboxGroups()` was added
+* `containerAppPrivateLinkResources()` was added
+* `containerAppsRevisionFunctions()` was added
+* `containerAppsLabelHistories()` was added
+* `functionsExtensions()` was added
+* `vnetConnections()` was added
+* `dotNetComponents()` was added
+* `daprComponentResiliencyPolicies()` was added
+* `availableEnvironmentModes()` was added
+
+#### `models.ReplicaContainer` was modified
+
+* `debugEndpoint()` was added
+
+#### `models.BlobStorageTokenStore` was modified
+
+* `blobContainerUri()` was added
+* `withManagedIdentityResourceId(java.lang.String)` was added
+* `managedIdentityResourceId()` was added
+* `withClientId(java.lang.String)` was added
+* `clientId()` was added
+* `withBlobContainerUri(java.lang.String)` was added
+
+#### `models.ContainerApp$Definition` was modified
-### Other Changes
+* `withNetworking(models.ContainerAppNetworkingConfiguration)` was added
## 1.2.0 (2025-10-24)
diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/README.md b/sdk/appcontainers/azure-resourcemanager-appcontainers/README.md
index 6b7991125806..d901939eadf0 100644
--- a/sdk/appcontainers/azure-resourcemanager-appcontainers/README.md
+++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/README.md
@@ -2,7 +2,7 @@
Azure Resource Manager ContainerAppsApi client library for Java.
-This package contains Microsoft Azure SDK for ContainerAppsApi Management SDK. Logic app is an extension resource on container app and the extension resource enables logic specific operations on the container app through the APIs listed. Package tag package-2025-07-01. For documentation on how to use this package, please see [Azure Management Libraries for Java](https://aka.ms/azsdk/java/mgmt).
+This package contains Microsoft Azure SDK for ContainerAppsApi Management SDK. Functions is an extension resource to revisions and the api listed is used to proxy the call from Web RP to the function app's host process, this api is not exposed to users and only Web RP is allowed to invoke functions extension resource. Package api-version 2026-07-01. For documentation on how to use this package, please see [Azure Management Libraries for Java](https://aka.ms/azsdk/java/mgmt).
## We'd love to hear your feedback
@@ -32,7 +32,7 @@ Various documentation is available to help you get started
com.azure.resourcemanager
azure-resourcemanager-appcontainers
- 1.2.0
+ 1.3.0
```
[//]: # ({x-version-update-end})
diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/SAMPLE.md b/sdk/appcontainers/azure-resourcemanager-appcontainers/SAMPLE.md
index 90c2fbb84676..c358ecb84f0c 100644
--- a/sdk/appcontainers/azure-resourcemanager-appcontainers/SAMPLE.md
+++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/SAMPLE.md
@@ -1,6 +1,10 @@
# Code snippets and samples
+## AvailableEnvironmentModes
+
+- [List](#availableenvironmentmodes_list)
+
## AvailableWorkloadProfiles
- [Get](#availableworkloadprofiles_get)
@@ -50,6 +54,18 @@
- [Get](#connectedenvironmentsstorages_get)
- [List](#connectedenvironmentsstorages_list)
+## ContainerAppPrivateEndpointConnections
+
+- [CreateOrUpdate](#containerappprivateendpointconnections_createorupdate)
+- [Delete](#containerappprivateendpointconnections_delete)
+- [Get](#containerappprivateendpointconnections_get)
+- [List](#containerappprivateendpointconnections_list)
+
+## ContainerAppPrivateLinkResources
+
+- [Get](#containerappprivatelinkresources_get)
+- [List](#containerappprivatelinkresources_list)
+
## ContainerApps
- [CreateOrUpdate](#containerapps_createorupdate)
@@ -79,6 +95,22 @@
- [ListDetectors](#containerappsdiagnostics_listdetectors)
- [ListRevisions](#containerappsdiagnostics_listrevisions)
+## ContainerAppsFunctions
+
+- [Get](#containerappsfunctions_get)
+- [List](#containerappsfunctions_list)
+
+## ContainerAppsLabelHistory
+
+- [DeleteLabelHistory](#containerappslabelhistory_deletelabelhistory)
+- [GetLabelHistory](#containerappslabelhistory_getlabelhistory)
+- [ListLabelHistory](#containerappslabelhistory_listlabelhistory)
+
+## ContainerAppsRevisionFunctions
+
+- [Get](#containerappsrevisionfunctions_get)
+- [List](#containerappsrevisionfunctions_list)
+
## ContainerAppsRevisionReplicas
- [GetReplica](#containerappsrevisionreplicas_getreplica)
@@ -108,6 +140,13 @@
- [Get](#containerappssourcecontrols_get)
- [ListByContainerApp](#containerappssourcecontrols_listbycontainerapp)
+## DaprComponentResiliencyPolicies
+
+- [CreateOrUpdate](#daprcomponentresiliencypolicies_createorupdate)
+- [Delete](#daprcomponentresiliencypolicies_delete)
+- [Get](#daprcomponentresiliencypolicies_get)
+- [List](#daprcomponentresiliencypolicies_list)
+
## DaprComponents
- [CreateOrUpdate](#daprcomponents_createorupdate)
@@ -116,6 +155,18 @@
- [List](#daprcomponents_list)
- [ListSecrets](#daprcomponents_listsecrets)
+## DotNetComponents
+
+- [CreateOrUpdate](#dotnetcomponents_createorupdate)
+- [Delete](#dotnetcomponents_delete)
+- [Get](#dotnetcomponents_get)
+- [List](#dotnetcomponents_list)
+- [Update](#dotnetcomponents_update)
+
+## FunctionsExtension
+
+- [InvokeFunctionsHost](#functionsextension_invokefunctionshost)
+
## HttpRouteConfig
- [CreateOrUpdate](#httprouteconfig_createorupdate)
@@ -143,9 +194,11 @@
- [ListDetectors](#jobs_listdetectors)
- [ListSecrets](#jobs_listsecrets)
- [ProxyGet](#jobs_proxyget)
+- [Resume](#jobs_resume)
- [Start](#jobs_start)
- [StopExecution](#jobs_stopexecution)
- [StopMultipleExecutions](#jobs_stopmultipleexecutions)
+- [Suspend](#jobs_suspend)
- [Update](#jobs_update)
## JobsExecutions
@@ -190,6 +243,7 @@
## ManagedEnvironmentPrivateLinkResources
+- [Get](#managedenvironmentprivatelinkresources_get)
- [List](#managedenvironmentprivatelinkresources_list)
## ManagedEnvironmentUsages
@@ -198,6 +252,7 @@
## ManagedEnvironments
+- [CheckMigrationEligibility](#managedenvironments_checkmigrationeligibility)
- [CreateOrUpdate](#managedenvironments_createorupdate)
- [Delete](#managedenvironments_delete)
- [GetAuthToken](#managedenvironments_getauthtoken)
@@ -231,9 +286,47 @@
- [GetCustomDomainVerificationId](#resourceprovider_getcustomdomainverificationid)
- [JobExecution](#resourceprovider_jobexecution)
+## SandboxGroups
+
+- [CreateOrUpdate](#sandboxgroups_createorupdate)
+- [Delete](#sandboxgroups_delete)
+- [GetByResourceGroup](#sandboxgroups_getbyresourcegroup)
+- [List](#sandboxgroups_list)
+- [ListByResourceGroup](#sandboxgroups_listbyresourcegroup)
+- [Update](#sandboxgroups_update)
+
## Usages
- [List](#usages_list)
+
+## VnetConnections
+
+- [CreateOrUpdate](#vnetconnections_createorupdate)
+- [Delete](#vnetconnections_delete)
+- [Get](#vnetconnections_get)
+- [ListBySandboxGroup](#vnetconnections_listbysandboxgroup)
+### AvailableEnvironmentModes_List
+
+```java
+/**
+ * Samples for AvailableEnvironmentModes List.
+ */
+public final class AvailableEnvironmentModesListSamples {
+ /*
+ * x-ms-original-file: 2026-07-01/AvailableEnvironmentModes_List.json
+ */
+ /**
+ * Sample code: AvailableEnvironmentModes_List.
+ *
+ * @param manager Entry point to ContainerAppsApiManager.
+ */
+ public static void
+ availableEnvironmentModesList(com.azure.resourcemanager.appcontainers.ContainerAppsApiManager manager) {
+ manager.availableEnvironmentModes().list("East US", com.azure.core.util.Context.NONE);
+ }
+}
+```
+
### AvailableWorkloadProfiles_Get
```java
@@ -242,8 +335,7 @@
*/
public final class AvailableWorkloadProfilesGetSamples {
/*
- * x-ms-original-file: specification/app/resource-manager/Microsoft.App/ContainerApps/stable/2025-07-01/examples/
- * AvailableWorkloadProfiles_Get.json
+ * x-ms-original-file: 2026-07-01/AvailableWorkloadProfiles_Get.json
*/
/**
* Sample code: BillingMeters_Get.
@@ -264,8 +356,7 @@ public final class AvailableWorkloadProfilesGetSamples {
*/
public final class BillingMetersGetSamples {
/*
- * x-ms-original-file:
- * specification/app/resource-manager/Microsoft.App/ContainerApps/stable/2025-07-01/examples/BillingMeters_Get.json
+ * x-ms-original-file: 2026-07-01/BillingMeters_Get.json
*/
/**
* Sample code: BillingMeters_Get.
@@ -290,8 +381,7 @@ import com.azure.resourcemanager.appcontainers.models.CertificateProperties;
*/
public final class CertificatesCreateOrUpdateSamples {
/*
- * x-ms-original-file: specification/app/resource-manager/Microsoft.App/ContainerApps/stable/2025-07-01/examples/
- * Certificate_CreateOrUpdate_FromKeyVault.json
+ * x-ms-original-file: 2026-07-01/Certificate_CreateOrUpdate_FromKeyVault.json
*/
/**
* Sample code: Create or Update Certificate using Managed Identity.
@@ -311,8 +401,7 @@ public final class CertificatesCreateOrUpdateSamples {
}
/*
- * x-ms-original-file: specification/app/resource-manager/Microsoft.App/ContainerApps/stable/2025-07-01/examples/
- * Certificate_CreateOrUpdate.json
+ * x-ms-original-file: 2026-07-01/Certificate_CreateOrUpdate.json
*/
/**
* Sample code: Create or Update Certificate.
@@ -339,8 +428,7 @@ public final class CertificatesCreateOrUpdateSamples {
*/
public final class CertificatesDeleteSamples {
/*
- * x-ms-original-file:
- * specification/app/resource-manager/Microsoft.App/ContainerApps/stable/2025-07-01/examples/Certificate_Delete.json
+ * x-ms-original-file: 2026-07-01/Certificate_Delete.json
*/
/**
* Sample code: Delete Certificate.
@@ -363,8 +451,7 @@ public final class CertificatesDeleteSamples {
*/
public final class CertificatesGetSamples {
/*
- * x-ms-original-file:
- * specification/app/resource-manager/Microsoft.App/ContainerApps/stable/2025-07-01/examples/Certificate_Get.json
+ * x-ms-original-file: 2026-07-01/Certificate_Get.json
*/
/**
* Sample code: Get Certificate.
@@ -387,8 +474,7 @@ public final class CertificatesGetSamples {
*/
public final class CertificatesListSamples {
/*
- * x-ms-original-file: specification/app/resource-manager/Microsoft.App/ContainerApps/stable/2025-07-01/examples/
- * Certificates_ListByManagedEnvironment.json
+ * x-ms-original-file: 2026-07-01/Certificates_ListByManagedEnvironment.json
*/
/**
* Sample code: List Certificates by Managed Environment.
@@ -414,8 +500,7 @@ import java.util.Map;
*/
public final class CertificatesUpdateSamples {
/*
- * x-ms-original-file:
- * specification/app/resource-manager/Microsoft.App/ContainerApps/stable/2025-07-01/examples/Certificates_Patch.json
+ * x-ms-original-file: 2026-07-01/Certificates_Patch.json
*/
/**
* Sample code: Patch Certificate.
@@ -453,8 +538,7 @@ import com.azure.resourcemanager.appcontainers.models.CheckNameAvailabilityReque
*/
public final class ConnectedEnvironmentsCheckNameAvailabilitySamples {
/*
- * x-ms-original-file: specification/app/resource-manager/Microsoft.App/ContainerApps/stable/2025-07-01/examples/
- * ConnectedEnvironmentsCertificates_CheckNameAvailability.json
+ * x-ms-original-file: 2026-07-01/ConnectedEnvironmentsCertificates_CheckNameAvailability.json
*/
/**
* Sample code: Certificates_CheckNameAvailability.
@@ -482,8 +566,7 @@ import com.azure.resourcemanager.appcontainers.models.CustomDomainConfiguration;
*/
public final class ConnectedEnvironmentsCreateOrUpdateSamples {
/*
- * x-ms-original-file: specification/app/resource-manager/Microsoft.App/ContainerApps/stable/2025-07-01/examples/
- * ConnectedEnvironments_CreateOrUpdate.json
+ * x-ms-original-file: 2026-07-01/ConnectedEnvironments_CreateOrUpdate.json
*/
/**
* Sample code: Create kube environments.
@@ -514,8 +597,7 @@ public final class ConnectedEnvironmentsCreateOrUpdateSamples {
*/
public final class ConnectedEnvironmentsDeleteSamples {
/*
- * x-ms-original-file: specification/app/resource-manager/Microsoft.App/ContainerApps/stable/2025-07-01/examples/
- * ConnectedEnvironments_Delete.json
+ * x-ms-original-file: 2026-07-01/ConnectedEnvironments_Delete.json
*/
/**
* Sample code: Delete connected environment by connectedEnvironmentName.
@@ -537,8 +619,7 @@ public final class ConnectedEnvironmentsDeleteSamples {
*/
public final class ConnectedEnvironmentsGetByResourceGroupSamples {
/*
- * x-ms-original-file: specification/app/resource-manager/Microsoft.App/ContainerApps/stable/2025-07-01/examples/
- * ConnectedEnvironments_Get.json
+ * x-ms-original-file: 2026-07-01/ConnectedEnvironments_Get.json
*/
/**
* Sample code: Get connected environment by connectedEnvironmentName.
@@ -561,8 +642,7 @@ public final class ConnectedEnvironmentsGetByResourceGroupSamples {
*/
public final class ConnectedEnvironmentsListSamples {
/*
- * x-ms-original-file: specification/app/resource-manager/Microsoft.App/ContainerApps/stable/2025-07-01/examples/
- * ConnectedEnvironments_ListBySubscription.json
+ * x-ms-original-file: 2026-07-01/ConnectedEnvironments_ListBySubscription.json
*/
/**
* Sample code: List connected environments by subscription.
@@ -584,8 +664,7 @@ public final class ConnectedEnvironmentsListSamples {
*/
public final class ConnectedEnvironmentsListByResourceGroupSamples {
/*
- * x-ms-original-file: specification/app/resource-manager/Microsoft.App/ContainerApps/stable/2025-07-01/examples/
- * ConnectedEnvironments_ListByResourceGroup.json
+ * x-ms-original-file: 2026-07-01/ConnectedEnvironments_ListByResourceGroup.json
*/
/**
* Sample code: List environments by resource group.
@@ -611,8 +690,7 @@ import java.util.Map;
*/
public final class ConnectedEnvironmentsUpdateSamples {
/*
- * x-ms-original-file: specification/app/resource-manager/Microsoft.App/ContainerApps/stable/2025-07-01/examples/
- * ConnectedEnvironments_Patch.json
+ * x-ms-original-file: 2026-07-01/ConnectedEnvironments_Patch.json
*/
/**
* Sample code: Patch Managed Environment.
@@ -651,8 +729,7 @@ import com.azure.resourcemanager.appcontainers.models.CertificateProperties;
*/
public final class ConnectedEnvironmentsCertificatesCreateOrUpdateSamples {
/*
- * x-ms-original-file: specification/app/resource-manager/Microsoft.App/ContainerApps/stable/2025-07-01/examples/
- * ConnectedEnvironmentsCertificate_CreateOrUpdate.json
+ * x-ms-original-file: 2026-07-01/ConnectedEnvironmentsCertificate_CreateOrUpdate.json
*/
/**
* Sample code: Create or Update Certificate.
@@ -680,8 +757,7 @@ public final class ConnectedEnvironmentsCertificatesCreateOrUpdateSamples {
*/
public final class ConnectedEnvironmentsCertificatesDeleteSamples {
/*
- * x-ms-original-file: specification/app/resource-manager/Microsoft.App/ContainerApps/stable/2025-07-01/examples/
- * ConnectedEnvironmentsCertificate_Delete.json
+ * x-ms-original-file: 2026-07-01/ConnectedEnvironmentsCertificate_Delete.json
*/
/**
* Sample code: Delete Certificate.
@@ -703,8 +779,7 @@ public final class ConnectedEnvironmentsCertificatesDeleteSamples {
*/
public final class ConnectedEnvironmentsCertificatesGetSamples {
/*
- * x-ms-original-file: specification/app/resource-manager/Microsoft.App/ContainerApps/stable/2025-07-01/examples/
- * ConnectedEnvironmentsCertificate_Get.json
+ * x-ms-original-file: 2026-07-01/ConnectedEnvironmentsCertificate_Get.json
*/
/**
* Sample code: Get Certificate.
@@ -727,8 +802,7 @@ public final class ConnectedEnvironmentsCertificatesGetSamples {
*/
public final class ConnectedEnvironmentsCertificatesListSamples {
/*
- * x-ms-original-file: specification/app/resource-manager/Microsoft.App/ContainerApps/stable/2025-07-01/examples/
- * ConnectedEnvironmentsCertificates_ListByConnectedEnvironment.json
+ * x-ms-original-file: 2026-07-01/ConnectedEnvironmentsCertificates_ListByConnectedEnvironment.json
*/
/**
* Sample code: List Certificates by Connected Environment.
@@ -755,8 +829,7 @@ import java.util.Map;
*/
public final class ConnectedEnvironmentsCertificatesUpdateSamples {
/*
- * x-ms-original-file: specification/app/resource-manager/Microsoft.App/ContainerApps/stable/2025-07-01/examples/
- * ConnectedEnvironmentsCertificates_Patch.json
+ * x-ms-original-file: 2026-07-01/ConnectedEnvironmentsCertificates_Patch.json
*/
/**
* Sample code: Patch Certificate.
@@ -797,8 +870,7 @@ import java.util.Arrays;
*/
public final class ConnectedEnvironmentsDaprComponentsCreateOrUpdateSamples {
/*
- * x-ms-original-file: specification/app/resource-manager/Microsoft.App/ContainerApps/stable/2025-07-01/examples/
- * ConnectedEnvironmentsDaprComponents_CreateOrUpdate.json
+ * x-ms-original-file: 2026-07-01/ConnectedEnvironmentsDaprComponents_CreateOrUpdate.json
*/
/**
* Sample code: Create or update dapr component.
@@ -833,8 +905,7 @@ public final class ConnectedEnvironmentsDaprComponentsCreateOrUpdateSamples {
*/
public final class ConnectedEnvironmentsDaprComponentsDeleteSamples {
/*
- * x-ms-original-file: specification/app/resource-manager/Microsoft.App/ContainerApps/stable/2025-07-01/examples/
- * ConnectedEnvironmentsDaprComponents_Delete.json
+ * x-ms-original-file: 2026-07-01/ConnectedEnvironmentsDaprComponents_Delete.json
*/
/**
* Sample code: Delete dapr component.
@@ -856,8 +927,7 @@ public final class ConnectedEnvironmentsDaprComponentsDeleteSamples {
*/
public final class ConnectedEnvironmentsDaprComponentsGetSamples {
/*
- * x-ms-original-file: specification/app/resource-manager/Microsoft.App/ContainerApps/stable/2025-07-01/examples/
- * ConnectedEnvironmentsDaprComponents_Get.json
+ * x-ms-original-file: 2026-07-01/ConnectedEnvironmentsDaprComponents_Get.json
*/
/**
* Sample code: Get Dapr Component.
@@ -879,8 +949,7 @@ public final class ConnectedEnvironmentsDaprComponentsGetSamples {
*/
public final class ConnectedEnvironmentsDaprComponentsListSamples {
/*
- * x-ms-original-file: specification/app/resource-manager/Microsoft.App/ContainerApps/stable/2025-07-01/examples/
- * ConnectedEnvironmentsDaprComponents_List.json
+ * x-ms-original-file: 2026-07-01/ConnectedEnvironmentsDaprComponents_List.json
*/
/**
* Sample code: List Dapr Components.
@@ -902,8 +971,7 @@ public final class ConnectedEnvironmentsDaprComponentsListSamples {
*/
public final class ConnectedEnvironmentsDaprComponentsListSecretsSamples {
/*
- * x-ms-original-file: specification/app/resource-manager/Microsoft.App/ContainerApps/stable/2025-07-01/examples/
- * ConnectedEnvironmentsDaprComponents_ListSecrets.json
+ * x-ms-original-file: 2026-07-01/ConnectedEnvironmentsDaprComponents_ListSecrets.json
*/
/**
* Sample code: List Container Apps Secrets.
@@ -930,8 +998,7 @@ import com.azure.resourcemanager.appcontainers.models.ConnectedEnvironmentStorag
*/
public final class ConnectedEnvironmentsStoragesCreateOrUpdateSamples {
/*
- * x-ms-original-file: specification/app/resource-manager/Microsoft.App/ContainerApps/stable/2025-07-01/examples/
- * ConnectedEnvironmentsStorages_CreateOrUpdate.json
+ * x-ms-original-file: 2026-07-01/ConnectedEnvironmentsStorages_CreateOrUpdate.json
*/
/**
* Sample code: Create or update environments storage.
@@ -961,8 +1028,7 @@ public final class ConnectedEnvironmentsStoragesCreateOrUpdateSamples {
*/
public final class ConnectedEnvironmentsStoragesDeleteSamples {
/*
- * x-ms-original-file: specification/app/resource-manager/Microsoft.App/ContainerApps/stable/2025-07-01/examples/
- * ConnectedEnvironmentsStorages_Delete.json
+ * x-ms-original-file: 2026-07-01/ConnectedEnvironmentsStorages_Delete.json
*/
/**
* Sample code: List environments storages by subscription.
@@ -985,8 +1051,7 @@ public final class ConnectedEnvironmentsStoragesDeleteSamples {
*/
public final class ConnectedEnvironmentsStoragesGetSamples {
/*
- * x-ms-original-file: specification/app/resource-manager/Microsoft.App/ContainerApps/stable/2025-07-01/examples/
- * ConnectedEnvironmentsStorages_Get.json
+ * x-ms-original-file: 2026-07-01/ConnectedEnvironmentsStorages_Get.json
*/
/**
* Sample code: get a environments storage properties by subscription.
@@ -1009,8 +1074,7 @@ public final class ConnectedEnvironmentsStoragesGetSamples {
*/
public final class ConnectedEnvironmentsStoragesListSamples {
/*
- * x-ms-original-file: specification/app/resource-manager/Microsoft.App/ContainerApps/stable/2025-07-01/examples/
- * ConnectedEnvironmentsStorages_List.json
+ * x-ms-original-file: 2026-07-01/ConnectedEnvironmentsStorages_List.json
*/
/**
* Sample code: List environments storages by subscription.
@@ -1025,6 +1089,154 @@ public final class ConnectedEnvironmentsStoragesListSamples {
}
```
+### ContainerAppPrivateEndpointConnections_CreateOrUpdate
+
+```java
+import com.azure.resourcemanager.appcontainers.fluent.models.PrivateEndpointConnectionInner;
+import com.azure.resourcemanager.appcontainers.models.PrivateEndpointServiceConnectionStatus;
+import com.azure.resourcemanager.appcontainers.models.PrivateLinkServiceConnectionState;
+
+/**
+ * Samples for ContainerAppPrivateEndpointConnections CreateOrUpdate.
+ */
+public final class ContainerAppPrivateEndpointConnectionsCreateOrUpdateSamples {
+ /*
+ * x-ms-original-file: 2026-07-01/ContainerAppPrivateEndpointConnections_CreateOrUpdate.json
+ */
+ /**
+ * Sample code: Update a Private Endpoint Connection by Container App.
+ *
+ * @param manager Entry point to ContainerAppsApiManager.
+ */
+ public static void updateAPrivateEndpointConnectionByContainerApp(
+ com.azure.resourcemanager.appcontainers.ContainerAppsApiManager manager) {
+ manager.containerAppPrivateEndpointConnections()
+ .createOrUpdate("examplerg", "testcontainerapp0", "test-private-endpoint-connection",
+ new PrivateEndpointConnectionInner().withPrivateLinkServiceConnectionState(
+ new PrivateLinkServiceConnectionState().withStatus(PrivateEndpointServiceConnectionStatus.APPROVED)
+ .withActionsRequired("None")),
+ com.azure.core.util.Context.NONE);
+ }
+}
+```
+
+### ContainerAppPrivateEndpointConnections_Delete
+
+```java
+/**
+ * Samples for ContainerAppPrivateEndpointConnections Delete.
+ */
+public final class ContainerAppPrivateEndpointConnectionsDeleteSamples {
+ /*
+ * x-ms-original-file: 2026-07-01/ContainerAppPrivateEndpointConnections_Delete.json
+ */
+ /**
+ * Sample code: Delete a Private Endpoint Connection by Container App.
+ *
+ * @param manager Entry point to ContainerAppsApiManager.
+ */
+ public static void deleteAPrivateEndpointConnectionByContainerApp(
+ com.azure.resourcemanager.appcontainers.ContainerAppsApiManager manager) {
+ manager.containerAppPrivateEndpointConnections()
+ .delete("examplerg", "testcontainerapp0", "test-private-endpoint-connection",
+ com.azure.core.util.Context.NONE);
+ }
+}
+```
+
+### ContainerAppPrivateEndpointConnections_Get
+
+```java
+/**
+ * Samples for ContainerAppPrivateEndpointConnections Get.
+ */
+public final class ContainerAppPrivateEndpointConnectionsGetSamples {
+ /*
+ * x-ms-original-file: 2026-07-01/ContainerAppPrivateEndpointConnections_Get.json
+ */
+ /**
+ * Sample code: Get a Private Endpoint Connection by Container App.
+ *
+ * @param manager Entry point to ContainerAppsApiManager.
+ */
+ public static void getAPrivateEndpointConnectionByContainerApp(
+ com.azure.resourcemanager.appcontainers.ContainerAppsApiManager manager) {
+ manager.containerAppPrivateEndpointConnections()
+ .getWithResponse("examplerg", "testcontainerapp0", "test-private-endpoint-connection",
+ com.azure.core.util.Context.NONE);
+ }
+}
+```
+
+### ContainerAppPrivateEndpointConnections_List
+
+```java
+/**
+ * Samples for ContainerAppPrivateEndpointConnections List.
+ */
+public final class ContainerAppPrivateEndpointConnectionsListSamples {
+ /*
+ * x-ms-original-file: 2026-07-01/ContainerAppPrivateEndpointConnections_List.json
+ */
+ /**
+ * Sample code: List Private Endpoint Connections by Container App.
+ *
+ * @param manager Entry point to ContainerAppsApiManager.
+ */
+ public static void listPrivateEndpointConnectionsByContainerApp(
+ com.azure.resourcemanager.appcontainers.ContainerAppsApiManager manager) {
+ manager.containerAppPrivateEndpointConnections()
+ .list("examplerg", "testcontainerapp0", com.azure.core.util.Context.NONE);
+ }
+}
+```
+
+### ContainerAppPrivateLinkResources_Get
+
+```java
+/**
+ * Samples for ContainerAppPrivateLinkResources Get.
+ */
+public final class ContainerAppPrivateLinkResourcesGetSamples {
+ /*
+ * x-ms-original-file: 2026-07-01/ContainerAppPrivateLinkResources_Get.json
+ */
+ /**
+ * Sample code: Get a Private Link Resource by Container App.
+ *
+ * @param manager Entry point to ContainerAppsApiManager.
+ */
+ public static void
+ getAPrivateLinkResourceByContainerApp(com.azure.resourcemanager.appcontainers.ContainerAppsApiManager manager) {
+ manager.containerAppPrivateLinkResources()
+ .getWithResponse("examplerg", "testcontainerapp0", "containerApps", com.azure.core.util.Context.NONE);
+ }
+}
+```
+
+### ContainerAppPrivateLinkResources_List
+
+```java
+/**
+ * Samples for ContainerAppPrivateLinkResources List.
+ */
+public final class ContainerAppPrivateLinkResourcesListSamples {
+ /*
+ * x-ms-original-file: 2026-07-01/ContainerAppPrivateLinkResources_List.json
+ */
+ /**
+ * Sample code: List Private Link Resources by Container App.
+ *
+ * @param manager Entry point to ContainerAppsApiManager.
+ */
+ public static void listPrivateLinkResourcesByContainerApp(
+ com.azure.resourcemanager.appcontainers.ContainerAppsApiManager manager) {
+ manager.containerAppPrivateLinkResources()
+ .list("examplerg", "testcontainerapp0", com.azure.core.util.Context.NONE);
+ }
+}
+```
+
### ContainerApps_CreateOrUpdate
```java
@@ -1035,6 +1247,7 @@ import com.azure.resourcemanager.appcontainers.models.AppProtocol;
import com.azure.resourcemanager.appcontainers.models.BindingType;
import com.azure.resourcemanager.appcontainers.models.Configuration;
import com.azure.resourcemanager.appcontainers.models.Container;
+import com.azure.resourcemanager.appcontainers.models.ContainerAppNetworkingConfiguration;
import com.azure.resourcemanager.appcontainers.models.ContainerAppProbe;
import com.azure.resourcemanager.appcontainers.models.ContainerAppProbeHttpGet;
import com.azure.resourcemanager.appcontainers.models.ContainerAppProbeHttpGetHttpHeadersItem;
@@ -1046,6 +1259,8 @@ import com.azure.resourcemanager.appcontainers.models.CustomScaleRule;
import com.azure.resourcemanager.appcontainers.models.Dapr;
import com.azure.resourcemanager.appcontainers.models.DaprAppHealth;
import com.azure.resourcemanager.appcontainers.models.EnvironmentVar;
+import com.azure.resourcemanager.appcontainers.models.ExtendedLocation;
+import com.azure.resourcemanager.appcontainers.models.ExtendedLocationTypes;
import com.azure.resourcemanager.appcontainers.models.IdentitySettings;
import com.azure.resourcemanager.appcontainers.models.IdentitySettingsLifeCycle;
import com.azure.resourcemanager.appcontainers.models.Ingress;
@@ -1083,8 +1298,7 @@ import java.util.Map;
*/
public final class ContainerAppsCreateOrUpdateSamples {
/*
- * x-ms-original-file: specification/app/resource-manager/Microsoft.App/ContainerApps/stable/2025-07-01/examples/
- * ContainerApps_Kind_WorkflowApp_CreateOrUpdate.json
+ * x-ms-original-file: 2026-07-01/ContainerApps_Kind_WorkflowApp_CreateOrUpdate.json
*/
/**
* Sample code: Create or Update WorkflowApp Kind.
@@ -1114,8 +1328,95 @@ public final class ContainerAppsCreateOrUpdateSamples {
}
/*
- * x-ms-original-file: specification/app/resource-manager/Microsoft.App/ContainerApps/stable/2025-07-01/examples/
- * ContainerApps_CreateOrUpdate.json
+ * x-ms-original-file: 2026-07-01/ContainerApps_CreateOrUpdate_ConnectedEnvironment.json
+ */
+ /**
+ * Sample code: Create or Update App On A Connected Environment.
+ *
+ * @param manager Entry point to ContainerAppsApiManager.
+ */
+ public static void createOrUpdateAppOnAConnectedEnvironment(
+ com.azure.resourcemanager.appcontainers.ContainerAppsApiManager manager) {
+ manager.containerApps()
+ .define("testcontainerApp0")
+ .withRegion("East US")
+ .withExistingResourceGroup("rg")
+ .withExtendedLocation(new ExtendedLocation().withName(
+ "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.ExtendedLocation/customLocations/testcustomlocation")
+ .withType(ExtendedLocationTypes.CUSTOM_LOCATION))
+ .withEnvironmentId(
+ "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.App/connectedEnvironments/demokube")
+ .withConfiguration(new Configuration().withIngress(new Ingress().withExternal(true)
+ .withTargetPort(3000)
+ .withTraffic(Arrays
+ .asList(new TrafficWeight().withRevisionName("testcontainerApp0-ab1234").withLabel("production")))
+ .withCustomDomains(Arrays.asList(new CustomDomain().withName("www.my-name.com")
+ .withBindingType(BindingType.SNI_ENABLED)
+ .withCertificateId(
+ "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.App/connectedEnvironments/demokube/certificates/my-certificate-for-my-name-dot-com"),
+ new CustomDomain().withName("www.my-other-name.com")
+ .withBindingType(BindingType.SNI_ENABLED)
+ .withCertificateId(
+ "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.App/connectedEnvironments/demokube/certificates/my-certificate-for-my-other-name-dot-com")))
+ .withIpSecurityRestrictions(Arrays.asList(
+ new IpSecurityRestrictionRule().withName("Allow work IP A subnet")
+ .withDescription("Allowing all IP's within the subnet below to access containerapp")
+ .withIpAddressRange("192.168.1.1/32")
+ .withAction(Action.ALLOW),
+ new IpSecurityRestrictionRule().withName("Allow work IP B subnet")
+ .withDescription("Allowing all IP's within the subnet below to access containerapp")
+ .withIpAddressRange("192.168.1.1/8")
+ .withAction(Action.ALLOW)))
+ .withStickySessions(new IngressStickySessions().withAffinity(Affinity.STICKY))
+ .withClientCertificateMode(IngressClientCertificateMode.ACCEPT)
+ .withCorsPolicy(
+ new CorsPolicy().withAllowedOrigins(Arrays.asList("https://a.test.com", "https://b.test.com"))
+ .withAllowedMethods(Arrays.asList("GET", "POST"))
+ .withAllowedHeaders(Arrays.asList("HEADER1", "HEADER2"))
+ .withExposeHeaders(Arrays.asList("HEADER3", "HEADER4"))
+ .withMaxAge(1234)
+ .withAllowCredentials(true))
+ .withAdditionalPortMappings(
+ Arrays.asList(new IngressPortMapping().withExternal(true).withTargetPort(1234),
+ new IngressPortMapping().withExternal(false).withTargetPort(2345).withExposedPort(3456))))
+ .withDapr(new Dapr().withEnabled(true)
+ .withAppProtocol(AppProtocol.HTTP)
+ .withAppPort(3000)
+ .withHttpReadBufferSize(30)
+ .withHttpMaxRequestSize(10)
+ .withLogLevel(LogLevel.DEBUG)
+ .withEnableApiLogging(true))
+ .withRuntime(new Runtime().withJava(new RuntimeJava().withEnableMetrics(true)))
+ .withMaxInactiveRevisions(10))
+ .withTemplate(new Template()
+ .withInitContainers(Arrays.asList(new InitContainer().withImage("repo/testcontainerApp0:v4")
+ .withName("testinitcontainerApp0")
+ .withCommand(Arrays.asList("/bin/sh"))
+ .withArgs(Arrays.asList("-c", "while true; do echo hello; sleep 10;done"))
+ .withResources(new ContainerResources().withCpu(0.2D).withMemory("100Mi"))))
+ .withContainers(Arrays.asList(new Container()
+ .withImage("repo/testcontainerApp0:v1")
+ .withName("testcontainerApp0")
+ .withProbes(
+ Arrays.asList(new ContainerAppProbe().withHttpGet(new ContainerAppProbeHttpGet()
+ .withHttpHeaders(
+ Arrays.asList(new ContainerAppProbeHttpGetHttpHeadersItem().withName("Custom-Header")
+ .withValue("Awesome")))
+ .withPath("/health")
+ .withPort(8080)).withInitialDelaySeconds(3).withPeriodSeconds(3).withType(Type.LIVENESS)))))
+ .withScale(
+ new Scale().withMinReplicas(1)
+ .withMaxReplicas(5)
+ .withCooldownPeriod(350)
+ .withPollingInterval(35)
+ .withRules(Arrays.asList(new ScaleRule().withName("httpscalingrule")
+ .withCustom(new CustomScaleRule().withType("http")
+ .withMetadata(mapOf("concurrentRequests", "50")))))))
+ .create();
+ }
+
+ /*
+ * x-ms-original-file: 2026-07-01/ContainerApps_CreateOrUpdate.json
*/
/**
* Sample code: Create or Update Container App.
@@ -1125,7 +1426,7 @@ public final class ContainerAppsCreateOrUpdateSamples {
public static void
createOrUpdateContainerApp(com.azure.resourcemanager.appcontainers.ContainerAppsApiManager manager) {
manager.containerApps()
- .define("testcontainerapp0")
+ .define("testcontainerApp0")
.withRegion("East US")
.withExistingResourceGroup("rg")
.withIdentity(new ManagedServiceIdentity()
@@ -1136,79 +1437,68 @@ public final class ContainerAppsCreateOrUpdateSamples {
.withEnvironmentId(
"/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.App/managedEnvironments/demokube")
.withWorkloadProfileName("My-GP-01")
- .withConfiguration(
- new Configuration()
- .withIngress(new Ingress().withExternal(true)
- .withTargetPort(3000)
- .withTraffic(Arrays.asList(new TrafficWeight()
- .withRevisionName("testcontainerapp0-ab1234")
- .withWeight(100)
- .withLabel("production")))
- .withCustomDomains(Arrays.asList(new CustomDomain()
- .withName("www.my-name.com")
- .withBindingType(BindingType.SNI_ENABLED)
- .withCertificateId(
- "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.App/managedEnvironments/demokube/certificates/my-certificate-for-my-name-dot-com"),
- new CustomDomain().withName("www.my-other-name.com")
- .withBindingType(BindingType.SNI_ENABLED)
- .withCertificateId(
- "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.App/managedEnvironments/demokube/certificates/my-certificate-for-my-other-name-dot-com")))
- .withIpSecurityRestrictions(
- Arrays
- .asList(
- new IpSecurityRestrictionRule().withName("Allow work IP A subnet")
- .withDescription(
- "Allowing all IP's within the subnet below to access containerapp")
- .withIpAddressRange("192.168.1.1/32")
- .withAction(Action.ALLOW),
- new IpSecurityRestrictionRule().withName("Allow work IP B subnet")
- .withDescription(
- "Allowing all IP's within the subnet below to access containerapp")
- .withIpAddressRange("192.168.1.1/8")
- .withAction(Action.ALLOW)))
- .withStickySessions(new IngressStickySessions().withAffinity(Affinity.STICKY))
- .withClientCertificateMode(IngressClientCertificateMode.ACCEPT)
- .withCorsPolicy(new CorsPolicy()
- .withAllowedOrigins(Arrays.asList("https://a.test.com", "https://b.test.com"))
- .withAllowedMethods(Arrays.asList("GET", "POST"))
- .withAllowedHeaders(Arrays.asList("HEADER1", "HEADER2"))
- .withExposeHeaders(Arrays.asList("HEADER3", "HEADER4"))
- .withMaxAge(1234)
- .withAllowCredentials(true))
- .withAdditionalPortMappings(Arrays.asList(
- new IngressPortMapping().withExternal(true).withTargetPort(1234),
- new IngressPortMapping().withExternal(false).withTargetPort(2345).withExposedPort(3456))))
- .withDapr(new Dapr()
- .withEnabled(true)
- .withAppProtocol(AppProtocol.HTTP)
- .withAppPort(3000)
- .withHttpReadBufferSize(30)
- .withHttpMaxRequestSize(10)
- .withLogLevel(LogLevel.DEBUG)
- .withEnableApiLogging(true)
- .withAppHealth(new DaprAppHealth()
- .withEnabled(true)
- .withPath("/health")
- .withProbeIntervalSeconds(3)
- .withProbeTimeoutMilliseconds(1000)
- .withThreshold(3))
- .withMaxConcurrency(10))
- .withRuntime(new Runtime().withJava(new RuntimeJava().withEnableMetrics(true)))
- .withMaxInactiveRevisions(10)
- .withService(new Service().withType("redis"))
- .withIdentitySettings(Arrays.asList(new IdentitySettings().withIdentity(
- "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myidentity")
- .withLifecycle(IdentitySettingsLifeCycle.ALL),
- new IdentitySettings().withIdentity("system").withLifecycle(IdentitySettingsLifeCycle.INIT))))
+ .withConfiguration(new Configuration().withIngress(new Ingress().withExternal(true)
+ .withTargetPort(3000)
+ .withTraffic(Arrays
+ .asList(new TrafficWeight().withRevisionName("testcontainerApp0-ab1234").withLabel("production")))
+ .withCustomDomains(Arrays.asList(new CustomDomain().withName("www.my-name.com")
+ .withBindingType(BindingType.SNI_ENABLED)
+ .withCertificateId(
+ "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.App/managedEnvironments/demokube/certificates/my-certificate-for-my-name-dot-com"),
+ new CustomDomain().withName("www.my-other-name.com")
+ .withBindingType(BindingType.SNI_ENABLED)
+ .withCertificateId(
+ "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.App/managedEnvironments/demokube/certificates/my-certificate-for-my-other-name-dot-com")))
+ .withIpSecurityRestrictions(Arrays.asList(
+ new IpSecurityRestrictionRule().withName("Allow work IP A subnet")
+ .withDescription("Allowing all IP's within the subnet below to access containerapp")
+ .withIpAddressRange("192.168.1.1/32")
+ .withAction(Action.ALLOW),
+ new IpSecurityRestrictionRule().withName("Allow work IP B subnet")
+ .withDescription("Allowing all IP's within the subnet below to access containerapp")
+ .withIpAddressRange("192.168.1.1/8")
+ .withAction(Action.ALLOW)))
+ .withStickySessions(new IngressStickySessions().withAffinity(Affinity.STICKY))
+ .withClientCertificateMode(IngressClientCertificateMode.ACCEPT)
+ .withCorsPolicy(
+ new CorsPolicy().withAllowedOrigins(Arrays.asList("https://a.test.com", "https://b.test.com"))
+ .withAllowedMethods(Arrays.asList("GET", "POST"))
+ .withAllowedHeaders(Arrays.asList("HEADER1", "HEADER2"))
+ .withExposeHeaders(Arrays.asList("HEADER3", "HEADER4"))
+ .withMaxAge(1234)
+ .withAllowCredentials(true))
+ .withAdditionalPortMappings(
+ Arrays.asList(new IngressPortMapping().withExternal(true).withTargetPort(1234),
+ new IngressPortMapping().withExternal(false).withTargetPort(2345).withExposedPort(3456))))
+ .withDapr(new Dapr().withEnabled(true)
+ .withAppProtocol(AppProtocol.HTTP)
+ .withAppPort(3000)
+ .withHttpReadBufferSize(30)
+ .withHttpMaxRequestSize(10)
+ .withLogLevel(LogLevel.DEBUG)
+ .withEnableApiLogging(true)
+ .withAppHealth(new DaprAppHealth().withEnabled(true)
+ .withPath("/health")
+ .withProbeIntervalSeconds(3)
+ .withProbeTimeoutMilliseconds(1000)
+ .withThreshold(3))
+ .withMaxConcurrency(10))
+ .withRuntime(new Runtime().withJava(new RuntimeJava().withEnableMetrics(true)))
+ .withMaxInactiveRevisions(10)
+ .withService(new Service().withType("redis"))
+ .withIdentitySettings(Arrays.asList(new IdentitySettings().withIdentity(
+ "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myidentity")
+ .withLifecycle(IdentitySettingsLifeCycle.ALL),
+ new IdentitySettings().withIdentity("system").withLifecycle(IdentitySettingsLifeCycle.INIT))))
.withTemplate(new Template()
- .withInitContainers(Arrays.asList(new InitContainer().withImage("repo/testcontainerapp0:v4")
+ .withInitContainers(Arrays.asList(new InitContainer().withImage("repo/testcontainerApp0:v4")
.withName("testinitcontainerApp0")
.withCommand(Arrays.asList("/bin/sh"))
.withArgs(Arrays.asList("-c", "while true; do echo hello; sleep 10;done"))
- .withResources(new ContainerResources().withCpu(0.5D).withMemory("1Gi"))))
+ .withResources(new ContainerResources().withCpu(0.2D).withMemory("100Mi"))))
.withContainers(Arrays.asList(new Container()
- .withImage("repo/testcontainerapp0:v1")
- .withName("testcontainerapp0")
+ .withImage("repo/testcontainerApp0:v1")
+ .withName("testcontainerApp0")
.withVolumeMounts(
Arrays.asList(
new VolumeMount().withVolumeName("azurefile")
@@ -1258,8 +1548,32 @@ public final class ContainerAppsCreateOrUpdateSamples {
}
/*
- * x-ms-original-file: specification/app/resource-manager/Microsoft.App/ContainerApps/stable/2025-07-01/examples/
- * ContainerApps_TcpApp_CreateOrUpdate.json
+ * x-ms-original-file: 2026-07-01/ContainerApps_CreateOrUpdate_Networking.json
+ */
+ /**
+ * Sample code: Create or Update Container App with per-app outbound VNet subnet.
+ *
+ * @param manager Entry point to ContainerAppsApiManager.
+ */
+ public static void createOrUpdateContainerAppWithPerAppOutboundVNetSubnet(
+ com.azure.resourcemanager.appcontainers.ContainerAppsApiManager manager) {
+ manager.containerApps()
+ .define("testcontainerApp0")
+ .withRegion("East US")
+ .withExistingResourceGroup("rg")
+ .withEnvironmentId(
+ "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.App/managedEnvironments/expressenv")
+ .withNetworking(new ContainerAppNetworkingConfiguration().withOutboundVnetSubnetId(
+ "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/appsubnet"))
+ .withTemplate(
+ new Template().withContainers(Arrays.asList(new Container().withImage("repo/testcontainerApp0:v1")
+ .withName("testcontainerApp0")
+ .withResources(new ContainerResources().withCpu(0.2D).withMemory("100Mi")))))
+ .create();
+ }
+
+ /*
+ * x-ms-original-file: 2026-07-01/ContainerApps_TcpApp_CreateOrUpdate.json
*/
/**
* Sample code: Create or Update Tcp App.
@@ -1268,21 +1582,19 @@ public final class ContainerAppsCreateOrUpdateSamples {
*/
public static void createOrUpdateTcpApp(com.azure.resourcemanager.appcontainers.ContainerAppsApiManager manager) {
manager.containerApps()
- .define("testcontainerapptcp")
+ .define("testcontainerAppTcp")
.withRegion("East US")
.withExistingResourceGroup("rg")
.withEnvironmentId(
"/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.App/managedEnvironments/demokube")
- .withConfiguration(
- new Configuration().withIngress(new Ingress().withExternal(true)
- .withTargetPort(3000)
- .withExposedPort(4000)
- .withTransport(IngressTransportMethod.TCP)
- .withTraffic(Arrays
- .asList(new TrafficWeight().withRevisionName("testcontainerapptcp-ab1234").withWeight(100)))))
+ .withConfiguration(new Configuration().withIngress(new Ingress().withExternal(true)
+ .withTargetPort(3000)
+ .withExposedPort(4000)
+ .withTransport(IngressTransportMethod.TCP)
+ .withTraffic(Arrays.asList(new TrafficWeight().withRevisionName("testcontainerAppTcp-ab1234")))))
.withTemplate(new Template()
- .withContainers(Arrays.asList(new Container().withImage("repo/testcontainerapptcp:v1")
- .withName("testcontainerapptcp")
+ .withContainers(Arrays.asList(new Container().withImage("repo/testcontainerAppTcp:v1")
+ .withName("testcontainerAppTcp")
.withProbes(Arrays.asList(new ContainerAppProbe().withInitialDelaySeconds(3)
.withPeriodSeconds(3)
.withTcpSocket(new ContainerAppProbeTcpSocket().withPort(8080))
@@ -1297,8 +1609,7 @@ public final class ContainerAppsCreateOrUpdateSamples {
}
/*
- * x-ms-original-file: specification/app/resource-manager/Microsoft.App/ContainerApps/stable/2025-07-01/examples/
- * ContainerApps_Kind_FunctionApp_CreateOrUpdate.json
+ * x-ms-original-file: 2026-07-01/ContainerApps_Kind_FunctionApp_CreateOrUpdate.json
*/
/**
* Sample code: Create or Update FunctionApp Kind.
@@ -1327,14 +1638,16 @@ public final class ContainerAppsCreateOrUpdateSamples {
new EnvironmentVar().withName("FUNCTIONS_WORKER_RUNTIME").withValue("dotnet"),
new EnvironmentVar().withName("WEBSITES_ENABLE_APP_SERVICE_STORAGE").withValue("false")))
.withResources(new ContainerResources().withCpu(0.5D).withMemory("1.0Gi"))))
- .withScale(
- new Scale().withMinReplicas(0).withMaxReplicas(10).withCooldownPeriod(300).withPollingInterval(30)))
+ .withScale(new Scale().withMinReplicas(0)
+ .withMaxReplicas(10)
+ .withCooldownPeriod(300)
+ .withPollingInterval(30)
+ .withAllowScalingRuleOverride(true)))
.create();
}
/*
- * x-ms-original-file: specification/app/resource-manager/Microsoft.App/ContainerApps/stable/2025-07-01/examples/
- * ContainerApps_ManagedBy_CreateOrUpdate.json
+ * x-ms-original-file: 2026-07-01/ContainerApps_ManagedBy_CreateOrUpdate.json
*/
/**
* Sample code: Create or Update ManagedBy App.
@@ -1344,7 +1657,7 @@ public final class ContainerAppsCreateOrUpdateSamples {
public static void
createOrUpdateManagedByApp(com.azure.resourcemanager.appcontainers.ContainerAppsApiManager manager) {
manager.containerApps()
- .define("testcontainerappmanagedby")
+ .define("testcontainerAppManagedBy")
.withRegion("East US")
.withExistingResourceGroup("rg")
.withManagedBy(
@@ -1355,11 +1668,10 @@ public final class ContainerAppsCreateOrUpdateSamples {
.withTargetPort(3000)
.withExposedPort(4000)
.withTransport(IngressTransportMethod.TCP)
- .withTraffic(Arrays
- .asList(new TrafficWeight().withRevisionName("testcontainerappmanagedby-ab1234").withWeight(100)))))
+ .withTraffic(Arrays.asList(new TrafficWeight().withRevisionName("testcontainerAppManagedBy-ab1234")))))
.withTemplate(new Template()
- .withContainers(Arrays.asList(new Container().withImage("repo/testcontainerappmanagedby:v1")
- .withName("testcontainerappmanagedby")
+ .withContainers(Arrays.asList(new Container().withImage("repo/testcontainerAppManagedBy:v1")
+ .withName("testcontainerAppManagedBy")
.withProbes(Arrays.asList(new ContainerAppProbe().withInitialDelaySeconds(3)
.withPeriodSeconds(3)
.withTcpSocket(new ContainerAppProbeTcpSocket().withPort(8080))
@@ -1395,9 +1707,7 @@ public final class ContainerAppsCreateOrUpdateSamples {
*/
public final class ContainerAppsDeleteSamples {
/*
- * x-ms-original-file:
- * specification/app/resource-manager/Microsoft.App/ContainerApps/stable/2025-07-01/examples/ContainerApps_Delete.
- * json
+ * x-ms-original-file: 2026-07-01/ContainerApps_Delete.json
*/
/**
* Sample code: Delete Container App.
@@ -1405,7 +1715,7 @@ public final class ContainerAppsDeleteSamples {
* @param manager Entry point to ContainerAppsApiManager.
*/
public static void deleteContainerApp(com.azure.resourcemanager.appcontainers.ContainerAppsApiManager manager) {
- manager.containerApps().delete("rg", "testworkerapp0", com.azure.core.util.Context.NONE);
+ manager.containerApps().delete("rg", "testWorkerApp0", com.azure.core.util.Context.NONE);
}
}
```
@@ -1418,8 +1728,7 @@ public final class ContainerAppsDeleteSamples {
*/
public final class ContainerAppsGetAuthTokenSamples {
/*
- * x-ms-original-file: specification/app/resource-manager/Microsoft.App/ContainerApps/stable/2025-07-01/examples/
- * ContainerApps_GetAuthToken.json
+ * x-ms-original-file: 2026-07-01/ContainerApps_GetAuthToken.json
*/
/**
* Sample code: Get Container App Auth Token.
@@ -1428,7 +1737,7 @@ public final class ContainerAppsGetAuthTokenSamples {
*/
public static void
getContainerAppAuthToken(com.azure.resourcemanager.appcontainers.ContainerAppsApiManager manager) {
- manager.containerApps().getAuthTokenWithResponse("rg", "testcontainerapp0", com.azure.core.util.Context.NONE);
+ manager.containerApps().getAuthTokenWithResponse("rg", "testcontainerApp0", com.azure.core.util.Context.NONE);
}
}
```
@@ -1441,8 +1750,7 @@ public final class ContainerAppsGetAuthTokenSamples {
*/
public final class ContainerAppsGetByResourceGroupSamples {
/*
- * x-ms-original-file:
- * specification/app/resource-manager/Microsoft.App/ContainerApps/stable/2025-07-01/examples/ContainerApps_Get.json
+ * x-ms-original-file: 2026-07-01/ContainerApps_Get.json
*/
/**
* Sample code: Get Container App.
@@ -1451,7 +1759,7 @@ public final class ContainerAppsGetByResourceGroupSamples {
*/
public static void getContainerApp(com.azure.resourcemanager.appcontainers.ContainerAppsApiManager manager) {
manager.containerApps()
- .getByResourceGroupWithResponse("rg", "testcontainerapp0", com.azure.core.util.Context.NONE);
+ .getByResourceGroupWithResponse("rg", "testcontainerApp0", com.azure.core.util.Context.NONE);
}
}
```
@@ -1464,8 +1772,7 @@ public final class ContainerAppsGetByResourceGroupSamples {
*/
public final class ContainerAppsListSamples {
/*
- * x-ms-original-file: specification/app/resource-manager/Microsoft.App/ContainerApps/stable/2025-07-01/examples/
- * ContainerApps_ListBySubscription.json
+ * x-ms-original-file: 2026-07-01/ContainerApps_ListBySubscription.json
*/
/**
* Sample code: List Container Apps by subscription.
@@ -1487,8 +1794,7 @@ public final class ContainerAppsListSamples {
*/
public final class ContainerAppsListByResourceGroupSamples {
/*
- * x-ms-original-file: specification/app/resource-manager/Microsoft.App/ContainerApps/stable/2025-07-01/examples/
- * ContainerApps_ListByResourceGroup.json
+ * x-ms-original-file: 2026-07-01/ContainerApps_ListByResourceGroup.json
*/
/**
* Sample code: List Container Apps by resource group.
@@ -1510,8 +1816,7 @@ public final class ContainerAppsListByResourceGroupSamples {
*/
public final class ContainerAppsListCustomHostnameAnalysisSamples {
/*
- * x-ms-original-file: specification/app/resource-manager/Microsoft.App/ContainerApps/stable/2025-07-01/examples/
- * ContainerApps_ListCustomHostNameAnalysis.json
+ * x-ms-original-file: 2026-07-01/ContainerApps_ListCustomHostNameAnalysis.json
*/
/**
* Sample code: Analyze Custom Hostname.
@@ -1520,7 +1825,7 @@ public final class ContainerAppsListCustomHostnameAnalysisSamples {
*/
public static void analyzeCustomHostname(com.azure.resourcemanager.appcontainers.ContainerAppsApiManager manager) {
manager.containerApps()
- .listCustomHostnameAnalysisWithResponse("rg", "testcontainerapp0", "my.name.corp",
+ .listCustomHostnameAnalysisWithResponse("rg", "testcontainerApp0", "my.name.corp",
com.azure.core.util.Context.NONE);
}
}
@@ -1534,8 +1839,7 @@ public final class ContainerAppsListCustomHostnameAnalysisSamples {
*/
public final class ContainerAppsListSecretsSamples {
/*
- * x-ms-original-file: specification/app/resource-manager/Microsoft.App/ContainerApps/stable/2025-07-01/examples/
- * ContainerApps_ListSecrets.json
+ * x-ms-original-file: 2026-07-01/ContainerApps_ListSecrets.json
*/
/**
* Sample code: List Container Apps Secrets.
@@ -1544,7 +1848,7 @@ public final class ContainerAppsListSecretsSamples {
*/
public static void
listContainerAppsSecrets(com.azure.resourcemanager.appcontainers.ContainerAppsApiManager manager) {
- manager.containerApps().listSecretsWithResponse("rg", "testcontainerapp0", com.azure.core.util.Context.NONE);
+ manager.containerApps().listSecretsWithResponse("rg", "testcontainerApp0", com.azure.core.util.Context.NONE);
}
}
```
@@ -1557,9 +1861,7 @@ public final class ContainerAppsListSecretsSamples {
*/
public final class ContainerAppsStartSamples {
/*
- * x-ms-original-file:
- * specification/app/resource-manager/Microsoft.App/ContainerApps/stable/2025-07-01/examples/ContainerApps_Start.
- * json
+ * x-ms-original-file: 2026-07-01/ContainerApps_Start.json
*/
/**
* Sample code: Start Container App.
@@ -1567,7 +1869,7 @@ public final class ContainerAppsStartSamples {
* @param manager Entry point to ContainerAppsApiManager.
*/
public static void startContainerApp(com.azure.resourcemanager.appcontainers.ContainerAppsApiManager manager) {
- manager.containerApps().start("rg", "testworkerapp0", com.azure.core.util.Context.NONE);
+ manager.containerApps().start("rg", "testWorkerApp0", com.azure.core.util.Context.NONE);
}
}
```
@@ -1580,8 +1882,7 @@ public final class ContainerAppsStartSamples {
*/
public final class ContainerAppsStopSamples {
/*
- * x-ms-original-file:
- * specification/app/resource-manager/Microsoft.App/ContainerApps/stable/2025-07-01/examples/ContainerApps_Stop.json
+ * x-ms-original-file: 2026-07-01/ContainerApps_Stop.json
*/
/**
* Sample code: Stop Container App.
@@ -1589,7 +1890,7 @@ public final class ContainerAppsStopSamples {
* @param manager Entry point to ContainerAppsApiManager.
*/
public static void stopContainerApp(com.azure.resourcemanager.appcontainers.ContainerAppsApiManager manager) {
- manager.containerApps().stop("rg", "testworkerApp0", com.azure.core.util.Context.NONE);
+ manager.containerApps().stop("rg", "testWorkerApp0", com.azure.core.util.Context.NONE);
}
}
```
@@ -1635,9 +1936,7 @@ import java.util.Map;
*/
public final class ContainerAppsUpdateSamples {
/*
- * x-ms-original-file:
- * specification/app/resource-manager/Microsoft.App/ContainerApps/stable/2025-07-01/examples/ContainerApps_Patch.
- * json
+ * x-ms-original-file: 2026-07-01/ContainerApps_Patch.json
*/
/**
* Sample code: Patch Container App.
@@ -1646,64 +1945,55 @@ public final class ContainerAppsUpdateSamples {
*/
public static void patchContainerApp(com.azure.resourcemanager.appcontainers.ContainerAppsApiManager manager) {
ContainerApp resource = manager.containerApps()
- .getByResourceGroupWithResponse("rg", "testcontainerapp0", com.azure.core.util.Context.NONE)
+ .getByResourceGroupWithResponse("rg", "testcontainerApp0", com.azure.core.util.Context.NONE)
.getValue();
resource.update()
.withTags(mapOf("tag1", "value1", "tag2", "value2"))
- .withConfiguration(
- new Configuration()
- .withIngress(new Ingress().withExternal(true)
- .withTargetPort(3000)
- .withTraffic(Arrays.asList(new TrafficWeight()
- .withRevisionName("testcontainerapp0-ab1234")
- .withWeight(100)
- .withLabel("production")))
- .withCustomDomains(Arrays.asList(new CustomDomain()
- .withName("www.my-name.com")
- .withBindingType(BindingType.SNI_ENABLED)
- .withCertificateId(
- "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.App/managedEnvironments/demokube/certificates/my-certificate-for-my-name-dot-com"),
- new CustomDomain().withName("www.my-other-name.com")
- .withBindingType(BindingType.SNI_ENABLED)
- .withCertificateId(
- "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.App/managedEnvironments/demokube/certificates/my-certificate-for-my-other-name-dot-com")))
- .withIpSecurityRestrictions(
- Arrays
- .asList(
- new IpSecurityRestrictionRule().withName("Allow work IP A subnet")
- .withDescription(
- "Allowing all IP's within the subnet below to access containerapp")
- .withIpAddressRange("192.168.1.1/32")
- .withAction(Action.ALLOW),
- new IpSecurityRestrictionRule().withName("Allow work IP B subnet")
- .withDescription(
- "Allowing all IP's within the subnet below to access containerapp")
- .withIpAddressRange("192.168.1.1/8")
- .withAction(Action.ALLOW)))
- .withStickySessions(new IngressStickySessions().withAffinity(Affinity.STICKY)))
- .withDapr(new Dapr().withEnabled(true)
- .withAppProtocol(AppProtocol.HTTP)
- .withAppPort(3000)
- .withHttpReadBufferSize(30)
- .withHttpMaxRequestSize(10)
- .withLogLevel(LogLevel.DEBUG)
- .withEnableApiLogging(true)
- .withAppHealth(new DaprAppHealth().withEnabled(true)
- .withPath("/health")
- .withProbeIntervalSeconds(3)
- .withProbeTimeoutMilliseconds(1000)
- .withThreshold(3))
- .withMaxConcurrency(10))
- .withRuntime(new Runtime().withJava(new RuntimeJava().withEnableMetrics(true)))
- .withMaxInactiveRevisions(10)
- .withService(new Service().withType("redis")))
+ .withConfiguration(new Configuration().withIngress(new Ingress().withExternal(true)
+ .withTargetPort(3000)
+ .withTraffic(Arrays
+ .asList(new TrafficWeight().withRevisionName("testcontainerApp0-ab1234").withLabel("production")))
+ .withCustomDomains(Arrays.asList(new CustomDomain().withName("www.my-name.com")
+ .withBindingType(BindingType.SNI_ENABLED)
+ .withCertificateId(
+ "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.App/managedEnvironments/demokube/certificates/my-certificate-for-my-name-dot-com"),
+ new CustomDomain().withName("www.my-other-name.com")
+ .withBindingType(BindingType.SNI_ENABLED)
+ .withCertificateId(
+ "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.App/managedEnvironments/demokube/certificates/my-certificate-for-my-other-name-dot-com")))
+ .withIpSecurityRestrictions(Arrays.asList(
+ new IpSecurityRestrictionRule().withName("Allow work IP A subnet")
+ .withDescription("Allowing all IP's within the subnet below to access containerapp")
+ .withIpAddressRange("192.168.1.1/32")
+ .withAction(Action.ALLOW),
+ new IpSecurityRestrictionRule().withName("Allow work IP B subnet")
+ .withDescription("Allowing all IP's within the subnet below to access containerapp")
+ .withIpAddressRange("192.168.1.1/8")
+ .withAction(Action.ALLOW)))
+ .withStickySessions(new IngressStickySessions().withAffinity(Affinity.STICKY)))
+ .withDapr(new Dapr().withEnabled(true)
+ .withAppProtocol(AppProtocol.HTTP)
+ .withAppPort(3000)
+ .withHttpReadBufferSize(30)
+ .withHttpMaxRequestSize(10)
+ .withLogLevel(LogLevel.DEBUG)
+ .withEnableApiLogging(true)
+ .withAppHealth(new DaprAppHealth().withEnabled(true)
+ .withPath("/health")
+ .withProbeIntervalSeconds(3)
+ .withProbeTimeoutMilliseconds(1000)
+ .withThreshold(3))
+ .withMaxConcurrency(10))
+ .withRuntime(new Runtime().withJava(new RuntimeJava().withEnableMetrics(true)))
+ .withMaxInactiveRevisions(10)
+ .withService(new Service().withType("redis")))
.withTemplate(new Template()
- .withInitContainers(Arrays.asList(new InitContainer().withImage("repo/testcontainerapp0:v4")
+ .withInitContainers(Arrays.asList(new InitContainer().withImage("repo/testcontainerApp0:v4")
.withName("testinitcontainerApp0")
- .withResources(new ContainerResources().withCpu(0.5D).withMemory("1Gi"))))
+ .withResources(new ContainerResources().withCpu(0.2D).withMemory("100Mi"))))
.withContainers(Arrays.asList(new Container()
- .withImage("repo/testcontainerapp0:v1")
- .withName("testcontainerapp0")
+ .withImage("repo/testcontainerApp0:v1")
+ .withName("testcontainerApp0")
.withProbes(
Arrays.asList(new ContainerAppProbe().withHttpGet(new ContainerAppProbeHttpGet()
.withHttpHeaders(
@@ -1745,10 +2035,13 @@ public final class ContainerAppsUpdateSamples {
```java
import com.azure.resourcemanager.appcontainers.models.AppRegistration;
import com.azure.resourcemanager.appcontainers.models.AuthPlatform;
+import com.azure.resourcemanager.appcontainers.models.BlobStorageTokenStore;
import com.azure.resourcemanager.appcontainers.models.EncryptionSettings;
import com.azure.resourcemanager.appcontainers.models.Facebook;
import com.azure.resourcemanager.appcontainers.models.GlobalValidation;
import com.azure.resourcemanager.appcontainers.models.IdentityProviders;
+import com.azure.resourcemanager.appcontainers.models.Login;
+import com.azure.resourcemanager.appcontainers.models.TokenStore;
import com.azure.resourcemanager.appcontainers.models.UnauthenticatedClientActionV2;
/**
@@ -1756,8 +2049,7 @@ import com.azure.resourcemanager.appcontainers.models.UnauthenticatedClientActio
*/
public final class ContainerAppsAuthConfigsCreateOrUpdateSamples {
/*
- * x-ms-original-file: specification/app/resource-manager/Microsoft.App/ContainerApps/stable/2025-07-01/examples/
- * AuthConfigs_CreateOrUpdate.json
+ * x-ms-original-file: 2026-07-01/AuthConfigs_CreateOrUpdate.json
*/
/**
* Sample code: Create or Update Container App AuthConfig.
@@ -1779,6 +2071,62 @@ public final class ContainerAppsAuthConfigsCreateOrUpdateSamples {
.withContainerAppAuthSigningSecretName("fakeTokenPlaceholder"))
.create();
}
+
+ /*
+ * x-ms-original-file: 2026-07-01/AuthConfigs_BlobStorageTokenStore_ClientId_CreateOrUpdate.json
+ */
+ /**
+ * Sample code: Create or Update Container App AuthConfig with msi clientID blob storage token store.
+ *
+ * @param manager Entry point to ContainerAppsApiManager.
+ */
+ public static void createOrUpdateContainerAppAuthConfigWithMsiClientIDBlobStorageTokenStore(
+ com.azure.resourcemanager.appcontainers.ContainerAppsApiManager manager) {
+ manager.containerAppsAuthConfigs()
+ .define("current")
+ .withExistingContainerApp("rg1", "myapp")
+ .withPlatform(new AuthPlatform().withEnabled(true))
+ .withGlobalValidation(
+ new GlobalValidation().withUnauthenticatedClientAction(UnauthenticatedClientActionV2.ALLOW_ANONYMOUS))
+ .withIdentityProviders(new IdentityProviders().withFacebook(new Facebook().withRegistration(
+ new AppRegistration().withAppId("123").withAppSecretSettingName("fakeTokenPlaceholder"))))
+ .withLogin(new Login().withTokenStore(new TokenStore().withAzureBlobStorage(
+ new BlobStorageTokenStore().withBlobContainerUri("https://test.blob.core.windows.net/container1")
+ .withClientId("00000000-0000-0000-0000-000000000000"))))
+ .withEncryptionSettings(
+ new EncryptionSettings().withContainerAppAuthEncryptionSecretName("fakeTokenPlaceholder")
+ .withContainerAppAuthSigningSecretName("fakeTokenPlaceholder"))
+ .create();
+ }
+
+ /*
+ * x-ms-original-file: 2026-07-01/AuthConfigs_BlobStorageTokenStore_CreateOrUpdate.json
+ */
+ /**
+ * Sample code: Create or Update Container App AuthConfig with msi managedIdentityResourceId blob storage token
+ * store.
+ *
+ * @param manager Entry point to ContainerAppsApiManager.
+ */
+ public static void createOrUpdateContainerAppAuthConfigWithMsiManagedIdentityResourceIdBlobStorageTokenStore(
+ com.azure.resourcemanager.appcontainers.ContainerAppsApiManager manager) {
+ manager.containerAppsAuthConfigs()
+ .define("current")
+ .withExistingContainerApp("rg1", "myapp")
+ .withPlatform(new AuthPlatform().withEnabled(true))
+ .withGlobalValidation(
+ new GlobalValidation().withUnauthenticatedClientAction(UnauthenticatedClientActionV2.ALLOW_ANONYMOUS))
+ .withIdentityProviders(new IdentityProviders().withFacebook(new Facebook().withRegistration(
+ new AppRegistration().withAppId("123").withAppSecretSettingName("fakeTokenPlaceholder"))))
+ .withLogin(new Login().withTokenStore(new TokenStore().withAzureBlobStorage(new BlobStorageTokenStore()
+ .withBlobContainerUri("https://test.blob.core.windows.net/container1")
+ .withManagedIdentityResourceId(
+ "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity1"))))
+ .withEncryptionSettings(
+ new EncryptionSettings().withContainerAppAuthEncryptionSecretName("fakeTokenPlaceholder")
+ .withContainerAppAuthSigningSecretName("fakeTokenPlaceholder"))
+ .create();
+ }
}
```
@@ -1790,8 +2138,7 @@ public final class ContainerAppsAuthConfigsCreateOrUpdateSamples {
*/
public final class ContainerAppsAuthConfigsDeleteSamples {
/*
- * x-ms-original-file:
- * specification/app/resource-manager/Microsoft.App/ContainerApps/stable/2025-07-01/examples/AuthConfigs_Delete.json
+ * x-ms-original-file: 2026-07-01/AuthConfigs_Delete.json
*/
/**
* Sample code: Delete Container App AuthConfig.
@@ -1814,8 +2161,7 @@ public final class ContainerAppsAuthConfigsDeleteSamples {
*/
public final class ContainerAppsAuthConfigsGetSamples {
/*
- * x-ms-original-file:
- * specification/app/resource-manager/Microsoft.App/ContainerApps/stable/2025-07-01/examples/AuthConfigs_Get.json
+ * x-ms-original-file: 2026-07-01/AuthConfigs_Get.json
*/
/**
* Sample code: Get Container App's AuthConfig.
@@ -1838,8 +2184,7 @@ public final class ContainerAppsAuthConfigsGetSamples {
*/
public final class ContainerAppsAuthConfigsListByContainerAppSamples {
/*
- * x-ms-original-file: specification/app/resource-manager/Microsoft.App/ContainerApps/stable/2025-07-01/examples/
- * AuthConfigs_ListByContainer.json
+ * x-ms-original-file: 2026-07-01/AuthConfigs_ListByContainer.json
*/
/**
* Sample code: List Auth Configs by Container Apps.
@@ -1862,8 +2207,7 @@ public final class ContainerAppsAuthConfigsListByContainerAppSamples {
*/
public final class ContainerAppsDiagnosticsGetDetectorSamples {
/*
- * x-ms-original-file: specification/app/resource-manager/Microsoft.App/ContainerApps/stable/2025-07-01/examples/
- * ContainerAppsDiagnostics_Get.json
+ * x-ms-original-file: 2026-07-01/ContainerAppsDiagnostics_Get.json
*/
/**
* Sample code: Get Container App's diagnostics info.
@@ -1887,8 +2231,7 @@ public final class ContainerAppsDiagnosticsGetDetectorSamples {
*/
public final class ContainerAppsDiagnosticsGetRevisionSamples {
/*
- * x-ms-original-file:
- * specification/app/resource-manager/Microsoft.App/ContainerApps/stable/2025-07-01/examples/Revisions_Get.json
+ * x-ms-original-file: 2026-07-01/Revisions_Get1.json
*/
/**
* Sample code: Get Container App's revision.
@@ -1912,8 +2255,7 @@ public final class ContainerAppsDiagnosticsGetRevisionSamples {
*/
public final class ContainerAppsDiagnosticsGetRootSamples {
/*
- * x-ms-original-file:
- * specification/app/resource-manager/Microsoft.App/ContainerApps/stable/2025-07-01/examples/ContainerApps_Get.json
+ * x-ms-original-file: 2026-07-01/ContainerApps_Get1.json
*/
/**
* Sample code: Get Container App.
@@ -1922,7 +2264,7 @@ public final class ContainerAppsDiagnosticsGetRootSamples {
*/
public static void getContainerApp(com.azure.resourcemanager.appcontainers.ContainerAppsApiManager manager) {
manager.containerAppsDiagnostics()
- .getRootWithResponse("rg", "testcontainerapp0", com.azure.core.util.Context.NONE);
+ .getRootWithResponse("rg", "testcontainerApp0", com.azure.core.util.Context.NONE);
}
}
```
@@ -1935,8 +2277,7 @@ public final class ContainerAppsDiagnosticsGetRootSamples {
*/
public final class ContainerAppsDiagnosticsListDetectorsSamples {
/*
- * x-ms-original-file: specification/app/resource-manager/Microsoft.App/ContainerApps/stable/2025-07-01/examples/
- * ContainerAppsDiagnostics_List.json
+ * x-ms-original-file: 2026-07-01/ContainerAppsDiagnostics_List.json
*/
/**
* Sample code: Get the list of available diagnostics for a given Container App.
@@ -1959,8 +2300,7 @@ public final class ContainerAppsDiagnosticsListDetectorsSamples {
*/
public final class ContainerAppsDiagnosticsListRevisionsSamples {
/*
- * x-ms-original-file:
- * specification/app/resource-manager/Microsoft.App/ContainerApps/stable/2025-07-01/examples/Revisions_List.json
+ * x-ms-original-file: 2026-07-01/Revisions_List1.json
*/
/**
* Sample code: List Container App's revisions.
@@ -1975,50 +2315,209 @@ public final class ContainerAppsDiagnosticsListRevisionsSamples {
}
```
-### ContainerAppsRevisionReplicas_GetReplica
+### ContainerAppsFunctions_Get
```java
/**
- * Samples for ContainerAppsRevisionReplicas GetReplica.
+ * Samples for ContainerAppsFunctions Get.
*/
-public final class ContainerAppsRevisionReplicasGetReplicaSamples {
+public final class ContainerAppsFunctionsGetSamples {
/*
- * x-ms-original-file:
- * specification/app/resource-manager/Microsoft.App/ContainerApps/stable/2025-07-01/examples/Replicas_Get.json
+ * x-ms-original-file: 2026-07-01/ContainerAppsFunctions_Get.json
*/
/**
- * Sample code: Get Container App's revision replica.
+ * Sample code: Get Container App's function.
*
* @param manager Entry point to ContainerAppsApiManager.
*/
public static void
- getContainerAppSRevisionReplica(com.azure.resourcemanager.appcontainers.ContainerAppsApiManager manager) {
- manager.containerAppsRevisionReplicas()
- .getReplicaWithResponse("workerapps-rg-xj", "myapp", "myapp--0wlqy09", "myapp--0wlqy09-5d9774cff-5wnd8",
- com.azure.core.util.Context.NONE);
+ getContainerAppSFunction(com.azure.resourcemanager.appcontainers.ContainerAppsApiManager manager) {
+ manager.containerAppsFunctions()
+ .getWithResponse("myResourceGroup", "myContainerApp", "HttpExample", com.azure.core.util.Context.NONE);
}
}
```
-### ContainerAppsRevisionReplicas_ListReplicas
+### ContainerAppsFunctions_List
```java
/**
- * Samples for ContainerAppsRevisionReplicas ListReplicas.
+ * Samples for ContainerAppsFunctions List.
*/
-public final class ContainerAppsRevisionReplicasListReplicasSamples {
+public final class ContainerAppsFunctionsListSamples {
/*
- * x-ms-original-file:
- * specification/app/resource-manager/Microsoft.App/ContainerApps/stable/2025-07-01/examples/Replicas_List.json
+ * x-ms-original-file: 2026-07-01/ContainerAppsFunctions_List.json
*/
/**
- * Sample code: List Container App's replicas.
+ * Sample code: List Container App's functions.
*
* @param manager Entry point to ContainerAppsApiManager.
*/
public static void
- listContainerAppSReplicas(com.azure.resourcemanager.appcontainers.ContainerAppsApiManager manager) {
- manager.containerAppsRevisionReplicas()
+ listContainerAppSFunctions(com.azure.resourcemanager.appcontainers.ContainerAppsApiManager manager) {
+ manager.containerAppsFunctions().list("myResourceGroup", "myContainerApp", com.azure.core.util.Context.NONE);
+ }
+}
+```
+
+### ContainerAppsLabelHistory_DeleteLabelHistory
+
+```java
+/**
+ * Samples for ContainerAppsLabelHistory DeleteLabelHistory.
+ */
+public final class ContainerAppsLabelHistoryDeleteLabelHistorySamples {
+ /*
+ * x-ms-original-file: 2026-07-01/LabelHistory_Delete.json
+ */
+ /**
+ * Sample code: Delete Container App's label history for a given label.
+ *
+ * @param manager Entry point to ContainerAppsApiManager.
+ */
+ public static void deleteContainerAppSLabelHistoryForAGivenLabel(
+ com.azure.resourcemanager.appcontainers.ContainerAppsApiManager manager) {
+ manager.containerAppsLabelHistories()
+ .deleteLabelHistoryWithResponse("rg", "testContainerApp", "dev", com.azure.core.util.Context.NONE);
+ }
+}
+```
+
+### ContainerAppsLabelHistory_GetLabelHistory
+
+```java
+/**
+ * Samples for ContainerAppsLabelHistory GetLabelHistory.
+ */
+public final class ContainerAppsLabelHistoryGetLabelHistorySamples {
+ /*
+ * x-ms-original-file: 2026-07-01/LabelHistory_Get.json
+ */
+ /**
+ * Sample code: Get Container App's single label history.
+ *
+ * @param manager Entry point to ContainerAppsApiManager.
+ */
+ public static void
+ getContainerAppSSingleLabelHistory(com.azure.resourcemanager.appcontainers.ContainerAppsApiManager manager) {
+ manager.containerAppsLabelHistories()
+ .getLabelHistoryWithResponse("rg", "testContainerApp", "dev", com.azure.core.util.Context.NONE);
+ }
+}
+```
+
+### ContainerAppsLabelHistory_ListLabelHistory
+
+```java
+/**
+ * Samples for ContainerAppsLabelHistory ListLabelHistory.
+ */
+public final class ContainerAppsLabelHistoryListLabelHistorySamples {
+ /*
+ * x-ms-original-file: 2026-07-01/LabelHistory_List.json
+ */
+ /**
+ * Sample code: List Container App's all label history.
+ *
+ * @param manager Entry point to ContainerAppsApiManager.
+ */
+ public static void
+ listContainerAppSAllLabelHistory(com.azure.resourcemanager.appcontainers.ContainerAppsApiManager manager) {
+ manager.containerAppsLabelHistories()
+ .listLabelHistory("rg", "testContainerApp", null, com.azure.core.util.Context.NONE);
+ }
+}
+```
+
+### ContainerAppsRevisionFunctions_Get
+
+```java
+/**
+ * Samples for ContainerAppsRevisionFunctions Get.
+ */
+public final class ContainerAppsRevisionFunctionsGetSamples {
+ /*
+ * x-ms-original-file: 2026-07-01/ContainerAppsRevisionFunctions_Get.json
+ */
+ /**
+ * Sample code: Get Container App Revision's function.
+ *
+ * @param manager Entry point to ContainerAppsApiManager.
+ */
+ public static void
+ getContainerAppRevisionSFunction(com.azure.resourcemanager.appcontainers.ContainerAppsApiManager manager) {
+ manager.containerAppsRevisionFunctions()
+ .getWithResponse("myResourceGroup", "myContainerApp", "myContainerApp-abc123", "HttpExample",
+ com.azure.core.util.Context.NONE);
+ }
+}
+```
+
+### ContainerAppsRevisionFunctions_List
+
+```java
+/**
+ * Samples for ContainerAppsRevisionFunctions List.
+ */
+public final class ContainerAppsRevisionFunctionsListSamples {
+ /*
+ * x-ms-original-file: 2026-07-01/ContainerAppsRevisionFunctions_List.json
+ */
+ /**
+ * Sample code: List Container App Revision's functions.
+ *
+ * @param manager Entry point to ContainerAppsApiManager.
+ */
+ public static void
+ listContainerAppRevisionSFunctions(com.azure.resourcemanager.appcontainers.ContainerAppsApiManager manager) {
+ manager.containerAppsRevisionFunctions()
+ .list("myResourceGroup", "myContainerApp", "myContainerApp-abc123", com.azure.core.util.Context.NONE);
+ }
+}
+```
+
+### ContainerAppsRevisionReplicas_GetReplica
+
+```java
+/**
+ * Samples for ContainerAppsRevisionReplicas GetReplica.
+ */
+public final class ContainerAppsRevisionReplicasGetReplicaSamples {
+ /*
+ * x-ms-original-file: 2026-07-01/Replicas_Get.json
+ */
+ /**
+ * Sample code: Get Container App's revision replica.
+ *
+ * @param manager Entry point to ContainerAppsApiManager.
+ */
+ public static void
+ getContainerAppSRevisionReplica(com.azure.resourcemanager.appcontainers.ContainerAppsApiManager manager) {
+ manager.containerAppsRevisionReplicas()
+ .getReplicaWithResponse("workerapps-rg-xj", "myapp", "myapp--0wlqy09", "myapp--0wlqy09-5d9774cff-5wnd8",
+ com.azure.core.util.Context.NONE);
+ }
+}
+```
+
+### ContainerAppsRevisionReplicas_ListReplicas
+
+```java
+/**
+ * Samples for ContainerAppsRevisionReplicas ListReplicas.
+ */
+public final class ContainerAppsRevisionReplicasListReplicasSamples {
+ /*
+ * x-ms-original-file: 2026-07-01/Replicas_List.json
+ */
+ /**
+ * Sample code: List Container App's replicas.
+ *
+ * @param manager Entry point to ContainerAppsApiManager.
+ */
+ public static void
+ listContainerAppSReplicas(com.azure.resourcemanager.appcontainers.ContainerAppsApiManager manager) {
+ manager.containerAppsRevisionReplicas()
.listReplicasWithResponse("workerapps-rg-xj", "myapp", "myapp--0wlqy09", com.azure.core.util.Context.NONE);
}
}
@@ -2032,8 +2531,7 @@ public final class ContainerAppsRevisionReplicasListReplicasSamples {
*/
public final class ContainerAppsRevisionsActivateRevisionSamples {
/*
- * x-ms-original-file:
- * specification/app/resource-manager/Microsoft.App/ContainerApps/stable/2025-07-01/examples/Revisions_Activate.json
+ * x-ms-original-file: 2026-07-01/Revisions_Activate.json
*/
/**
* Sample code: Activate Container App's revision.
@@ -2057,9 +2555,7 @@ public final class ContainerAppsRevisionsActivateRevisionSamples {
*/
public final class ContainerAppsRevisionsDeactivateRevisionSamples {
/*
- * x-ms-original-file:
- * specification/app/resource-manager/Microsoft.App/ContainerApps/stable/2025-07-01/examples/Revisions_Deactivate.
- * json
+ * x-ms-original-file: 2026-07-01/Revisions_Deactivate.json
*/
/**
* Sample code: Deactivate Container App's revision.
@@ -2083,8 +2579,7 @@ public final class ContainerAppsRevisionsDeactivateRevisionSamples {
*/
public final class ContainerAppsRevisionsGetRevisionSamples {
/*
- * x-ms-original-file:
- * specification/app/resource-manager/Microsoft.App/ContainerApps/stable/2025-07-01/examples/Revisions_Get.json
+ * x-ms-original-file: 2026-07-01/Revisions_Get.json
*/
/**
* Sample code: Get Container App's revision.
@@ -2108,8 +2603,7 @@ public final class ContainerAppsRevisionsGetRevisionSamples {
*/
public final class ContainerAppsRevisionsListRevisionsSamples {
/*
- * x-ms-original-file:
- * specification/app/resource-manager/Microsoft.App/ContainerApps/stable/2025-07-01/examples/Revisions_List.json
+ * x-ms-original-file: 2026-07-01/Revisions_List.json
*/
/**
* Sample code: List Container App's revisions.
@@ -2132,8 +2626,7 @@ public final class ContainerAppsRevisionsListRevisionsSamples {
*/
public final class ContainerAppsRevisionsRestartRevisionSamples {
/*
- * x-ms-original-file:
- * specification/app/resource-manager/Microsoft.App/ContainerApps/stable/2025-07-01/examples/Revisions_Restart.json
+ * x-ms-original-file: 2026-07-01/Revisions_Restart.json
*/
/**
* Sample code: Restart Container App's revision.
@@ -2155,7 +2648,6 @@ public final class ContainerAppsRevisionsRestartRevisionSamples {
import com.azure.resourcemanager.appcontainers.models.ContainerType;
import com.azure.resourcemanager.appcontainers.models.CustomContainerTemplate;
import com.azure.resourcemanager.appcontainers.models.DynamicPoolConfiguration;
-import com.azure.resourcemanager.appcontainers.models.IdentitySettingsLifeCycle;
import com.azure.resourcemanager.appcontainers.models.LifecycleConfiguration;
import com.azure.resourcemanager.appcontainers.models.LifecycleType;
import com.azure.resourcemanager.appcontainers.models.ManagedIdentitySetting;
@@ -2168,6 +2660,7 @@ import com.azure.resourcemanager.appcontainers.models.SessionContainerResources;
import com.azure.resourcemanager.appcontainers.models.SessionIngress;
import com.azure.resourcemanager.appcontainers.models.SessionNetworkConfiguration;
import com.azure.resourcemanager.appcontainers.models.SessionNetworkStatus;
+import com.azure.resourcemanager.appcontainers.models.SessionPoolIdentityLifeCycle;
import com.azure.resourcemanager.appcontainers.models.SessionRegistryCredentials;
import java.util.Arrays;
@@ -2176,8 +2669,31 @@ import java.util.Arrays;
*/
public final class ContainerAppsSessionPoolsCreateOrUpdateSamples {
/*
- * x-ms-original-file: specification/app/resource-manager/Microsoft.App/ContainerApps/stable/2025-07-01/examples/
- * SessionPools_LifecycleOnContainerExit_CreateOrUpdate.json
+ * x-ms-original-file: 2026-07-01/SessionPools_McpServer_CreateOrUpdate.json
+ */
+ /**
+ * Sample code: Create or Update Session Pool with MCP server.
+ *
+ * @param manager Entry point to ContainerAppsApiManager.
+ */
+ public static void createOrUpdateSessionPoolWithMCPServer(
+ com.azure.resourcemanager.appcontainers.ContainerAppsApiManager manager) {
+ manager.containerAppsSessionPools()
+ .define("testsessionpool")
+ .withRegion("East US")
+ .withExistingResourceGroup("rg")
+ .withContainerType(ContainerType.fromString("Shell"))
+ .withPoolManagementType(PoolManagementType.DYNAMIC)
+ .withScaleConfiguration(new ScaleConfiguration().withMaxConcurrentSessions(50))
+ .withDynamicPoolConfiguration(new DynamicPoolConfiguration().withLifecycleConfiguration(
+ new LifecycleConfiguration().withLifecycleType(LifecycleType.TIMED).withCooldownPeriodInSeconds(600)))
+ .withSessionNetworkConfiguration(
+ new SessionNetworkConfiguration().withStatus(SessionNetworkStatus.EGRESS_ENABLED))
+ .create();
+ }
+
+ /*
+ * x-ms-original-file: 2026-07-01/SessionPools_LifecycleOnContainerExit_CreateOrUpdate.json
*/
/**
* Sample code: Create or Update Session Pool with lifecycle OnContainerExit Timed.
@@ -2213,13 +2729,12 @@ public final class ContainerAppsSessionPoolsCreateOrUpdateSamples {
.withSessionNetworkConfiguration(
new SessionNetworkConfiguration().withStatus(SessionNetworkStatus.EGRESS_ENABLED))
.withManagedIdentitySettings(Arrays.asList(
- new ManagedIdentitySetting().withIdentity("system").withLifecycle(IdentitySettingsLifeCycle.MAIN)))
+ new ManagedIdentitySetting().withIdentity("system").withLifecycle(SessionPoolIdentityLifeCycle.MAIN)))
.create();
}
/*
- * x-ms-original-file: specification/app/resource-manager/Microsoft.App/ContainerApps/stable/2025-07-01/examples/
- * SessionPools_LifecycleTimed_CreateOrUpdate.json
+ * x-ms-original-file: 2026-07-01/SessionPools_LifecycleTimed_CreateOrUpdate.json
*/
/**
* Sample code: Create or Update Session Pool with lifecycle type Timed.
@@ -2240,8 +2755,7 @@ public final class ContainerAppsSessionPoolsCreateOrUpdateSamples {
.withScaleConfiguration(
new ScaleConfiguration().withMaxConcurrentSessions(500).withReadySessionInstances(100))
.withDynamicPoolConfiguration(new DynamicPoolConfiguration().withLifecycleConfiguration(
- new LifecycleConfiguration().withLifecycleType(LifecycleType.ON_CONTAINER_EXIT)
- .withMaxAlivePeriodInSeconds(86400)))
+ new LifecycleConfiguration().withLifecycleType(LifecycleType.TIMED).withCooldownPeriodInSeconds(600)))
.withCustomContainerTemplate(new CustomContainerTemplate()
.withRegistryCredentials(new SessionRegistryCredentials().withServer("test.azurecr.io")
.withIdentity(
@@ -2255,7 +2769,7 @@ public final class ContainerAppsSessionPoolsCreateOrUpdateSamples {
.withSessionNetworkConfiguration(
new SessionNetworkConfiguration().withStatus(SessionNetworkStatus.EGRESS_ENABLED))
.withManagedIdentitySettings(Arrays.asList(
- new ManagedIdentitySetting().withIdentity("system").withLifecycle(IdentitySettingsLifeCycle.MAIN)))
+ new ManagedIdentitySetting().withIdentity("system").withLifecycle(SessionPoolIdentityLifeCycle.MAIN)))
.create();
}
}
@@ -2269,9 +2783,7 @@ public final class ContainerAppsSessionPoolsCreateOrUpdateSamples {
*/
public final class ContainerAppsSessionPoolsDeleteSamples {
/*
- * x-ms-original-file:
- * specification/app/resource-manager/Microsoft.App/ContainerApps/stable/2025-07-01/examples/SessionPools_Delete.
- * json
+ * x-ms-original-file: 2026-07-01/SessionPools_Delete.json
*/
/**
* Sample code: Delete Session Pool.
@@ -2292,8 +2804,7 @@ public final class ContainerAppsSessionPoolsDeleteSamples {
*/
public final class ContainerAppsSessionPoolsGetByResourceGroupSamples {
/*
- * x-ms-original-file:
- * specification/app/resource-manager/Microsoft.App/ContainerApps/stable/2025-07-01/examples/SessionPools_Get.json
+ * x-ms-original-file: 2026-07-01/SessionPools_Get.json
*/
/**
* Sample code: Get Session Pool.
@@ -2304,6 +2815,20 @@ public final class ContainerAppsSessionPoolsGetByResourceGroupSamples {
manager.containerAppsSessionPools()
.getByResourceGroupWithResponse("rg", "testsessionpool", com.azure.core.util.Context.NONE);
}
+
+ /*
+ * x-ms-original-file: 2026-07-01/SessionPools_Get_InProgress.json
+ */
+ /**
+ * Sample code: Get Session Pool during update.
+ *
+ * @param manager Entry point to ContainerAppsApiManager.
+ */
+ public static void
+ getSessionPoolDuringUpdate(com.azure.resourcemanager.appcontainers.ContainerAppsApiManager manager) {
+ manager.containerAppsSessionPools()
+ .getByResourceGroupWithResponse("rg", "testsessionpool", com.azure.core.util.Context.NONE);
+ }
}
```
@@ -2315,8 +2840,7 @@ public final class ContainerAppsSessionPoolsGetByResourceGroupSamples {
*/
public final class ContainerAppsSessionPoolsListSamples {
/*
- * x-ms-original-file: specification/app/resource-manager/Microsoft.App/ContainerApps/stable/2025-07-01/examples/
- * SessionPools_ListBySubscription.json
+ * x-ms-original-file: 2026-07-01/SessionPools_ListBySubscription.json
*/
/**
* Sample code: List Session Pools by subscription.
@@ -2338,8 +2862,7 @@ public final class ContainerAppsSessionPoolsListSamples {
*/
public final class ContainerAppsSessionPoolsListByResourceGroupSamples {
/*
- * x-ms-original-file: specification/app/resource-manager/Microsoft.App/ContainerApps/stable/2025-07-01/examples/
- * SessionPools_ListByResourceGroup.json
+ * x-ms-original-file: 2026-07-01/SessionPools_ListByResourceGroup.json
*/
/**
* Sample code: List Session Pools by resource group.
@@ -2357,6 +2880,9 @@ public final class ContainerAppsSessionPoolsListByResourceGroupSamples {
```java
import com.azure.resourcemanager.appcontainers.models.CustomContainerTemplate;
+import com.azure.resourcemanager.appcontainers.models.DynamicPoolConfiguration;
+import com.azure.resourcemanager.appcontainers.models.LifecycleConfiguration;
+import com.azure.resourcemanager.appcontainers.models.LifecycleType;
import com.azure.resourcemanager.appcontainers.models.ScaleConfiguration;
import com.azure.resourcemanager.appcontainers.models.SessionContainer;
import com.azure.resourcemanager.appcontainers.models.SessionContainerResources;
@@ -2371,8 +2897,7 @@ import java.util.Arrays;
*/
public final class ContainerAppsSessionPoolsUpdateSamples {
/*
- * x-ms-original-file:
- * specification/app/resource-manager/Microsoft.App/ContainerApps/stable/2025-07-01/examples/SessionPools_Patch.json
+ * x-ms-original-file: 2026-07-01/SessionPools_Patch.json
*/
/**
* Sample code: Update Session Pool.
@@ -2386,6 +2911,8 @@ public final class ContainerAppsSessionPoolsUpdateSamples {
resource.update()
.withScaleConfiguration(
new ScaleConfiguration().withMaxConcurrentSessions(500).withReadySessionInstances(100))
+ .withDynamicPoolConfiguration(new DynamicPoolConfiguration().withLifecycleConfiguration(
+ new LifecycleConfiguration().withLifecycleType(LifecycleType.TIMED).withCooldownPeriodInSeconds(600)))
.withCustomContainerTemplate(new CustomContainerTemplate()
.withContainers(Arrays.asList(new SessionContainer().withImage("repo/testcontainer:v4")
.withName("testinitcontainer")
@@ -2412,8 +2939,7 @@ import com.azure.resourcemanager.appcontainers.models.RegistryInfo;
*/
public final class ContainerAppsSourceControlsCreateOrUpdateSamples {
/*
- * x-ms-original-file: specification/app/resource-manager/Microsoft.App/ContainerApps/stable/2025-07-01/examples/
- * SourceControls_CreateOrUpdate.json
+ * x-ms-original-file: 2026-07-01/SourceControls_CreateOrUpdate.json
*/
/**
* Sample code: Create or Update Container App SourceControl.
@@ -2451,9 +2977,7 @@ public final class ContainerAppsSourceControlsCreateOrUpdateSamples {
*/
public final class ContainerAppsSourceControlsDeleteSamples {
/*
- * x-ms-original-file:
- * specification/app/resource-manager/Microsoft.App/ContainerApps/stable/2025-07-01/examples/SourceControls_Delete.
- * json
+ * x-ms-original-file: 2026-07-01/SourceControls_Delete.json
*/
/**
* Sample code: Delete Container App SourceControl.
@@ -2476,8 +3000,7 @@ public final class ContainerAppsSourceControlsDeleteSamples {
*/
public final class ContainerAppsSourceControlsGetSamples {
/*
- * x-ms-original-file:
- * specification/app/resource-manager/Microsoft.App/ContainerApps/stable/2025-07-01/examples/SourceControls_Get.json
+ * x-ms-original-file: 2026-07-01/SourceControls_Get.json
*/
/**
* Sample code: Get Container App's SourceControl.
@@ -2500,8 +3023,7 @@ public final class ContainerAppsSourceControlsGetSamples {
*/
public final class ContainerAppsSourceControlsListByContainerAppSamples {
/*
- * x-ms-original-file: specification/app/resource-manager/Microsoft.App/ContainerApps/stable/2025-07-01/examples/
- * SourceControls_ListByContainer.json
+ * x-ms-original-file: 2026-07-01/SourceControls_ListByContainer.json
*/
/**
* Sample code: List App's Source Controls.
@@ -2515,6 +3037,183 @@ public final class ContainerAppsSourceControlsListByContainerAppSamples {
}
```
+### DaprComponentResiliencyPolicies_CreateOrUpdate
+
+```java
+import com.azure.resourcemanager.appcontainers.models.DaprComponentResiliencyPolicyCircuitBreakerPolicyConfiguration;
+import com.azure.resourcemanager.appcontainers.models.DaprComponentResiliencyPolicyConfiguration;
+import com.azure.resourcemanager.appcontainers.models.DaprComponentResiliencyPolicyHttpRetryBackOffConfiguration;
+import com.azure.resourcemanager.appcontainers.models.DaprComponentResiliencyPolicyHttpRetryPolicyConfiguration;
+import com.azure.resourcemanager.appcontainers.models.DaprComponentResiliencyPolicyTimeoutPolicyConfiguration;
+
+/**
+ * Samples for DaprComponentResiliencyPolicies CreateOrUpdate.
+ */
+public final class DaprComponentResiliencyPoliciesCreateOrUpdateSamples {
+ /*
+ * x-ms-original-file: 2026-07-01/DaprComponentResiliencyPolicy_CreateOrUpdate_OutboundOnly.json
+ */
+ /**
+ * Sample code: Create or update dapr component resiliency policy with outbound policy only.
+ *
+ * @param manager Entry point to ContainerAppsApiManager.
+ */
+ public static void createOrUpdateDaprComponentResiliencyPolicyWithOutboundPolicyOnly(
+ com.azure.resourcemanager.appcontainers.ContainerAppsApiManager manager) {
+ manager.daprComponentResiliencyPolicies()
+ .define("myresiliencypolicy")
+ .withExistingDaprComponent("examplerg", "myenvironment", "mydaprcomponent")
+ .withOutboundPolicy(new DaprComponentResiliencyPolicyConfiguration()
+ .withHttpRetryPolicy(new DaprComponentResiliencyPolicyHttpRetryPolicyConfiguration().withMaxRetries(5)
+ .withRetryBackOff(new DaprComponentResiliencyPolicyHttpRetryBackOffConfiguration()
+ .withInitialDelayInMilliseconds(100)
+ .withMaxIntervalInMilliseconds(30000)))
+ .withTimeoutPolicy(
+ new DaprComponentResiliencyPolicyTimeoutPolicyConfiguration().withResponseTimeoutInSeconds(12))
+ .withCircuitBreakerPolicy(
+ new DaprComponentResiliencyPolicyCircuitBreakerPolicyConfiguration().withConsecutiveErrors(3)
+ .withTimeoutInSeconds(20)
+ .withIntervalInSeconds(60)))
+ .create();
+ }
+
+ /*
+ * x-ms-original-file: 2026-07-01/DaprComponentResiliencyPolicy_CreateOrUpdate_AllOptions.json
+ */
+ /**
+ * Sample code: Create or update dapr component resiliency policy with all options.
+ *
+ * @param manager Entry point to ContainerAppsApiManager.
+ */
+ public static void createOrUpdateDaprComponentResiliencyPolicyWithAllOptions(
+ com.azure.resourcemanager.appcontainers.ContainerAppsApiManager manager) {
+ manager.daprComponentResiliencyPolicies()
+ .define("myresiliencypolicy")
+ .withExistingDaprComponent("examplerg", "myenvironment", "mydaprcomponent")
+ .withInboundPolicy(new DaprComponentResiliencyPolicyConfiguration()
+ .withHttpRetryPolicy(new DaprComponentResiliencyPolicyHttpRetryPolicyConfiguration().withMaxRetries(15)
+ .withRetryBackOff(new DaprComponentResiliencyPolicyHttpRetryBackOffConfiguration()
+ .withInitialDelayInMilliseconds(2000)
+ .withMaxIntervalInMilliseconds(5500)))
+ .withTimeoutPolicy(
+ new DaprComponentResiliencyPolicyTimeoutPolicyConfiguration().withResponseTimeoutInSeconds(30))
+ .withCircuitBreakerPolicy(
+ new DaprComponentResiliencyPolicyCircuitBreakerPolicyConfiguration().withConsecutiveErrors(5)
+ .withTimeoutInSeconds(10)
+ .withIntervalInSeconds(4)))
+ .withOutboundPolicy(new DaprComponentResiliencyPolicyConfiguration()
+ .withHttpRetryPolicy(new DaprComponentResiliencyPolicyHttpRetryPolicyConfiguration().withMaxRetries(5)
+ .withRetryBackOff(new DaprComponentResiliencyPolicyHttpRetryBackOffConfiguration()
+ .withInitialDelayInMilliseconds(100)
+ .withMaxIntervalInMilliseconds(30000)))
+ .withTimeoutPolicy(
+ new DaprComponentResiliencyPolicyTimeoutPolicyConfiguration().withResponseTimeoutInSeconds(12))
+ .withCircuitBreakerPolicy(
+ new DaprComponentResiliencyPolicyCircuitBreakerPolicyConfiguration().withConsecutiveErrors(3)
+ .withTimeoutInSeconds(20)
+ .withIntervalInSeconds(60)))
+ .create();
+ }
+
+ /*
+ * x-ms-original-file: 2026-07-01/DaprComponentResiliencyPolicy_CreateOrUpdate_SparseOptions.json
+ */
+ /**
+ * Sample code: Create or update dapr component resiliency policy with sparse options.
+ *
+ * @param manager Entry point to ContainerAppsApiManager.
+ */
+ public static void createOrUpdateDaprComponentResiliencyPolicyWithSparseOptions(
+ com.azure.resourcemanager.appcontainers.ContainerAppsApiManager manager) {
+ manager.daprComponentResiliencyPolicies()
+ .define("myresiliencypolicy")
+ .withExistingDaprComponent("examplerg", "myenvironment", "mydaprcomponent")
+ .withInboundPolicy(new DaprComponentResiliencyPolicyConfiguration()
+ .withHttpRetryPolicy(new DaprComponentResiliencyPolicyHttpRetryPolicyConfiguration().withMaxRetries(5)
+ .withRetryBackOff(new DaprComponentResiliencyPolicyHttpRetryBackOffConfiguration()
+ .withInitialDelayInMilliseconds(2000)
+ .withMaxIntervalInMilliseconds(5500)))
+ .withCircuitBreakerPolicy(
+ new DaprComponentResiliencyPolicyCircuitBreakerPolicyConfiguration().withConsecutiveErrors(3)
+ .withTimeoutInSeconds(20)))
+ .withOutboundPolicy(new DaprComponentResiliencyPolicyConfiguration().withTimeoutPolicy(
+ new DaprComponentResiliencyPolicyTimeoutPolicyConfiguration().withResponseTimeoutInSeconds(12)))
+ .create();
+ }
+}
+```
+
+### DaprComponentResiliencyPolicies_Delete
+
+```java
+/**
+ * Samples for DaprComponentResiliencyPolicies Delete.
+ */
+public final class DaprComponentResiliencyPoliciesDeleteSamples {
+ /*
+ * x-ms-original-file: 2026-07-01/DaprComponentResiliencyPolicies_Delete.json
+ */
+ /**
+ * Sample code: Delete dapr component resiliency policy.
+ *
+ * @param manager Entry point to ContainerAppsApiManager.
+ */
+ public static void
+ deleteDaprComponentResiliencyPolicy(com.azure.resourcemanager.appcontainers.ContainerAppsApiManager manager) {
+ manager.daprComponentResiliencyPolicies()
+ .deleteWithResponse("examplerg", "myenvironment", "mydaprcomponent", "myresiliencypolicy",
+ com.azure.core.util.Context.NONE);
+ }
+}
+```
+
+### DaprComponentResiliencyPolicies_Get
+
+```java
+/**
+ * Samples for DaprComponentResiliencyPolicies Get.
+ */
+public final class DaprComponentResiliencyPoliciesGetSamples {
+ /*
+ * x-ms-original-file: 2026-07-01/DaprComponentResiliencyPolicies_Get.json
+ */
+ /**
+ * Sample code: Get Dapr component resiliency policy.
+ *
+ * @param manager Entry point to ContainerAppsApiManager.
+ */
+ public static void
+ getDaprComponentResiliencyPolicy(com.azure.resourcemanager.appcontainers.ContainerAppsApiManager manager) {
+ manager.daprComponentResiliencyPolicies()
+ .getWithResponse("examplerg", "myenvironment", "mydaprcomponent", "myresiliencypolicy",
+ com.azure.core.util.Context.NONE);
+ }
+}
+```
+
+### DaprComponentResiliencyPolicies_List
+
+```java
+/**
+ * Samples for DaprComponentResiliencyPolicies List.
+ */
+public final class DaprComponentResiliencyPoliciesListSamples {
+ /*
+ * x-ms-original-file: 2026-07-01/DaprComponentResiliencyPolicies_List.json
+ */
+ /**
+ * Sample code: List Dapr component resiliency policies.
+ *
+ * @param manager Entry point to ContainerAppsApiManager.
+ */
+ public static void
+ listDaprComponentResiliencyPolicies(com.azure.resourcemanager.appcontainers.ContainerAppsApiManager manager) {
+ manager.daprComponentResiliencyPolicies()
+ .list("examplerg", "myenvironment", "mydaprcomponent", com.azure.core.util.Context.NONE);
+ }
+}
+```
+
### DaprComponents_CreateOrUpdate
```java
@@ -2528,8 +3227,7 @@ import java.util.Arrays;
*/
public final class DaprComponentsCreateOrUpdateSamples {
/*
- * x-ms-original-file: specification/app/resource-manager/Microsoft.App/ContainerApps/stable/2025-07-01/examples/
- * DaprComponents_CreateOrUpdate_Secrets.json
+ * x-ms-original-file: 2026-07-01/DaprComponents_CreateOrUpdate_Secrets.json
*/
/**
* Sample code: Create or update dapr component with secrets.
@@ -2554,8 +3252,7 @@ public final class DaprComponentsCreateOrUpdateSamples {
}
/*
- * x-ms-original-file: specification/app/resource-manager/Microsoft.App/ContainerApps/stable/2025-07-01/examples/
- * DaprComponents_CreateOrUpdate_SecretStoreComponent.json
+ * x-ms-original-file: 2026-07-01/DaprComponents_CreateOrUpdate_SecretStoreComponent.json
*/
/**
* Sample code: Create or update dapr component with secret store component.
@@ -2589,9 +3286,7 @@ public final class DaprComponentsCreateOrUpdateSamples {
*/
public final class DaprComponentsDeleteSamples {
/*
- * x-ms-original-file:
- * specification/app/resource-manager/Microsoft.App/ContainerApps/stable/2025-07-01/examples/DaprComponents_Delete.
- * json
+ * x-ms-original-file: 2026-07-01/DaprComponents_Delete.json
*/
/**
* Sample code: Delete dapr component.
@@ -2613,8 +3308,7 @@ public final class DaprComponentsDeleteSamples {
*/
public final class DaprComponentsGetSamples {
/*
- * x-ms-original-file: specification/app/resource-manager/Microsoft.App/ContainerApps/stable/2025-07-01/examples/
- * DaprComponents_Get_SecretStoreComponent.json
+ * x-ms-original-file: 2026-07-01/DaprComponents_Get_SecretStoreComponent.json
*/
/**
* Sample code: Get Dapr Component with secret store component.
@@ -2628,8 +3322,7 @@ public final class DaprComponentsGetSamples {
}
/*
- * x-ms-original-file: specification/app/resource-manager/Microsoft.App/ContainerApps/stable/2025-07-01/examples/
- * DaprComponents_Get_Secrets.json
+ * x-ms-original-file: 2026-07-01/DaprComponents_Get_Secrets.json
*/
/**
* Sample code: Get Dapr Component with secrets.
@@ -2652,9 +3345,7 @@ public final class DaprComponentsGetSamples {
*/
public final class DaprComponentsListSamples {
/*
- * x-ms-original-file:
- * specification/app/resource-manager/Microsoft.App/ContainerApps/stable/2025-07-01/examples/DaprComponents_List.
- * json
+ * x-ms-original-file: 2026-07-01/DaprComponents_List.json
*/
/**
* Sample code: List Dapr Components.
@@ -2675,8 +3366,7 @@ public final class DaprComponentsListSamples {
*/
public final class DaprComponentsListSecretsSamples {
/*
- * x-ms-original-file: specification/app/resource-manager/Microsoft.App/ContainerApps/stable/2025-07-01/examples/
- * DaprComponents_ListSecrets.json
+ * x-ms-original-file: 2026-07-01/DaprComponents_ListSecrets.json
*/
/**
* Sample code: List Container Apps Secrets.
@@ -2691,6 +3381,234 @@ public final class DaprComponentsListSecretsSamples {
}
```
+### DotNetComponents_CreateOrUpdate
+
+```java
+import com.azure.resourcemanager.appcontainers.models.DotNetComponentConfigurationProperty;
+import com.azure.resourcemanager.appcontainers.models.DotNetComponentServiceBind;
+import com.azure.resourcemanager.appcontainers.models.DotNetComponentType;
+import java.util.Arrays;
+
+/**
+ * Samples for DotNetComponents CreateOrUpdate.
+ */
+public final class DotNetComponentsCreateOrUpdateSamples {
+ /*
+ * x-ms-original-file: 2026-07-01/DotNetComponents_CreateOrUpdate.json
+ */
+ /**
+ * Sample code: Create or Update .NET Component.
+ *
+ * @param manager Entry point to ContainerAppsApiManager.
+ */
+ public static void
+ createOrUpdateNETComponent(com.azure.resourcemanager.appcontainers.ContainerAppsApiManager manager) {
+ manager.dotNetComponents()
+ .define("mydotnetcomponent")
+ .withExistingManagedEnvironment("examplerg", "myenvironment")
+ .withComponentType(DotNetComponentType.ASPIRE_DASHBOARD)
+ .withConfigurations(Arrays.asList(
+ new DotNetComponentConfigurationProperty().withPropertyName("dashboard-theme").withValue("dark")))
+ .create();
+ }
+
+ /*
+ * x-ms-original-file: 2026-07-01/DotNetComponents_CreateOrUpdate_ServiceBind.json
+ */
+ /**
+ * Sample code: Create or Update .NET Component with ServiceBinds.
+ *
+ * @param manager Entry point to ContainerAppsApiManager.
+ */
+ public static void createOrUpdateNETComponentWithServiceBinds(
+ com.azure.resourcemanager.appcontainers.ContainerAppsApiManager manager) {
+ manager.dotNetComponents()
+ .define("mydotnetcomponent")
+ .withExistingManagedEnvironment("examplerg", "myenvironment")
+ .withComponentType(DotNetComponentType.ASPIRE_DASHBOARD)
+ .withConfigurations(Arrays.asList(
+ new DotNetComponentConfigurationProperty().withPropertyName("dashboard-theme").withValue("dark")))
+ .withServiceBinds(Arrays.asList(new DotNetComponentServiceBind().withName("yellowcat")
+ .withServiceId(
+ "/subscriptions/8efdecc5-919e-44eb-b179-915dca89ebf9/resourceGroups/examplerg/providers/Microsoft.App/managedEnvironments/myenvironment/dotNetComponents/yellowcat")))
+ .create();
+ }
+}
+```
+
+### DotNetComponents_Delete
+
+```java
+/**
+ * Samples for DotNetComponents Delete.
+ */
+public final class DotNetComponentsDeleteSamples {
+ /*
+ * x-ms-original-file: 2026-07-01/DotNetComponents_Delete.json
+ */
+ /**
+ * Sample code: Delete .NET Component.
+ *
+ * @param manager Entry point to ContainerAppsApiManager.
+ */
+ public static void deleteNETComponent(com.azure.resourcemanager.appcontainers.ContainerAppsApiManager manager) {
+ manager.dotNetComponents()
+ .delete("examplerg", "myenvironment", "mydotnetcomponent", com.azure.core.util.Context.NONE);
+ }
+}
+```
+
+### DotNetComponents_Get
+
+```java
+/**
+ * Samples for DotNetComponents Get.
+ */
+public final class DotNetComponentsGetSamples {
+ /*
+ * x-ms-original-file: 2026-07-01/DotNetComponents_Get_ServiceBind.json
+ */
+ /**
+ * Sample code: Get .NET Component with ServiceBinds.
+ *
+ * @param manager Entry point to ContainerAppsApiManager.
+ */
+ public static void
+ getNETComponentWithServiceBinds(com.azure.resourcemanager.appcontainers.ContainerAppsApiManager manager) {
+ manager.dotNetComponents()
+ .getWithResponse("examplerg", "myenvironment", "mydotnetcomponent", com.azure.core.util.Context.NONE);
+ }
+
+ /*
+ * x-ms-original-file: 2026-07-01/DotNetComponents_Get.json
+ */
+ /**
+ * Sample code: Get .NET Component.
+ *
+ * @param manager Entry point to ContainerAppsApiManager.
+ */
+ public static void getNETComponent(com.azure.resourcemanager.appcontainers.ContainerAppsApiManager manager) {
+ manager.dotNetComponents()
+ .getWithResponse("examplerg", "myenvironment", "mydotnetcomponent", com.azure.core.util.Context.NONE);
+ }
+}
+```
+
+### DotNetComponents_List
+
+```java
+/**
+ * Samples for DotNetComponents List.
+ */
+public final class DotNetComponentsListSamples {
+ /*
+ * x-ms-original-file: 2026-07-01/DotNetComponents_List.json
+ */
+ /**
+ * Sample code: List .NET Components.
+ *
+ * @param manager Entry point to ContainerAppsApiManager.
+ */
+ public static void listNETComponents(com.azure.resourcemanager.appcontainers.ContainerAppsApiManager manager) {
+ manager.dotNetComponents().list("examplerg", "myenvironment", com.azure.core.util.Context.NONE);
+ }
+
+ /*
+ * x-ms-original-file: 2026-07-01/DotNetComponents_List_ServiceBind.json
+ */
+ /**
+ * Sample code: List .NET Components with ServiceBinds.
+ *
+ * @param manager Entry point to ContainerAppsApiManager.
+ */
+ public static void
+ listNETComponentsWithServiceBinds(com.azure.resourcemanager.appcontainers.ContainerAppsApiManager manager) {
+ manager.dotNetComponents().list("examplerg", "myenvironment", com.azure.core.util.Context.NONE);
+ }
+}
+```
+
+### DotNetComponents_Update
+
+```java
+import com.azure.resourcemanager.appcontainers.models.DotNetComponent;
+import com.azure.resourcemanager.appcontainers.models.DotNetComponentConfigurationProperty;
+import com.azure.resourcemanager.appcontainers.models.DotNetComponentServiceBind;
+import com.azure.resourcemanager.appcontainers.models.DotNetComponentType;
+import java.util.Arrays;
+
+/**
+ * Samples for DotNetComponents Update.
+ */
+public final class DotNetComponentsUpdateSamples {
+ /*
+ * x-ms-original-file: 2026-07-01/DotNetComponents_Patch_ServiceBind.json
+ */
+ /**
+ * Sample code: Patch .NET Component with ServiceBinds.
+ *
+ * @param manager Entry point to ContainerAppsApiManager.
+ */
+ public static void
+ patchNETComponentWithServiceBinds(com.azure.resourcemanager.appcontainers.ContainerAppsApiManager manager) {
+ DotNetComponent resource = manager.dotNetComponents()
+ .getWithResponse("examplerg", "myenvironment", "mydotnetcomponent", com.azure.core.util.Context.NONE)
+ .getValue();
+ resource.update()
+ .withComponentType(DotNetComponentType.ASPIRE_DASHBOARD)
+ .withConfigurations(Arrays.asList(
+ new DotNetComponentConfigurationProperty().withPropertyName("dashboard-theme").withValue("dark")))
+ .withServiceBinds(Arrays.asList(new DotNetComponentServiceBind().withName("yellowcat")
+ .withServiceId(
+ "/subscriptions/8efdecc5-919e-44eb-b179-915dca89ebf9/resourceGroups/examplerg/providers/Microsoft.App/managedEnvironments/myenvironment/dotNetComponents/yellowcat")))
+ .apply();
+ }
+
+ /*
+ * x-ms-original-file: 2026-07-01/DotNetComponents_Patch.json
+ */
+ /**
+ * Sample code: Patch .NET Component.
+ *
+ * @param manager Entry point to ContainerAppsApiManager.
+ */
+ public static void patchNETComponent(com.azure.resourcemanager.appcontainers.ContainerAppsApiManager manager) {
+ DotNetComponent resource = manager.dotNetComponents()
+ .getWithResponse("examplerg", "myenvironment", "mydotnetcomponent", com.azure.core.util.Context.NONE)
+ .getValue();
+ resource.update()
+ .withComponentType(DotNetComponentType.ASPIRE_DASHBOARD)
+ .withConfigurations(Arrays.asList(
+ new DotNetComponentConfigurationProperty().withPropertyName("dashboard-theme").withValue("dark")))
+ .apply();
+ }
+}
+```
+
+### FunctionsExtension_InvokeFunctionsHost
+
+```java
+/**
+ * Samples for FunctionsExtension InvokeFunctionsHost.
+ */
+public final class FunctionsExtensionInvokeFunctionsHostSamples {
+ /*
+ * x-ms-original-file: 2026-07-01/FunctionsExtension_Post.json
+ */
+ /**
+ * Sample code: Invoke Functions host using Functions Extension API.
+ *
+ * @param manager Entry point to ContainerAppsApiManager.
+ */
+ public static void invokeFunctionsHostUsingFunctionsExtensionAPI(
+ com.azure.resourcemanager.appcontainers.ContainerAppsApiManager manager) {
+ manager.functionsExtensions()
+ .invokeFunctionsHostWithResponse("rg", "testcontainerApp0", "testcontainerApp0-pjxhsye",
+ "testcontainerApp0", com.azure.core.util.Context.NONE);
+ }
+}
+```
+
### HttpRouteConfig_CreateOrUpdate
```java
@@ -2709,8 +3627,7 @@ import java.util.Arrays;
*/
public final class HttpRouteConfigCreateOrUpdateSamples {
/*
- * x-ms-original-file: specification/app/resource-manager/Microsoft.App/ContainerApps/stable/2025-07-01/examples/
- * HttpRouteConfig_CreateOrUpdate.json
+ * x-ms-original-file: 2026-07-01/HttpRouteConfig_CreateOrUpdate.json
*/
/**
* Sample code: Create or Update Http Route.
@@ -2728,8 +3645,7 @@ public final class HttpRouteConfigCreateOrUpdateSamples {
.withCertificateId(
"/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/examplerg/providers/Microsoft.App/managedEnvironments/testcontainerenv/certificates/certificate-1")))
.withRules(Arrays.asList(new HttpRouteRule()
- .withTargets(
- Arrays.asList(new HttpRouteTarget().withContainerApp("capp-1").withRevision("capp-1--0000001")))
+ .withTargets(Arrays.asList(new HttpRouteTarget().withContainerApp("capp-1").withRevision("rev-1")))
.withRoutes(Arrays
.asList(new HttpRoute().withMatch(new HttpRouteMatch().withPath("/v1").withCaseSensitive(true))
.withAction(new HttpRouteAction().withPrefixRewrite("/v1/api"))))
@@ -2738,8 +3654,7 @@ public final class HttpRouteConfigCreateOrUpdateSamples {
}
/*
- * x-ms-original-file: specification/app/resource-manager/Microsoft.App/ContainerApps/stable/2025-07-01/examples/
- * HttpRouteConfig_CreateOrUpdate_PathSepPrefix.json
+ * x-ms-original-file: 2026-07-01/HttpRouteConfig_CreateOrUpdate_PathSepPrefix.json
*/
/**
* Sample code: Create or Update Http Route Path Separated Prefix Rule.
@@ -2753,7 +3668,7 @@ public final class HttpRouteConfigCreateOrUpdateSamples {
.withExistingManagedEnvironment("examplerg", "testcontainerenv")
.withProperties(new HttpRouteConfigProperties().withCustomDomains(Arrays.asList(new CustomDomain()
.withName("example.com")
- .withBindingType(BindingType.SNI_ENABLED)
+ .withBindingType(BindingType.DISABLED)
.withCertificateId(
"/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/examplerg/providers/Microsoft.App/managedEnvironments/testcontainerenv/certificates/certificate-1")))
.withRules(Arrays.asList(new HttpRouteRule()
@@ -2766,8 +3681,7 @@ public final class HttpRouteConfigCreateOrUpdateSamples {
}
/*
- * x-ms-original-file: specification/app/resource-manager/Microsoft.App/ContainerApps/stable/2025-07-01/examples/
- * HttpRouteConfig_CreateOrUpdatePrefix.json
+ * x-ms-original-file: 2026-07-01/HttpRouteConfig_CreateOrUpdatePrefix.json
*/
/**
* Sample code: Create or Update Http Route Prefix Rule.
@@ -2781,7 +3695,7 @@ public final class HttpRouteConfigCreateOrUpdateSamples {
.withExistingManagedEnvironment("examplerg", "testcontainerenv")
.withProperties(new HttpRouteConfigProperties().withCustomDomains(Arrays.asList(new CustomDomain()
.withName("example.com")
- .withBindingType(BindingType.SNI_ENABLED)
+ .withBindingType(BindingType.DISABLED)
.withCertificateId(
"/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/examplerg/providers/Microsoft.App/managedEnvironments/testcontainerenv/certificates/certificate-1")))
.withRules(Arrays.asList(new HttpRouteRule()
@@ -2803,16 +3717,14 @@ public final class HttpRouteConfigCreateOrUpdateSamples {
*/
public final class HttpRouteConfigDeleteSamples {
/*
- * x-ms-original-file:
- * specification/app/resource-manager/Microsoft.App/ContainerApps/stable/2025-07-01/examples/HttpRouteConfig_Delete.
- * json
+ * x-ms-original-file: 2026-07-01/HttpRouteConfig_Delete.json
*/
/**
- * Sample code: Delete a Http Route Config.
+ * Sample code: Delete Certificate.
*
* @param manager Entry point to ContainerAppsApiManager.
*/
- public static void deleteAHttpRouteConfig(com.azure.resourcemanager.appcontainers.ContainerAppsApiManager manager) {
+ public static void deleteCertificate(com.azure.resourcemanager.appcontainers.ContainerAppsApiManager manager) {
manager.httpRouteConfigs()
.delete("examplerg", "testcontainerenv", "httproutefriendlyname", com.azure.core.util.Context.NONE);
}
@@ -2827,9 +3739,7 @@ public final class HttpRouteConfigDeleteSamples {
*/
public final class HttpRouteConfigGetSamples {
/*
- * x-ms-original-file:
- * specification/app/resource-manager/Microsoft.App/ContainerApps/stable/2025-07-01/examples/HttpRouteConfig_Get.
- * json
+ * x-ms-original-file: 2026-07-01/HttpRouteConfig_Get.json
*/
/**
* Sample code: Get HttpRoute.
@@ -2852,15 +3762,14 @@ public final class HttpRouteConfigGetSamples {
*/
public final class HttpRouteConfigListSamples {
/*
- * x-ms-original-file: specification/app/resource-manager/Microsoft.App/ContainerApps/stable/2025-07-01/examples/
- * HttpRouteConfig_ListByManagedEnvironment.json
+ * x-ms-original-file: 2026-07-01/HttpRouteConfig_ListByManagedEnvironment.json
*/
/**
- * Sample code: List Http Route Configs by Managed Environment.
+ * Sample code: List Managed Http Routes by Managed Environment.
*
* @param manager Entry point to ContainerAppsApiManager.
*/
- public static void listHttpRouteConfigsByManagedEnvironment(
+ public static void listManagedHttpRoutesByManagedEnvironment(
com.azure.resourcemanager.appcontainers.ContainerAppsApiManager manager) {
manager.httpRouteConfigs().list("examplerg", "testcontainerenv", com.azure.core.util.Context.NONE);
}
@@ -2886,16 +3795,14 @@ import java.util.Arrays;
*/
public final class HttpRouteConfigUpdateSamples {
/*
- * x-ms-original-file:
- * specification/app/resource-manager/Microsoft.App/ContainerApps/stable/2025-07-01/examples/HttpRouteConfig_Patch.
- * json
+ * x-ms-original-file: 2026-07-01/HttpRouteConfig_Patch.json
*/
/**
- * Sample code: Patch a Http Route Config.
+ * Sample code: Patch Managed Http Route.
*
* @param manager Entry point to ContainerAppsApiManager.
*/
- public static void patchAHttpRouteConfig(com.azure.resourcemanager.appcontainers.ContainerAppsApiManager manager) {
+ public static void patchManagedHttpRoute(com.azure.resourcemanager.appcontainers.ContainerAppsApiManager manager) {
HttpRouteConfig resource = manager.httpRouteConfigs()
.getWithResponse("examplerg", "testcontainerenv", "httproutefriendlyname", com.azure.core.util.Context.NONE)
.getValue();
@@ -2906,8 +3813,7 @@ public final class HttpRouteConfigUpdateSamples {
.withCertificateId(
"/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/examplerg/providers/Microsoft.App/managedEnvironments/testcontainerenv/certificates/certificate-1")))
.withRules(Arrays.asList(new HttpRouteRule()
- .withTargets(
- Arrays.asList(new HttpRouteTarget().withContainerApp("capp-1").withRevision("capp-1--0000001")))
+ .withTargets(Arrays.asList(new HttpRouteTarget().withContainerApp("capp-1").withRevision("rev-1")))
.withRoutes(Arrays
.asList(new HttpRoute().withMatch(new HttpRouteMatch().withPath("/v1").withCaseSensitive(true))
.withAction(new HttpRouteAction().withPrefixRewrite("/v1/api"))))
@@ -2931,8 +3837,7 @@ import java.util.Arrays;
*/
public final class JavaComponentsCreateOrUpdateSamples {
/*
- * x-ms-original-file: specification/app/resource-manager/Microsoft.App/ContainerApps/stable/2025-07-01/examples/
- * JavaComponents_CreateOrUpdate_ServiceBind.json
+ * x-ms-original-file: 2026-07-01/JavaComponents_CreateOrUpdate_ServiceBind.json
*/
/**
* Sample code: Create or Update Java Component with ServiceBinds.
@@ -2957,8 +3862,7 @@ public final class JavaComponentsCreateOrUpdateSamples {
}
/*
- * x-ms-original-file: specification/app/resource-manager/Microsoft.App/ContainerApps/stable/2025-07-01/examples/
- * JavaComponents_CreateOrUpdate.json
+ * x-ms-original-file: 2026-07-01/JavaComponents_CreateOrUpdate.json
*/
/**
* Sample code: Create or Update Java Component.
@@ -2989,9 +3893,7 @@ public final class JavaComponentsCreateOrUpdateSamples {
*/
public final class JavaComponentsDeleteSamples {
/*
- * x-ms-original-file:
- * specification/app/resource-manager/Microsoft.App/ContainerApps/stable/2025-07-01/examples/JavaComponents_Delete.
- * json
+ * x-ms-original-file: 2026-07-01/JavaComponents_Delete.json
*/
/**
* Sample code: Delete Java Component.
@@ -3013,8 +3915,7 @@ public final class JavaComponentsDeleteSamples {
*/
public final class JavaComponentsGetSamples {
/*
- * x-ms-original-file:
- * specification/app/resource-manager/Microsoft.App/ContainerApps/stable/2025-07-01/examples/JavaComponents_Get.json
+ * x-ms-original-file: 2026-07-01/JavaComponents_Get.json
*/
/**
* Sample code: Get Java Component.
@@ -3027,8 +3928,7 @@ public final class JavaComponentsGetSamples {
}
/*
- * x-ms-original-file: specification/app/resource-manager/Microsoft.App/ContainerApps/stable/2025-07-01/examples/
- * JavaComponents_Get_ServiceBind.json
+ * x-ms-original-file: 2026-07-01/JavaComponents_Get_ServiceBind.json
*/
/**
* Sample code: Get Java Component with ServiceBinds.
@@ -3051,9 +3951,7 @@ public final class JavaComponentsGetSamples {
*/
public final class JavaComponentsListSamples {
/*
- * x-ms-original-file:
- * specification/app/resource-manager/Microsoft.App/ContainerApps/stable/2025-07-01/examples/JavaComponents_List.
- * json
+ * x-ms-original-file: 2026-07-01/JavaComponents_List.json
*/
/**
* Sample code: List Java Components.
@@ -3065,8 +3963,7 @@ public final class JavaComponentsListSamples {
}
/*
- * x-ms-original-file: specification/app/resource-manager/Microsoft.App/ContainerApps/stable/2025-07-01/examples/
- * JavaComponents_List_ServiceBind.json
+ * x-ms-original-file: 2026-07-01/JavaComponents_List_ServiceBind.json
*/
/**
* Sample code: List Java Components with ServiceBinds.
@@ -3095,9 +3992,7 @@ import java.util.Arrays;
*/
public final class JavaComponentsUpdateSamples {
/*
- * x-ms-original-file:
- * specification/app/resource-manager/Microsoft.App/ContainerApps/stable/2025-07-01/examples/JavaComponents_Patch.
- * json
+ * x-ms-original-file: 2026-07-01/JavaComponents_Patch.json
*/
/**
* Sample code: Patch Java Component.
@@ -3119,8 +4014,7 @@ public final class JavaComponentsUpdateSamples {
}
/*
- * x-ms-original-file: specification/app/resource-manager/Microsoft.App/ContainerApps/stable/2025-07-01/examples/
- * JavaComponents_Patch_ServiceBind.json
+ * x-ms-original-file: 2026-07-01/JavaComponents_Patch_ServiceBind.json
*/
/**
* Sample code: Patch Java Component with ServiceBinds.
@@ -3168,11 +4062,9 @@ import com.azure.resourcemanager.appcontainers.models.JobScaleRule;
import com.azure.resourcemanager.appcontainers.models.JobTemplate;
import com.azure.resourcemanager.appcontainers.models.ManagedServiceIdentity;
import com.azure.resourcemanager.appcontainers.models.ManagedServiceIdentityType;
-import com.azure.resourcemanager.appcontainers.models.StorageType;
import com.azure.resourcemanager.appcontainers.models.TriggerType;
import com.azure.resourcemanager.appcontainers.models.Type;
import com.azure.resourcemanager.appcontainers.models.UserAssignedIdentity;
-import com.azure.resourcemanager.appcontainers.models.Volume;
import com.azure.resourcemanager.appcontainers.models.VolumeMount;
import java.io.IOException;
import java.util.Arrays;
@@ -3184,8 +4076,49 @@ import java.util.Map;
*/
public final class JobsCreateOrUpdateSamples {
/*
- * x-ms-original-file: specification/app/resource-manager/Microsoft.App/ContainerApps/stable/2025-07-01/examples/
- * Job_CreateorUpdate_EventTrigger.json
+ * x-ms-original-file: 2026-07-01/Job_CreateorUpdate_ConnectedEnvironment.json
+ */
+ /**
+ * Sample code: Create or Update Container Apps Job On A Connected Environment.
+ *
+ * @param manager Entry point to ContainerAppsApiManager.
+ */
+ public static void createOrUpdateContainerAppsJobOnAConnectedEnvironment(
+ com.azure.resourcemanager.appcontainers.ContainerAppsApiManager manager) {
+ manager.jobs()
+ .define("testcontainerAppsJob0")
+ .withRegion("East US")
+ .withExistingResourceGroup("rg")
+ .withEnvironmentId(
+ "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.App/connectedEnvironments/demokube")
+ .withConfiguration(new JobConfiguration().withTriggerType(TriggerType.MANUAL)
+ .withReplicaTimeout(10)
+ .withReplicaRetryLimit(10)
+ .withManualTriggerConfig(
+ new JobConfigurationManualTriggerConfig().withReplicaCompletionCount(1).withParallelism(4)))
+ .withTemplate(new JobTemplate()
+ .withInitContainers(Arrays.asList(new InitContainer().withImage("repo/testcontainerAppsJob0:v4")
+ .withName("testinitcontainerAppsJob0")
+ .withCommand(Arrays.asList("/bin/sh"))
+ .withArgs(Arrays.asList("-c", "while true; do echo hello; sleep 10;done"))
+ .withResources(new ContainerResources().withCpu(0.2D).withMemory("100Mi"))))
+ .withContainers(Arrays.asList(new Container().withImage("repo/testcontainerAppsJob0:v1")
+ .withName("testcontainerAppsJob0")
+ .withProbes(Arrays.asList(new ContainerAppProbe()
+ .withHttpGet(new ContainerAppProbeHttpGet()
+ .withHttpHeaders(
+ Arrays.asList(new ContainerAppProbeHttpGetHttpHeadersItem().withName("Custom-Header")
+ .withValue("Awesome")))
+ .withPath("/health")
+ .withPort(8080))
+ .withInitialDelaySeconds(5)
+ .withPeriodSeconds(3)
+ .withType(Type.LIVENESS))))))
+ .create();
+ }
+
+ /*
+ * x-ms-original-file: 2026-07-01/Job_CreateorUpdate_EventTrigger.json
*/
/**
* Sample code: Create or Update Container Apps Job With Event Driven Trigger.
@@ -3195,7 +4128,7 @@ public final class JobsCreateOrUpdateSamples {
public static void createOrUpdateContainerAppsJobWithEventDrivenTrigger(
com.azure.resourcemanager.appcontainers.ContainerAppsApiManager manager) throws IOException {
manager.jobs()
- .define("testcontainerappsjob0")
+ .define("testcontainerAppsJob0")
.withRegion("East US")
.withExistingResourceGroup("rg")
.withIdentity(new ManagedServiceIdentity().withType(ManagedServiceIdentityType.USER_ASSIGNED)
@@ -3219,19 +4152,18 @@ public final class JobsCreateOrUpdateSamples {
.withIdentity(
"/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myidentity"))))))
.withTemplate(new JobTemplate()
- .withInitContainers(Arrays.asList(new InitContainer().withImage("repo/testcontainerappsjob0:v4")
+ .withInitContainers(Arrays.asList(new InitContainer().withImage("repo/testcontainerAppsJob0:v4")
.withName("testinitcontainerAppsJob0")
.withCommand(Arrays.asList("/bin/sh"))
.withArgs(Arrays.asList("-c", "while true; do echo hello; sleep 10;done"))
- .withResources(new ContainerResources().withCpu(0.5D).withMemory("1Gi"))))
+ .withResources(new ContainerResources().withCpu(0.2D).withMemory("100Mi"))))
.withContainers(Arrays.asList(
- new Container().withImage("repo/testcontainerappsjob0:v1").withName("testcontainerappsjob0"))))
+ new Container().withImage("repo/testcontainerAppsJob0:v1").withName("testcontainerAppsJob0"))))
.create();
}
/*
- * x-ms-original-file:
- * specification/app/resource-manager/Microsoft.App/ContainerApps/stable/2025-07-01/examples/Job_CreateorUpdate.json
+ * x-ms-original-file: 2026-07-01/Job_CreateorUpdate.json
*/
/**
* Sample code: Create or Update Container Apps Job.
@@ -3241,7 +4173,7 @@ public final class JobsCreateOrUpdateSamples {
public static void
createOrUpdateContainerAppsJob(com.azure.resourcemanager.appcontainers.ContainerAppsApiManager manager) {
manager.jobs()
- .define("testcontainerappsjob0")
+ .define("testcontainerAppsJob0")
.withRegion("East US")
.withExistingResourceGroup("rg")
.withIdentity(new ManagedServiceIdentity()
@@ -3261,37 +4193,30 @@ public final class JobsCreateOrUpdateSamples {
.withLifecycle(IdentitySettingsLifeCycle.ALL),
new IdentitySettings().withIdentity("system").withLifecycle(IdentitySettingsLifeCycle.INIT))))
.withTemplate(new JobTemplate()
- .withInitContainers(Arrays.asList(new InitContainer().withImage("repo/testcontainerappsjob0:v4")
+ .withInitContainers(Arrays.asList(new InitContainer().withImage("repo/testcontainerAppsJob0:v4")
.withName("testinitcontainerAppsJob0")
.withCommand(Arrays.asList("/bin/sh"))
.withArgs(Arrays.asList("-c", "while true; do echo hello; sleep 10;done"))
- .withResources(new ContainerResources().withCpu(0.5D).withMemory("1Gi"))))
- .withContainers(Arrays.asList(new Container()
- .withImage("repo/testcontainerappsjob0:v1")
- .withName("testcontainerappsjob0")
- .withVolumeMounts(
- Arrays.asList(
- new VolumeMount().withVolumeName("azurefile")
- .withMountPath("/mnt/path1")
- .withSubPath("subPath1"),
- new VolumeMount()
- .withVolumeName("nfsazurefile")
- .withMountPath("/mnt/path2")
- .withSubPath("subPath2")))
- .withProbes(
- Arrays.asList(new ContainerAppProbe().withHttpGet(new ContainerAppProbeHttpGet()
+ .withResources(new ContainerResources().withCpu(0.2D).withMemory("100Mi"))))
+ .withContainers(Arrays.asList(new Container().withImage("repo/testcontainerAppsJob0:v1")
+ .withName("testcontainerAppsJob0")
+ .withVolumeMounts(Arrays.asList(
+ new VolumeMount().withVolumeName("azurefile")
+ .withMountPath("/mnt/path1")
+ .withSubPath("subPath1"),
+ new VolumeMount().withVolumeName("nfsazurefile")
+ .withMountPath("/mnt/path2")
+ .withSubPath("subPath2")))
+ .withProbes(Arrays.asList(new ContainerAppProbe()
+ .withHttpGet(new ContainerAppProbeHttpGet()
.withHttpHeaders(
Arrays.asList(new ContainerAppProbeHttpGetHttpHeadersItem().withName("Custom-Header")
.withValue("Awesome")))
.withPath("/health")
- .withPort(8080)).withInitialDelaySeconds(5).withPeriodSeconds(3).withType(Type.LIVENESS)))))
- .withVolumes(Arrays.asList(
- new Volume().withName("azurefile")
- .withStorageType(StorageType.AZURE_FILE)
- .withStorageName("storage"),
- new Volume().withName("nfsazurefile")
- .withStorageType(StorageType.NFS_AZURE_FILE)
- .withStorageName("nfsStorage"))))
+ .withPort(8080))
+ .withInitialDelaySeconds(5)
+ .withPeriodSeconds(3)
+ .withType(Type.LIVENESS))))))
.create();
}
@@ -3317,8 +4242,7 @@ public final class JobsCreateOrUpdateSamples {
*/
public final class JobsDeleteSamples {
/*
- * x-ms-original-file:
- * specification/app/resource-manager/Microsoft.App/ContainerApps/stable/2025-07-01/examples/Job_Delete.json
+ * x-ms-original-file: 2026-07-01/Job_Delete.json
*/
/**
* Sample code: Delete Container Apps Job.
@@ -3326,7 +4250,7 @@ public final class JobsDeleteSamples {
* @param manager Entry point to ContainerAppsApiManager.
*/
public static void deleteContainerAppsJob(com.azure.resourcemanager.appcontainers.ContainerAppsApiManager manager) {
- manager.jobs().delete("rg", "testworkercontainerappsjob0", com.azure.core.util.Context.NONE);
+ manager.jobs().delete("rg", "testWorkerContainerAppsJob0", com.azure.core.util.Context.NONE);
}
}
```
@@ -3339,8 +4263,7 @@ public final class JobsDeleteSamples {
*/
public final class JobsGetByResourceGroupSamples {
/*
- * x-ms-original-file:
- * specification/app/resource-manager/Microsoft.App/ContainerApps/stable/2025-07-01/examples/Job_Get.json
+ * x-ms-original-file: 2026-07-01/Job_Get.json
*/
/**
* Sample code: Get Container Apps Job.
@@ -3348,7 +4271,7 @@ public final class JobsGetByResourceGroupSamples {
* @param manager Entry point to ContainerAppsApiManager.
*/
public static void getContainerAppsJob(com.azure.resourcemanager.appcontainers.ContainerAppsApiManager manager) {
- manager.jobs().getByResourceGroupWithResponse("rg", "testcontainerappsjob0", com.azure.core.util.Context.NONE);
+ manager.jobs().getByResourceGroupWithResponse("rg", "testcontainerAppsJob0", com.azure.core.util.Context.NONE);
}
}
```
@@ -3361,8 +4284,7 @@ public final class JobsGetByResourceGroupSamples {
*/
public final class JobsGetDetectorSamples {
/*
- * x-ms-original-file:
- * specification/app/resource-manager/Microsoft.App/ContainerApps/stable/2025-07-01/examples/Job_GetDetector.json
+ * x-ms-original-file: 2026-07-01/Job_GetDetector.json
*/
/**
* Sample code: Get diagnostic data for a Container App Job.
@@ -3386,9 +4308,7 @@ public final class JobsGetDetectorSamples {
*/
public final class JobsListSamples {
/*
- * x-ms-original-file:
- * specification/app/resource-manager/Microsoft.App/ContainerApps/stable/2025-07-01/examples/Jobs_ListBySubscription
- * .json
+ * x-ms-original-file: 2026-07-01/Jobs_ListBySubscription.json
*/
/**
* Sample code: List Container Apps Jobs by subscription.
@@ -3410,8 +4330,7 @@ public final class JobsListSamples {
*/
public final class JobsListByResourceGroupSamples {
/*
- * x-ms-original-file: specification/app/resource-manager/Microsoft.App/ContainerApps/stable/2025-07-01/examples/
- * Jobs_ListByResourceGroup.json
+ * x-ms-original-file: 2026-07-01/Jobs_ListByResourceGroup.json
*/
/**
* Sample code: List Container Apps Jobs by resource group.
@@ -3433,8 +4352,7 @@ public final class JobsListByResourceGroupSamples {
*/
public final class JobsListDetectorsSamples {
/*
- * x-ms-original-file:
- * specification/app/resource-manager/Microsoft.App/ContainerApps/stable/2025-07-01/examples/Job_ListDetectors.json
+ * x-ms-original-file: 2026-07-01/Job_ListDetectors.json
*/
/**
* Sample code: Get the list of available diagnostic data for a Container App Job.
@@ -3456,8 +4374,7 @@ public final class JobsListDetectorsSamples {
*/
public final class JobsListSecretsSamples {
/*
- * x-ms-original-file:
- * specification/app/resource-manager/Microsoft.App/ContainerApps/stable/2025-07-01/examples/Job_ListSecrets.json
+ * x-ms-original-file: 2026-07-01/Job_ListSecrets.json
*/
/**
* Sample code: List Container Apps Job Secrets.
@@ -3466,7 +4383,7 @@ public final class JobsListSecretsSamples {
*/
public static void
listContainerAppsJobSecrets(com.azure.resourcemanager.appcontainers.ContainerAppsApiManager manager) {
- manager.jobs().listSecretsWithResponse("rg", "testcontainerappsjob0", com.azure.core.util.Context.NONE);
+ manager.jobs().listSecretsWithResponse("rg", "testcontainerAppsJob0", com.azure.core.util.Context.NONE);
}
}
```
@@ -3479,8 +4396,7 @@ public final class JobsListSecretsSamples {
*/
public final class JobsProxyGetSamples {
/*
- * x-ms-original-file:
- * specification/app/resource-manager/Microsoft.App/ContainerApps/stable/2025-07-01/examples/Job_ProxyGet.json
+ * x-ms-original-file: 2026-07-01/Job_ProxyGet.json
*/
/**
* Sample code: Get Container App Job by name.
@@ -3489,7 +4405,28 @@ public final class JobsProxyGetSamples {
*/
public static void
getContainerAppJobByName(com.azure.resourcemanager.appcontainers.ContainerAppsApiManager manager) {
- manager.jobs().proxyGetWithResponse("rg", "testcontainerappsjob0", "rootApi", com.azure.core.util.Context.NONE);
+ manager.jobs().proxyGetWithResponse("rg", "testcontainerAppsJob0", "rootApi", com.azure.core.util.Context.NONE);
+ }
+}
+```
+
+### Jobs_Resume
+
+```java
+/**
+ * Samples for Jobs Resume.
+ */
+public final class JobsResumeSamples {
+ /*
+ * x-ms-original-file: 2026-07-01/Jobs_Resume.json
+ */
+ /**
+ * Sample code: Resume Job.
+ *
+ * @param manager Entry point to ContainerAppsApiManager.
+ */
+ public static void resumeJob(com.azure.resourcemanager.appcontainers.ContainerAppsApiManager manager) {
+ manager.jobs().resume("rg", "testcontainerAppsJob0", com.azure.core.util.Context.NONE);
}
}
```
@@ -3507,8 +4444,7 @@ import java.util.Arrays;
*/
public final class JobsStartSamples {
/*
- * x-ms-original-file:
- * specification/app/resource-manager/Microsoft.App/ContainerApps/stable/2025-07-01/examples/Job_Start.json
+ * x-ms-original-file: 2026-07-01/Job_Start.json
*/
/**
* Sample code: Run a Container Apps Job.
@@ -3517,15 +4453,15 @@ public final class JobsStartSamples {
*/
public static void runAContainerAppsJob(com.azure.resourcemanager.appcontainers.ContainerAppsApiManager manager) {
manager.jobs()
- .start("rg", "testcontainerappsjob0", new JobExecutionTemplate()
- .withContainers(Arrays.asList(new JobExecutionContainer().withImage("repo/testcontainerappsjob0:v4")
- .withName("testcontainerappsjob0")
- .withResources(new ContainerResources().withCpu(0.5D).withMemory("1Gi"))))
- .withInitContainers(Arrays.asList(new JobExecutionContainer().withImage("repo/testcontainerappsjob0:v4")
+ .start("rg", "testcontainerAppsJob0", new JobExecutionTemplate()
+ .withContainers(Arrays.asList(new JobExecutionContainer().withImage("repo/testcontainerAppsJob0:v4")
+ .withName("testcontainerAppsJob0")
+ .withResources(new ContainerResources().withCpu(0.2D).withMemory("100Mi"))))
+ .withInitContainers(Arrays.asList(new JobExecutionContainer().withImage("repo/testcontainerAppsJob0:v4")
.withName("testinitcontainerAppsJob0")
.withCommand(Arrays.asList("/bin/sh"))
.withArgs(Arrays.asList("-c", "while true; do echo hello; sleep 10;done"))
- .withResources(new ContainerResources().withCpu(0.5D).withMemory("1Gi")))),
+ .withResources(new ContainerResources().withCpu(0.2D).withMemory("100Mi")))),
com.azure.core.util.Context.NONE);
}
}
@@ -3539,8 +4475,7 @@ public final class JobsStartSamples {
*/
public final class JobsStopExecutionSamples {
/*
- * x-ms-original-file:
- * specification/app/resource-manager/Microsoft.App/ContainerApps/stable/2025-07-01/examples/Job_Stop_Execution.json
+ * x-ms-original-file: 2026-07-01/Job_Stop_Execution.json
*/
/**
* Sample code: Terminate a Container Apps Job.
@@ -3549,7 +4484,7 @@ public final class JobsStopExecutionSamples {
*/
public static void
terminateAContainerAppsJob(com.azure.resourcemanager.appcontainers.ContainerAppsApiManager manager) {
- manager.jobs().stopExecution("rg", "testcontainerappsjob0", "jobExecution1", com.azure.core.util.Context.NONE);
+ manager.jobs().stopExecution("rg", "testcontainerAppsJob0", "jobExecution1", com.azure.core.util.Context.NONE);
}
}
```
@@ -3562,8 +4497,7 @@ public final class JobsStopExecutionSamples {
*/
public final class JobsStopMultipleExecutionsSamples {
/*
- * x-ms-original-file:
- * specification/app/resource-manager/Microsoft.App/ContainerApps/stable/2025-07-01/examples/Job_Stop_Multiple.json
+ * x-ms-original-file: 2026-07-01/Job_Stop_Multiple.json
*/
/**
* Sample code: Terminate Multiple Container Apps Job.
@@ -3572,7 +4506,28 @@ public final class JobsStopMultipleExecutionsSamples {
*/
public static void
terminateMultipleContainerAppsJob(com.azure.resourcemanager.appcontainers.ContainerAppsApiManager manager) {
- manager.jobs().stopMultipleExecutions("rg", "testcontainerappsjob0", com.azure.core.util.Context.NONE);
+ manager.jobs().stopMultipleExecutions("rg", "testcontainerAppsJob0", com.azure.core.util.Context.NONE);
+ }
+}
+```
+
+### Jobs_Suspend
+
+```java
+/**
+ * Samples for Jobs Suspend.
+ */
+public final class JobsSuspendSamples {
+ /*
+ * x-ms-original-file: 2026-07-01/Jobs_Suspend.json
+ */
+ /**
+ * Sample code: Suspend Job.
+ *
+ * @param manager Entry point to ContainerAppsApiManager.
+ */
+ public static void suspendJob(com.azure.resourcemanager.appcontainers.ContainerAppsApiManager manager) {
+ manager.jobs().suspend("rg", "testcontainerAppsJob0", com.azure.core.util.Context.NONE);
}
}
```
@@ -3600,8 +4555,7 @@ import java.util.Arrays;
*/
public final class JobsUpdateSamples {
/*
- * x-ms-original-file:
- * specification/app/resource-manager/Microsoft.App/ContainerApps/stable/2025-07-01/examples/Job_Patch.json
+ * x-ms-original-file: 2026-07-01/Job_Patch.json
*/
/**
* Sample code: Patch Container Apps Job.
@@ -3610,7 +4564,7 @@ public final class JobsUpdateSamples {
*/
public static void patchContainerAppsJob(com.azure.resourcemanager.appcontainers.ContainerAppsApiManager manager) {
Job resource = manager.jobs()
- .getByResourceGroupWithResponse("rg", "testcontainerappsjob0", com.azure.core.util.Context.NONE)
+ .getByResourceGroupWithResponse("rg", "testcontainerAppsJob0", com.azure.core.util.Context.NONE)
.getValue();
resource.update()
.withProperties(new JobPatchPropertiesProperties()
@@ -3620,13 +4574,13 @@ public final class JobsUpdateSamples {
.withManualTriggerConfig(
new JobConfigurationManualTriggerConfig().withReplicaCompletionCount(1).withParallelism(4)))
.withTemplate(new JobTemplate()
- .withInitContainers(Arrays.asList(new InitContainer().withImage("repo/testcontainerappsjob0:v4")
+ .withInitContainers(Arrays.asList(new InitContainer().withImage("repo/testcontainerAppsJob0:v4")
.withName("testinitcontainerAppsJob0")
.withCommand(Arrays.asList("/bin/sh"))
.withArgs(Arrays.asList("-c", "while true; do echo hello; sleep 10;done"))
- .withResources(new ContainerResources().withCpu(0.5D).withMemory("1Gi"))))
- .withContainers(Arrays.asList(new Container().withImage("repo/testcontainerappsjob0:v1")
- .withName("testcontainerappsjob0")
+ .withResources(new ContainerResources().withCpu(0.2D).withMemory("100Mi"))))
+ .withContainers(Arrays.asList(new Container().withImage("repo/testcontainerAppsJob0:v1")
+ .withName("testcontainerAppsJob0")
.withProbes(Arrays.asList(new ContainerAppProbe()
.withHttpGet(new ContainerAppProbeHttpGet()
.withHttpHeaders(Arrays
@@ -3650,8 +4604,7 @@ public final class JobsUpdateSamples {
*/
public final class JobsExecutionsListSamples {
/*
- * x-ms-original-file:
- * specification/app/resource-manager/Microsoft.App/ContainerApps/stable/2025-07-01/examples/Job_Executions_Get.json
+ * x-ms-original-file: 2026-07-01/Job_Executions_Get.json
*/
/**
* Sample code: Get a Container Apps Job Executions.
@@ -3660,7 +4613,7 @@ public final class JobsExecutionsListSamples {
*/
public static void
getAContainerAppsJobExecutions(com.azure.resourcemanager.appcontainers.ContainerAppsApiManager manager) {
- manager.jobsExecutions().list("rg", "testcontainerappsjob0", null, com.azure.core.util.Context.NONE);
+ manager.jobsExecutions().list("rg", "testcontainerAppsJob0", null, com.azure.core.util.Context.NONE);
}
}
```
@@ -3673,8 +4626,7 @@ public final class JobsExecutionsListSamples {
*/
public final class LogicAppsCreateOrUpdateSamples {
/*
- * x-ms-original-file:
- * specification/app/resource-manager/Microsoft.App/ContainerApps/stable/2025-07-01/examples/LogicApps_Create.json
+ * x-ms-original-file: 2026-07-01/LogicApps_Create.json
*/
/**
* Sample code: Create logic app extension.
@@ -3699,8 +4651,7 @@ public final class LogicAppsCreateOrUpdateSamples {
*/
public final class LogicAppsDeleteSamples {
/*
- * x-ms-original-file:
- * specification/app/resource-manager/Microsoft.App/ContainerApps/stable/2025-07-01/examples/LogicApps_Delete.json
+ * x-ms-original-file: 2026-07-01/LogicApps_Delete.json
*/
/**
* Sample code: Create logic app extension.
@@ -3724,8 +4675,7 @@ public final class LogicAppsDeleteSamples {
*/
public final class LogicAppsGetSamples {
/*
- * x-ms-original-file:
- * specification/app/resource-manager/Microsoft.App/ContainerApps/stable/2025-07-01/examples/LogicApps_Get.json
+ * x-ms-original-file: 2026-07-01/LogicApps_Get.json
*/
/**
* Sample code: Get logic app extension by name.
@@ -3748,9 +4698,7 @@ public final class LogicAppsGetSamples {
*/
public final class LogicAppsGetWorkflowSamples {
/*
- * x-ms-original-file:
- * specification/app/resource-manager/Microsoft.App/ContainerApps/stable/2025-07-01/examples/LogicApps_GetWorkflow.
- * json
+ * x-ms-original-file: 2026-07-01/LogicApps_GetWorkflow.json
*/
/**
* Sample code: GET a workflow.
@@ -3773,9 +4721,7 @@ public final class LogicAppsGetWorkflowSamples {
*/
public final class LogicAppsListWorkflowsSamples {
/*
- * x-ms-original-file:
- * specification/app/resource-manager/Microsoft.App/ContainerApps/stable/2025-07-01/examples/LogicApps_ListWorkflows
- * .json
+ * x-ms-original-file: 2026-07-01/LogicApps_ListWorkflows.json
*/
/**
* Sample code: List the workflows.
@@ -3797,8 +4743,7 @@ public final class LogicAppsListWorkflowsSamples {
*/
public final class LogicAppsListWorkflowsConnectionsSamples {
/*
- * x-ms-original-file: specification/app/resource-manager/Microsoft.App/ContainerApps/stable/2025-07-01/examples/
- * LogicApps_ListConnections.json
+ * x-ms-original-file: 2026-07-01/LogicApps_ListConnections.json
*/
/**
* Sample code: List the Workflows Configuration Connections.
@@ -3826,8 +4771,7 @@ import java.util.Arrays;
*/
public final class MaintenanceConfigurationsCreateOrUpdateSamples {
/*
- * x-ms-original-file: specification/app/resource-manager/Microsoft.App/ContainerApps/stable/2025-07-01/examples/
- * ManagedEnvironment_MaintenanceConfigurations_CreateOrUpdate.json
+ * x-ms-original-file: 2026-07-01/ManagedEnvironment_MaintenanceConfigurations_CreateOrUpdate.json
*/
/**
* Sample code: ManagedEnvironmentMaintenanceConfigurationsCreateOrUpdate.
@@ -3854,8 +4798,7 @@ public final class MaintenanceConfigurationsCreateOrUpdateSamples {
*/
public final class MaintenanceConfigurationsDeleteSamples {
/*
- * x-ms-original-file: specification/app/resource-manager/Microsoft.App/ContainerApps/stable/2025-07-01/examples/
- * ManagedEnvironment_MaintenanceConfigurations_Delete.json
+ * x-ms-original-file: 2026-07-01/ManagedEnvironment_MaintenanceConfigurations_Delete.json
*/
/**
* Sample code: ManagedEnvironmentMaintenanceConfigurationsDelete.
@@ -3878,8 +4821,7 @@ public final class MaintenanceConfigurationsDeleteSamples {
*/
public final class MaintenanceConfigurationsGetSamples {
/*
- * x-ms-original-file: specification/app/resource-manager/Microsoft.App/ContainerApps/stable/2025-07-01/examples/
- * ManagedEnvironment_MaintenanceConfigurations_Get.json
+ * x-ms-original-file: 2026-07-01/ManagedEnvironment_MaintenanceConfigurations_Get.json
*/
/**
* Sample code: ManagedEnvironmentMaintenanceConfigurationsGet.
@@ -3902,8 +4844,7 @@ public final class MaintenanceConfigurationsGetSamples {
*/
public final class MaintenanceConfigurationsListSamples {
/*
- * x-ms-original-file: specification/app/resource-manager/Microsoft.App/ContainerApps/stable/2025-07-01/examples/
- * ManagedEnvironment_MaintenanceConfigurations_List.json
+ * x-ms-original-file: 2026-07-01/ManagedEnvironment_MaintenanceConfigurations_List.json
*/
/**
* Sample code: ManagedEnvironmentMaintenanceConfigurationsList.
@@ -3928,8 +4869,7 @@ import com.azure.resourcemanager.appcontainers.models.ManagedCertificateProperti
*/
public final class ManagedCertificatesCreateOrUpdateSamples {
/*
- * x-ms-original-file: specification/app/resource-manager/Microsoft.App/ContainerApps/stable/2025-07-01/examples/
- * ManagedCertificate_CreateOrUpdate.json
+ * x-ms-original-file: 2026-07-01/ManagedCertificate_CreateOrUpdate.json
*/
/**
* Sample code: Create or Update Certificate.
@@ -3957,8 +4897,7 @@ public final class ManagedCertificatesCreateOrUpdateSamples {
*/
public final class ManagedCertificatesDeleteSamples {
/*
- * x-ms-original-file: specification/app/resource-manager/Microsoft.App/ContainerApps/stable/2025-07-01/examples/
- * ManagedCertificate_Delete.json
+ * x-ms-original-file: 2026-07-01/ManagedCertificate_Delete.json
*/
/**
* Sample code: Delete Certificate.
@@ -3981,9 +4920,7 @@ public final class ManagedCertificatesDeleteSamples {
*/
public final class ManagedCertificatesGetSamples {
/*
- * x-ms-original-file:
- * specification/app/resource-manager/Microsoft.App/ContainerApps/stable/2025-07-01/examples/ManagedCertificate_Get.
- * json
+ * x-ms-original-file: 2026-07-01/ManagedCertificate_Get.json
*/
/**
* Sample code: Get Certificate.
@@ -4006,8 +4943,7 @@ public final class ManagedCertificatesGetSamples {
*/
public final class ManagedCertificatesListSamples {
/*
- * x-ms-original-file: specification/app/resource-manager/Microsoft.App/ContainerApps/stable/2025-07-01/examples/
- * ManagedCertificates_ListByManagedEnvironment.json
+ * x-ms-original-file: 2026-07-01/ManagedCertificates_ListByManagedEnvironment.json
*/
/**
* Sample code: List Managed Certificates by Managed Environment.
@@ -4033,8 +4969,7 @@ import java.util.Map;
*/
public final class ManagedCertificatesUpdateSamples {
/*
- * x-ms-original-file: specification/app/resource-manager/Microsoft.App/ContainerApps/stable/2025-07-01/examples/
- * ManagedCertificates_Patch.json
+ * x-ms-original-file: 2026-07-01/ManagedCertificates_Patch.json
*/
/**
* Sample code: Patch Managed Certificate.
@@ -4072,8 +5007,7 @@ public final class ManagedCertificatesUpdateSamples {
*/
public final class ManagedEnvironmentDiagnosticsGetDetectorSamples {
/*
- * x-ms-original-file: specification/app/resource-manager/Microsoft.App/ContainerApps/stable/2025-07-01/examples/
- * ManagedEnvironmentDiagnostics_Get.json
+ * x-ms-original-file: 2026-07-01/ManagedEnvironmentDiagnostics_Get.json
*/
/**
* Sample code: Get diagnostic data for a managed environments.
@@ -4097,8 +5031,7 @@ public final class ManagedEnvironmentDiagnosticsGetDetectorSamples {
*/
public final class ManagedEnvironmentDiagnosticsListDetectorsSamples {
/*
- * x-ms-original-file: specification/app/resource-manager/Microsoft.App/ContainerApps/stable/2025-07-01/examples/
- * ManagedEnvironmentDiagnostics_List.json
+ * x-ms-original-file: 2026-07-01/ManagedEnvironmentDiagnostics_List.json
*/
/**
* Sample code: Get the list of available diagnostic data for a managed environments.
@@ -4125,8 +5058,7 @@ import com.azure.resourcemanager.appcontainers.models.PrivateLinkServiceConnecti
*/
public final class ManagedEnvironmentPrivateEndpointConnectionsCreateOrUpdateSamples {
/*
- * x-ms-original-file: specification/app/resource-manager/Microsoft.App/ContainerApps/stable/2025-07-01/examples/
- * ManagedEnvironmentPrivateEndpointConnections_CreateOrUpdate.json
+ * x-ms-original-file: 2026-07-01/ManagedEnvironmentPrivateEndpointConnections_CreateOrUpdate.json
*/
/**
* Sample code: Update a Private Endpoint Connection by Managed Environment.
@@ -4155,8 +5087,7 @@ public final class ManagedEnvironmentPrivateEndpointConnectionsCreateOrUpdateSam
*/
public final class ManagedEnvironmentPrivateEndpointConnectionsDeleteSamples {
/*
- * x-ms-original-file: specification/app/resource-manager/Microsoft.App/ContainerApps/stable/2025-07-01/examples/
- * ManagedEnvironmentPrivateEndpointConnections_Delete.json
+ * x-ms-original-file: 2026-07-01/ManagedEnvironmentPrivateEndpointConnections_Delete.json
*/
/**
* Sample code: Delete a Private Endpoint Connection by Managed Environment.
@@ -4179,8 +5110,7 @@ public final class ManagedEnvironmentPrivateEndpointConnectionsDeleteSamples {
*/
public final class ManagedEnvironmentPrivateEndpointConnectionsGetSamples {
/*
- * x-ms-original-file: specification/app/resource-manager/Microsoft.App/ContainerApps/stable/2025-07-01/examples/
- * ManagedEnvironmentPrivateEndpointConnections_Get.json
+ * x-ms-original-file: 2026-07-01/ManagedEnvironmentPrivateEndpointConnections_Get.json
*/
/**
* Sample code: Get a Private Endpoint Connection by Managed Environment.
@@ -4203,8 +5133,7 @@ public final class ManagedEnvironmentPrivateEndpointConnectionsGetSamples {
*/
public final class ManagedEnvironmentPrivateEndpointConnectionsListSamples {
/*
- * x-ms-original-file: specification/app/resource-manager/Microsoft.App/ContainerApps/stable/2025-07-01/examples/
- * ManagedEnvironmentPrivateEndpointConnections_List.json
+ * x-ms-original-file: 2026-07-01/ManagedEnvironmentPrivateEndpointConnections_List.json
*/
/**
* Sample code: List Private Endpoint Connections by Managed Environment.
@@ -4219,6 +5148,29 @@ public final class ManagedEnvironmentPrivateEndpointConnectionsListSamples {
}
```
+### ManagedEnvironmentPrivateLinkResources_Get
+
+```java
+/**
+ * Samples for ManagedEnvironmentPrivateLinkResources Get.
+ */
+public final class ManagedEnvironmentPrivateLinkResourcesGetSamples {
+ /*
+ * x-ms-original-file: 2026-07-01/ManagedEnvironmentPrivateLinkResources_Get.json
+ */
+ /**
+ * Sample code: Get a Private Link Resource by Managed Environment.
+ *
+ * @param manager Entry point to ContainerAppsApiManager.
+ */
+ public static void getAPrivateLinkResourceByManagedEnvironment(
+ com.azure.resourcemanager.appcontainers.ContainerAppsApiManager manager) {
+ manager.managedEnvironmentPrivateLinkResources()
+ .getWithResponse("examplerg", "managedEnv", "managedEnvironments", com.azure.core.util.Context.NONE);
+ }
+}
+```
+
### ManagedEnvironmentPrivateLinkResources_List
```java
@@ -4227,8 +5179,7 @@ public final class ManagedEnvironmentPrivateEndpointConnectionsListSamples {
*/
public final class ManagedEnvironmentPrivateLinkResourcesListSamples {
/*
- * x-ms-original-file: specification/app/resource-manager/Microsoft.App/ContainerApps/stable/2025-07-01/examples/
- * ManagedEnvironmentPrivateLinkResources_List.json
+ * x-ms-original-file: 2026-07-01/ManagedEnvironmentPrivateLinkResources_List.json
*/
/**
* Sample code: List Private Link Resources by Managed Environment.
@@ -4251,8 +5202,7 @@ public final class ManagedEnvironmentPrivateLinkResourcesListSamples {
*/
public final class ManagedEnvironmentUsagesListSamples {
/*
- * x-ms-original-file: specification/app/resource-manager/Microsoft.App/ContainerApps/stable/2025-07-01/examples/
- * ManagedEnvironmentUsages_List.json
+ * x-ms-original-file: 2026-07-01/ManagedEnvironmentUsages_List.json
*/
/**
* Sample code: List managed environment usages.
@@ -4266,19 +5216,69 @@ public final class ManagedEnvironmentUsagesListSamples {
}
```
+### ManagedEnvironments_CheckMigrationEligibility
+
+```java
+import com.azure.resourcemanager.appcontainers.models.CheckMigrationEligibilityRequest;
+
+/**
+ * Samples for ManagedEnvironments CheckMigrationEligibility.
+ */
+public final class ManagedEnvironmentsCheckMigrationEligibilitySamples {
+ /*
+ * x-ms-original-file: 2026-07-01/ManagedEnvironments_CheckMigrationEligibility.json
+ */
+ /**
+ * Sample code: Check migration eligibility for an eligible managed environment.
+ *
+ * @param manager Entry point to ContainerAppsApiManager.
+ */
+ public static void checkMigrationEligibilityForAnEligibleManagedEnvironment(
+ com.azure.resourcemanager.appcontainers.ContainerAppsApiManager manager) {
+ manager.managedEnvironments()
+ .checkMigrationEligibilityWithResponse("examplerg", "my-environment",
+ new CheckMigrationEligibilityRequest().withTargetMode("Express"), com.azure.core.util.Context.NONE);
+ }
+
+ /*
+ * x-ms-original-file: 2026-07-01/ManagedEnvironments_CheckMigrationEligibility_Ineligible.json
+ */
+ /**
+ * Sample code: Check migration eligibility for an ineligible managed environment.
+ *
+ * @param manager Entry point to ContainerAppsApiManager.
+ */
+ public static void checkMigrationEligibilityForAnIneligibleManagedEnvironment(
+ com.azure.resourcemanager.appcontainers.ContainerAppsApiManager manager) {
+ manager.managedEnvironments()
+ .checkMigrationEligibilityWithResponse("examplerg", "my-environment",
+ new CheckMigrationEligibilityRequest().withTargetMode("Express"), com.azure.core.util.Context.NONE);
+ }
+}
+```
+
### ManagedEnvironments_CreateOrUpdate
```java
+import com.azure.resourcemanager.appcontainers.models.AppInsightsConfiguration;
import com.azure.resourcemanager.appcontainers.models.AppLogsConfiguration;
import com.azure.resourcemanager.appcontainers.models.CustomDomainConfiguration;
+import com.azure.resourcemanager.appcontainers.models.DataDogConfiguration;
+import com.azure.resourcemanager.appcontainers.models.DestinationsConfiguration;
+import com.azure.resourcemanager.appcontainers.models.Header;
import com.azure.resourcemanager.appcontainers.models.IngressConfiguration;
import com.azure.resourcemanager.appcontainers.models.LogAnalyticsConfiguration;
+import com.azure.resourcemanager.appcontainers.models.LogsConfiguration;
import com.azure.resourcemanager.appcontainers.models.ManagedEnvironmentPropertiesPeerAuthentication;
import com.azure.resourcemanager.appcontainers.models.ManagedEnvironmentPropertiesPeerTrafficConfiguration;
import com.azure.resourcemanager.appcontainers.models.ManagedEnvironmentPropertiesPeerTrafficConfigurationEncryption;
import com.azure.resourcemanager.appcontainers.models.ManagedServiceIdentity;
import com.azure.resourcemanager.appcontainers.models.ManagedServiceIdentityType;
+import com.azure.resourcemanager.appcontainers.models.MetricsConfiguration;
import com.azure.resourcemanager.appcontainers.models.Mtls;
+import com.azure.resourcemanager.appcontainers.models.OpenTelemetryConfiguration;
+import com.azure.resourcemanager.appcontainers.models.OtlpConfiguration;
+import com.azure.resourcemanager.appcontainers.models.TracesConfiguration;
import com.azure.resourcemanager.appcontainers.models.UserAssignedIdentity;
import com.azure.resourcemanager.appcontainers.models.VnetConfiguration;
import com.azure.resourcemanager.appcontainers.models.WorkloadProfile;
@@ -4291,8 +5291,7 @@ import java.util.Map;
*/
public final class ManagedEnvironmentsCreateOrUpdateSamples {
/*
- * x-ms-original-file: specification/app/resource-manager/Microsoft.App/ContainerApps/stable/2025-07-01/examples/
- * ManagedEnvironments_CustomInfrastructureResourceGroup_Create.json
+ * x-ms-original-file: 2026-07-01/ManagedEnvironments_CustomInfrastructureResourceGroup_Create.json
*/
/**
* Sample code: Create environment with custom infrastructureResourceGroup.
@@ -4334,8 +5333,7 @@ public final class ManagedEnvironmentsCreateOrUpdateSamples {
}
/*
- * x-ms-original-file: specification/app/resource-manager/Microsoft.App/ContainerApps/stable/2025-07-01/examples/
- * ManagedEnvironments_CreateOrUpdate.json
+ * x-ms-original-file: 2026-07-01/ManagedEnvironments_CreateOrUpdate.json
*/
/**
* Sample code: Create environments.
@@ -4358,6 +5356,24 @@ public final class ManagedEnvironmentsCreateOrUpdateSamples {
"/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/RGName/providers/Microsoft.Network/virtualNetworks/VNetName/subnets/subnetName1"))
.withAppLogsConfiguration(new AppLogsConfiguration().withLogAnalyticsConfiguration(
new LogAnalyticsConfiguration().withCustomerId("string").withSharedKey("fakeTokenPlaceholder")))
+ .withAppInsightsConfiguration(new AppInsightsConfiguration().withConnectionString(
+ "InstrumentationKey=00000000-0000-0000-0000-000000000000;IngestionEndpoint=https://eastus-8.in.applicationinsights.azure.com/;LiveEndpoint=https://eastus.livediagnostics.monitor.azure.com/"))
+ .withOpenTelemetryConfiguration(
+ new OpenTelemetryConfiguration()
+ .withDestinationsConfiguration(
+ new DestinationsConfiguration()
+ .withDataDogConfiguration(
+ new DataDogConfiguration().withSite("string").withKey("fakeTokenPlaceholder"))
+ .withOtlpConfigurations(Arrays.asList(new OtlpConfiguration().withName("dashboard")
+ .withEndpoint("dashboard.k8s.region.azurecontainerapps.io:80")
+ .withInsecure(true)
+ .withHeaders(Arrays
+ .asList(new Header().withKey("fakeTokenPlaceholder").withValue("xxxxxxxxxxx"))))))
+ .withTracesConfiguration(
+ new TracesConfiguration().withIncludeDapr(true).withDestinations(Arrays.asList("appInsights")))
+ .withLogsConfiguration(new LogsConfiguration().withDestinations(Arrays.asList("appInsights")))
+ .withMetricsConfiguration(
+ new MetricsConfiguration().withIncludeKeda(true).withDestinations(Arrays.asList("dataDog"))))
.withZoneRedundant(true)
.withCustomDomainConfiguration(new CustomDomainConfiguration().withDnsSuffix("www.my-name.com")
.withCertificateValue("Y2VydA==".getBytes())
@@ -4409,8 +5425,7 @@ public final class ManagedEnvironmentsCreateOrUpdateSamples {
*/
public final class ManagedEnvironmentsDeleteSamples {
/*
- * x-ms-original-file: specification/app/resource-manager/Microsoft.App/ContainerApps/stable/2025-07-01/examples/
- * ManagedEnvironments_Delete.json
+ * x-ms-original-file: 2026-07-01/ManagedEnvironments_Delete.json
*/
/**
* Sample code: Delete environment by name.
@@ -4432,8 +5447,7 @@ public final class ManagedEnvironmentsDeleteSamples {
*/
public final class ManagedEnvironmentsGetAuthTokenSamples {
/*
- * x-ms-original-file: specification/app/resource-manager/Microsoft.App/ContainerApps/stable/2025-07-01/examples/
- * ManagedEnvironments_GetAuthToken.json
+ * x-ms-original-file: 2026-07-01/ManagedEnvironments_GetAuthToken.json
*/
/**
* Sample code: Get Managed Environment Auth Token.
@@ -4455,9 +5469,7 @@ public final class ManagedEnvironmentsGetAuthTokenSamples {
*/
public final class ManagedEnvironmentsGetByResourceGroupSamples {
/*
- * x-ms-original-file:
- * specification/app/resource-manager/Microsoft.App/ContainerApps/stable/2025-07-01/examples/ManagedEnvironments_Get
- * .json
+ * x-ms-original-file: 2026-07-01/ManagedEnvironments_Get.json
*/
/**
* Sample code: Get environments by name.
@@ -4479,8 +5491,7 @@ public final class ManagedEnvironmentsGetByResourceGroupSamples {
*/
public final class ManagedEnvironmentsListSamples {
/*
- * x-ms-original-file: specification/app/resource-manager/Microsoft.App/ContainerApps/stable/2025-07-01/examples/
- * ManagedEnvironments_ListBySubscription.json
+ * x-ms-original-file: 2026-07-01/ManagedEnvironments_ListBySubscription.json
*/
/**
* Sample code: List environments by subscription.
@@ -4502,8 +5513,7 @@ public final class ManagedEnvironmentsListSamples {
*/
public final class ManagedEnvironmentsListByResourceGroupSamples {
/*
- * x-ms-original-file: specification/app/resource-manager/Microsoft.App/ContainerApps/stable/2025-07-01/examples/
- * ManagedEnvironments_ListByResourceGroup.json
+ * x-ms-original-file: 2026-07-01/ManagedEnvironments_ListByResourceGroup.json
*/
/**
* Sample code: List environments by resource group.
@@ -4525,8 +5535,7 @@ public final class ManagedEnvironmentsListByResourceGroupSamples {
*/
public final class ManagedEnvironmentsListWorkloadProfileStatesSamples {
/*
- * x-ms-original-file: specification/app/resource-manager/Microsoft.App/ContainerApps/stable/2025-07-01/examples/
- * ManagedEnvironments_ListWorkloadProfileStates.json
+ * x-ms-original-file: 2026-07-01/ManagedEnvironments_ListWorkloadProfileStates.json
*/
/**
* Sample code: List environments by subscription.
@@ -4553,8 +5562,7 @@ import java.util.Map;
*/
public final class ManagedEnvironmentsUpdateSamples {
/*
- * x-ms-original-file: specification/app/resource-manager/Microsoft.App/ContainerApps/stable/2025-07-01/examples/
- * ManagedEnvironments_Patch.json
+ * x-ms-original-file: 2026-07-01/ManagedEnvironments_Patch.json
*/
/**
* Sample code: Patch Managed Environment.
@@ -4591,9 +5599,7 @@ public final class ManagedEnvironmentsUpdateSamples {
*/
public final class ManagedEnvironmentsDiagnosticsGetRootSamples {
/*
- * x-ms-original-file:
- * specification/app/resource-manager/Microsoft.App/ContainerApps/stable/2025-07-01/examples/ManagedEnvironments_Get
- * .json
+ * x-ms-original-file: 2026-07-01/ManagedEnvironments_Get1.json
*/
/**
* Sample code: Get environments by name.
@@ -4620,8 +5626,7 @@ import com.azure.resourcemanager.appcontainers.models.NfsAzureFileProperties;
*/
public final class ManagedEnvironmentsStoragesCreateOrUpdateSamples {
/*
- * x-ms-original-file: specification/app/resource-manager/Microsoft.App/ContainerApps/stable/2025-07-01/examples/
- * ManagedEnvironmentsStorages_CreateOrUpdate_NfsAzureFile.json
+ * x-ms-original-file: 2026-07-01/ManagedEnvironmentsStorages_CreateOrUpdate_NfsAzureFile.json
*/
/**
* Sample code: Create or update environments storage for NFS Azure file.
@@ -4641,8 +5646,7 @@ public final class ManagedEnvironmentsStoragesCreateOrUpdateSamples {
}
/*
- * x-ms-original-file: specification/app/resource-manager/Microsoft.App/ContainerApps/stable/2025-07-01/examples/
- * ManagedEnvironmentsStorages_CreateOrUpdate.json
+ * x-ms-original-file: 2026-07-01/ManagedEnvironmentsStorages_CreateOrUpdate.json
*/
/**
* Sample code: Create or update environments storage.
@@ -4672,8 +5676,7 @@ public final class ManagedEnvironmentsStoragesCreateOrUpdateSamples {
*/
public final class ManagedEnvironmentsStoragesDeleteSamples {
/*
- * x-ms-original-file: specification/app/resource-manager/Microsoft.App/ContainerApps/stable/2025-07-01/examples/
- * ManagedEnvironmentsStorages_Delete.json
+ * x-ms-original-file: 2026-07-01/ManagedEnvironmentsStorages_Delete.json
*/
/**
* Sample code: List environments storages by subscription.
@@ -4696,8 +5699,7 @@ public final class ManagedEnvironmentsStoragesDeleteSamples {
*/
public final class ManagedEnvironmentsStoragesGetSamples {
/*
- * x-ms-original-file: specification/app/resource-manager/Microsoft.App/ContainerApps/stable/2025-07-01/examples/
- * ManagedEnvironmentsStorages_Get.json
+ * x-ms-original-file: 2026-07-01/ManagedEnvironmentsStorages_Get.json
*/
/**
* Sample code: get a environments storage.
@@ -4711,8 +5713,7 @@ public final class ManagedEnvironmentsStoragesGetSamples {
}
/*
- * x-ms-original-file: specification/app/resource-manager/Microsoft.App/ContainerApps/stable/2025-07-01/examples/
- * ManagedEnvironmentsStorages_Get_NfsAzureFile.json
+ * x-ms-original-file: 2026-07-01/ManagedEnvironmentsStorages_Get_NfsAzureFile.json
*/
/**
* Sample code: get a environments storage for NFS Azure file.
@@ -4735,8 +5736,7 @@ public final class ManagedEnvironmentsStoragesGetSamples {
*/
public final class ManagedEnvironmentsStoragesListSamples {
/*
- * x-ms-original-file: specification/app/resource-manager/Microsoft.App/ContainerApps/stable/2025-07-01/examples/
- * ManagedEnvironmentsStorages_List.json
+ * x-ms-original-file: 2026-07-01/ManagedEnvironmentsStorages_List.json
*/
/**
* Sample code: List environments storages by subscription.
@@ -4761,8 +5761,7 @@ import com.azure.resourcemanager.appcontainers.models.CheckNameAvailabilityReque
*/
public final class NamespacesCheckNameAvailabilitySamples {
/*
- * x-ms-original-file: specification/app/resource-manager/Microsoft.App/ContainerApps/stable/2025-07-01/examples/
- * Certificates_CheckNameAvailability.json
+ * x-ms-original-file: 2026-07-01/Certificates_CheckNameAvailability.json
*/
/**
* Sample code: Certificates_CheckNameAvailability.
@@ -4779,8 +5778,7 @@ public final class NamespacesCheckNameAvailabilitySamples {
}
/*
- * x-ms-original-file: specification/app/resource-manager/Microsoft.App/ContainerApps/stable/2025-07-01/examples/
- * ContainerApps_CheckNameAvailability.json
+ * x-ms-original-file: 2026-07-01/ContainerApps_CheckNameAvailability.json
*/
/**
* Sample code: ContainerApps_CheckNameAvailability.
@@ -4805,8 +5803,7 @@ public final class NamespacesCheckNameAvailabilitySamples {
*/
public final class OperationsListSamples {
/*
- * x-ms-original-file:
- * specification/app/resource-manager/Microsoft.App/ContainerApps/stable/2025-07-01/examples/Operations_List.json
+ * x-ms-original-file: 2026-07-01/Operations_List.json
*/
/**
* Sample code: List all operations.
@@ -4827,8 +5824,7 @@ public final class OperationsListSamples {
*/
public final class ResourceProviderGetCustomDomainVerificationIdSamples {
/*
- * x-ms-original-file: specification/app/resource-manager/Microsoft.App/ContainerApps/stable/2025-07-01/examples/
- * Subscriptions_GetCustomDomainVerificationId.json
+ * x-ms-original-file: 2026-07-01/Subscriptions_GetCustomDomainVerificationId.json
*/
/**
* Sample code: List all operations.
@@ -4849,8 +5845,7 @@ public final class ResourceProviderGetCustomDomainVerificationIdSamples {
*/
public final class ResourceProviderJobExecutionSamples {
/*
- * x-ms-original-file:
- * specification/app/resource-manager/Microsoft.App/ContainerApps/stable/2025-07-01/examples/Job_Execution_Get.json
+ * x-ms-original-file: 2026-07-01/Job_Execution_Get.json
*/
/**
* Sample code: Get a single Job Execution.
@@ -4859,7 +5854,162 @@ public final class ResourceProviderJobExecutionSamples {
*/
public static void getASingleJobExecution(com.azure.resourcemanager.appcontainers.ContainerAppsApiManager manager) {
manager.resourceProviders()
- .jobExecutionWithResponse("rg", "testcontainerappsjob0", "jobExecution1", com.azure.core.util.Context.NONE);
+ .jobExecutionWithResponse("rg", "testcontainerAppsJob0", "jobExecution1", com.azure.core.util.Context.NONE);
+ }
+}
+```
+
+### SandboxGroups_CreateOrUpdate
+
+```java
+/**
+ * Samples for SandboxGroups CreateOrUpdate.
+ */
+public final class SandboxGroupsCreateOrUpdateSamples {
+ /*
+ * x-ms-original-file: 2026-07-01/SandboxGroups_CreateOrUpdate.json
+ */
+ /**
+ * Sample code: Create or update a SandboxGroup.
+ *
+ * @param manager Entry point to ContainerAppsApiManager.
+ */
+ public static void
+ createOrUpdateASandboxGroup(com.azure.resourcemanager.appcontainers.ContainerAppsApiManager manager) {
+ manager.sandboxGroups()
+ .define("testgroup")
+ .withRegion("East US")
+ .withExistingResourceGroup("examplerg")
+ .create();
+ }
+}
+```
+
+### SandboxGroups_Delete
+
+```java
+/**
+ * Samples for SandboxGroups Delete.
+ */
+public final class SandboxGroupsDeleteSamples {
+ /*
+ * x-ms-original-file: 2026-07-01/SandboxGroups_Delete.json
+ */
+ /**
+ * Sample code: Delete a SandboxGroup.
+ *
+ * @param manager Entry point to ContainerAppsApiManager.
+ */
+ public static void deleteASandboxGroup(com.azure.resourcemanager.appcontainers.ContainerAppsApiManager manager) {
+ manager.sandboxGroups().delete("examplerg", "testgroup", com.azure.core.util.Context.NONE);
+ }
+}
+```
+
+### SandboxGroups_GetByResourceGroup
+
+```java
+/**
+ * Samples for SandboxGroups GetByResourceGroup.
+ */
+public final class SandboxGroupsGetByResourceGroupSamples {
+ /*
+ * x-ms-original-file: 2026-07-01/SandboxGroups_Get.json
+ */
+ /**
+ * Sample code: Get a SandboxGroup.
+ *
+ * @param manager Entry point to ContainerAppsApiManager.
+ */
+ public static void getASandboxGroup(com.azure.resourcemanager.appcontainers.ContainerAppsApiManager manager) {
+ manager.sandboxGroups()
+ .getByResourceGroupWithResponse("examplerg", "testgroup", com.azure.core.util.Context.NONE);
+ }
+}
+```
+
+### SandboxGroups_List
+
+```java
+/**
+ * Samples for SandboxGroups List.
+ */
+public final class SandboxGroupsListSamples {
+ /*
+ * x-ms-original-file: 2026-07-01/SandboxGroups_ListBySubscription.json
+ */
+ /**
+ * Sample code: List SandboxGroups by subscription.
+ *
+ * @param manager Entry point to ContainerAppsApiManager.
+ */
+ public static void
+ listSandboxGroupsBySubscription(com.azure.resourcemanager.appcontainers.ContainerAppsApiManager manager) {
+ manager.sandboxGroups().list(com.azure.core.util.Context.NONE);
+ }
+}
+```
+
+### SandboxGroups_ListByResourceGroup
+
+```java
+/**
+ * Samples for SandboxGroups ListByResourceGroup.
+ */
+public final class SandboxGroupsListByResourceGroupSamples {
+ /*
+ * x-ms-original-file: 2026-07-01/SandboxGroups_ListByResourceGroup.json
+ */
+ /**
+ * Sample code: List SandboxGroups by resource group.
+ *
+ * @param manager Entry point to ContainerAppsApiManager.
+ */
+ public static void
+ listSandboxGroupsByResourceGroup(com.azure.resourcemanager.appcontainers.ContainerAppsApiManager manager) {
+ manager.sandboxGroups().listByResourceGroup("examplerg", com.azure.core.util.Context.NONE);
+ }
+}
+```
+
+### SandboxGroups_Update
+
+```java
+import com.azure.resourcemanager.appcontainers.models.SandboxGroupPatch;
+import com.azure.resourcemanager.appcontainers.models.SandboxGroupPatchProperties;
+import java.util.HashMap;
+import java.util.Map;
+
+/**
+ * Samples for SandboxGroups Update.
+ */
+public final class SandboxGroupsUpdateSamples {
+ /*
+ * x-ms-original-file: 2026-07-01/SandboxGroups_Update.json
+ */
+ /**
+ * Sample code: Update a SandboxGroup.
+ *
+ * @param manager Entry point to ContainerAppsApiManager.
+ */
+ public static void updateASandboxGroup(com.azure.resourcemanager.appcontainers.ContainerAppsApiManager manager) {
+ manager.sandboxGroups()
+ .update("examplerg", "testgroup", new SandboxGroupPatch().withTags(mapOf("environment", "test"))
+ .withProperties(new SandboxGroupPatchProperties().withEnvironmentId(
+ "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/examplerg/providers/Microsoft.App/managedEnvironments/exampleenv")),
+ com.azure.core.util.Context.NONE);
+ }
+
+ // Use "Map.of" if available
+ @SuppressWarnings("unchecked")
+ private static Map mapOf(Object... inputs) {
+ Map map = new HashMap<>();
+ for (int i = 0; i < inputs.length; i += 2) {
+ String key = (String) inputs[i];
+ T value = (T) inputs[i + 1];
+ map.put(key, value);
+ }
+ return map;
}
}
```
@@ -4872,8 +6022,7 @@ public final class ResourceProviderJobExecutionSamples {
*/
public final class UsagesListSamples {
/*
- * x-ms-original-file:
- * specification/app/resource-manager/Microsoft.App/ContainerApps/stable/2025-07-01/examples/Usages_List.json
+ * x-ms-original-file: 2026-07-01/Usages_List.json
*/
/**
* Sample code: List usages.
@@ -4886,3 +6035,97 @@ public final class UsagesListSamples {
}
```
+### VnetConnections_CreateOrUpdate
+
+```java
+import com.azure.resourcemanager.appcontainers.models.VnetConnectionProperties;
+
+/**
+ * Samples for VnetConnections CreateOrUpdate.
+ */
+public final class VnetConnectionsCreateOrUpdateSamples {
+ /*
+ * x-ms-original-file: 2026-07-01/VnetConnections_CreateOrUpdate.json
+ */
+ /**
+ * Sample code: Create or update a VnetConnection.
+ *
+ * @param manager Entry point to ContainerAppsApiManager.
+ */
+ public static void
+ createOrUpdateAVnetConnection(com.azure.resourcemanager.appcontainers.ContainerAppsApiManager manager) {
+ manager.vnetConnections()
+ .define("myVnetConnection")
+ .withExistingSandboxGroup("myRg", "testgroup")
+ .withProperties(new VnetConnectionProperties().withSubnetId(
+ "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRg/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet"))
+ .create();
+ }
+}
+```
+
+### VnetConnections_Delete
+
+```java
+/**
+ * Samples for VnetConnections Delete.
+ */
+public final class VnetConnectionsDeleteSamples {
+ /*
+ * x-ms-original-file: 2026-07-01/VnetConnections_Delete.json
+ */
+ /**
+ * Sample code: Delete a VnetConnection.
+ *
+ * @param manager Entry point to ContainerAppsApiManager.
+ */
+ public static void deleteAVnetConnection(com.azure.resourcemanager.appcontainers.ContainerAppsApiManager manager) {
+ manager.vnetConnections().delete("myRg", "testgroup", "myVnetConnection", com.azure.core.util.Context.NONE);
+ }
+}
+```
+
+### VnetConnections_Get
+
+```java
+/**
+ * Samples for VnetConnections Get.
+ */
+public final class VnetConnectionsGetSamples {
+ /*
+ * x-ms-original-file: 2026-07-01/VnetConnections_Get.json
+ */
+ /**
+ * Sample code: Get a VnetConnection.
+ *
+ * @param manager Entry point to ContainerAppsApiManager.
+ */
+ public static void getAVnetConnection(com.azure.resourcemanager.appcontainers.ContainerAppsApiManager manager) {
+ manager.vnetConnections()
+ .getWithResponse("myRg", "testgroup", "myVnetConnection", com.azure.core.util.Context.NONE);
+ }
+}
+```
+
+### VnetConnections_ListBySandboxGroup
+
+```java
+/**
+ * Samples for VnetConnections ListBySandboxGroup.
+ */
+public final class VnetConnectionsListBySandboxGroupSamples {
+ /*
+ * x-ms-original-file: 2026-07-01/VnetConnections_ListBySandboxGroup.json
+ */
+ /**
+ * Sample code: List VnetConnections by SandboxGroup.
+ *
+ * @param manager Entry point to ContainerAppsApiManager.
+ */
+ public static void
+ listVnetConnectionsBySandboxGroup(com.azure.resourcemanager.appcontainers.ContainerAppsApiManager manager) {
+ manager.vnetConnections().listBySandboxGroup("myRg", "testgroup", com.azure.core.util.Context.NONE);
+ }
+}
+```
+
diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/pom.xml b/sdk/appcontainers/azure-resourcemanager-appcontainers/pom.xml
index 3841a7d3ae7c..ba9215c1deff 100644
--- a/sdk/appcontainers/azure-resourcemanager-appcontainers/pom.xml
+++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/pom.xml
@@ -1,9 +1,9 @@
-
+
4.0.0
com.azure
@@ -14,11 +14,11 @@
com.azure.resourcemanager
azure-resourcemanager-appcontainers
- 1.3.0-beta.1
+ 1.3.0
jar
Microsoft Azure SDK for ContainerAppsApi Management
- This package contains Microsoft Azure SDK for ContainerAppsApi Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt. Logic app is an extension resource on container app and the extension resource enables logic specific operations on the container app through the APIs listed. Package tag package-2025-07-01.
+ This package contains Microsoft Azure SDK for ContainerAppsApi Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt. Functions is an extension resource to revisions and the api listed is used to proxy the call from Web RP to the function app's host process, this api is not exposed to users and only Web RP is allowed to invoke functions extension resource. Package api-version 2026-07-01.
https://github.com/Azure/azure-sdk-for-java
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 9030d4ccf52a..06de7c238bd0 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
@@ -1,6 +1,6 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
package com.azure.resourcemanager.appcontainers;
@@ -25,6 +25,7 @@
import com.azure.core.util.CoreUtils;
import com.azure.core.util.logging.ClientLogger;
import com.azure.resourcemanager.appcontainers.fluent.ContainerAppsApiClient;
+import com.azure.resourcemanager.appcontainers.implementation.AvailableEnvironmentModesImpl;
import com.azure.resourcemanager.appcontainers.implementation.AvailableWorkloadProfilesImpl;
import com.azure.resourcemanager.appcontainers.implementation.BillingMetersImpl;
import com.azure.resourcemanager.appcontainers.implementation.CertificatesImpl;
@@ -32,15 +33,23 @@
import com.azure.resourcemanager.appcontainers.implementation.ConnectedEnvironmentsDaprComponentsImpl;
import com.azure.resourcemanager.appcontainers.implementation.ConnectedEnvironmentsImpl;
import com.azure.resourcemanager.appcontainers.implementation.ConnectedEnvironmentsStoragesImpl;
+import com.azure.resourcemanager.appcontainers.implementation.ContainerAppPrivateEndpointConnectionsImpl;
+import com.azure.resourcemanager.appcontainers.implementation.ContainerAppPrivateLinkResourcesImpl;
import com.azure.resourcemanager.appcontainers.implementation.ContainerAppsApiClientBuilder;
import com.azure.resourcemanager.appcontainers.implementation.ContainerAppsAuthConfigsImpl;
import com.azure.resourcemanager.appcontainers.implementation.ContainerAppsDiagnosticsImpl;
+import com.azure.resourcemanager.appcontainers.implementation.ContainerAppsFunctionsImpl;
import com.azure.resourcemanager.appcontainers.implementation.ContainerAppsImpl;
+import com.azure.resourcemanager.appcontainers.implementation.ContainerAppsLabelHistoriesImpl;
+import com.azure.resourcemanager.appcontainers.implementation.ContainerAppsRevisionFunctionsImpl;
import com.azure.resourcemanager.appcontainers.implementation.ContainerAppsRevisionReplicasImpl;
import com.azure.resourcemanager.appcontainers.implementation.ContainerAppsRevisionsImpl;
import com.azure.resourcemanager.appcontainers.implementation.ContainerAppsSessionPoolsImpl;
import com.azure.resourcemanager.appcontainers.implementation.ContainerAppsSourceControlsImpl;
+import com.azure.resourcemanager.appcontainers.implementation.DaprComponentResiliencyPoliciesImpl;
import com.azure.resourcemanager.appcontainers.implementation.DaprComponentsImpl;
+import com.azure.resourcemanager.appcontainers.implementation.DotNetComponentsImpl;
+import com.azure.resourcemanager.appcontainers.implementation.FunctionsExtensionsImpl;
import com.azure.resourcemanager.appcontainers.implementation.HttpRouteConfigsImpl;
import com.azure.resourcemanager.appcontainers.implementation.JavaComponentsImpl;
import com.azure.resourcemanager.appcontainers.implementation.JobsExecutionsImpl;
@@ -58,7 +67,10 @@
import com.azure.resourcemanager.appcontainers.implementation.NamespacesImpl;
import com.azure.resourcemanager.appcontainers.implementation.OperationsImpl;
import com.azure.resourcemanager.appcontainers.implementation.ResourceProvidersImpl;
+import com.azure.resourcemanager.appcontainers.implementation.SandboxGroupsImpl;
import com.azure.resourcemanager.appcontainers.implementation.UsagesImpl;
+import com.azure.resourcemanager.appcontainers.implementation.VnetConnectionsImpl;
+import com.azure.resourcemanager.appcontainers.models.AvailableEnvironmentModes;
import com.azure.resourcemanager.appcontainers.models.AvailableWorkloadProfiles;
import com.azure.resourcemanager.appcontainers.models.BillingMeters;
import com.azure.resourcemanager.appcontainers.models.Certificates;
@@ -66,14 +78,22 @@
import com.azure.resourcemanager.appcontainers.models.ConnectedEnvironmentsCertificates;
import com.azure.resourcemanager.appcontainers.models.ConnectedEnvironmentsDaprComponents;
import com.azure.resourcemanager.appcontainers.models.ConnectedEnvironmentsStorages;
+import com.azure.resourcemanager.appcontainers.models.ContainerAppPrivateEndpointConnections;
+import com.azure.resourcemanager.appcontainers.models.ContainerAppPrivateLinkResources;
import com.azure.resourcemanager.appcontainers.models.ContainerApps;
import com.azure.resourcemanager.appcontainers.models.ContainerAppsAuthConfigs;
import com.azure.resourcemanager.appcontainers.models.ContainerAppsDiagnostics;
+import com.azure.resourcemanager.appcontainers.models.ContainerAppsFunctions;
+import com.azure.resourcemanager.appcontainers.models.ContainerAppsLabelHistories;
+import com.azure.resourcemanager.appcontainers.models.ContainerAppsRevisionFunctions;
import com.azure.resourcemanager.appcontainers.models.ContainerAppsRevisionReplicas;
import com.azure.resourcemanager.appcontainers.models.ContainerAppsRevisions;
import com.azure.resourcemanager.appcontainers.models.ContainerAppsSessionPools;
import com.azure.resourcemanager.appcontainers.models.ContainerAppsSourceControls;
+import com.azure.resourcemanager.appcontainers.models.DaprComponentResiliencyPolicies;
import com.azure.resourcemanager.appcontainers.models.DaprComponents;
+import com.azure.resourcemanager.appcontainers.models.DotNetComponents;
+import com.azure.resourcemanager.appcontainers.models.FunctionsExtensions;
import com.azure.resourcemanager.appcontainers.models.HttpRouteConfigs;
import com.azure.resourcemanager.appcontainers.models.JavaComponents;
import com.azure.resourcemanager.appcontainers.models.Jobs;
@@ -91,7 +111,9 @@
import com.azure.resourcemanager.appcontainers.models.Namespaces;
import com.azure.resourcemanager.appcontainers.models.Operations;
import com.azure.resourcemanager.appcontainers.models.ResourceProviders;
+import com.azure.resourcemanager.appcontainers.models.SandboxGroups;
import com.azure.resourcemanager.appcontainers.models.Usages;
+import com.azure.resourcemanager.appcontainers.models.VnetConnections;
import java.time.Duration;
import java.time.temporal.ChronoUnit;
import java.util.ArrayList;
@@ -102,76 +124,99 @@
/**
* Entry point to ContainerAppsApiManager.
- * Logic app is an extension resource on container app and the extension resource enables logic specific operations on
- * the container app through the APIs listed.
+ * Functions is an extension resource to revisions and the api listed is used to proxy the call from Web RP to the
+ * function app's host process, this api is not exposed to users and only Web RP is allowed to invoke functions
+ * extension resource.
*/
public final class ContainerAppsApiManager {
- private ContainerAppsAuthConfigs containerAppsAuthConfigs;
+ private ResourceProviders resourceProviders;
- private AvailableWorkloadProfiles availableWorkloadProfiles;
+ private Operations operations;
- private BillingMeters billingMeters;
+ private ContainerAppsSessionPools containerAppsSessionPools;
- private ConnectedEnvironments connectedEnvironments;
+ private SandboxGroups sandboxGroups;
- private ConnectedEnvironmentsCertificates connectedEnvironmentsCertificates;
+ private VnetConnections vnetConnections;
- private ConnectedEnvironmentsDaprComponents connectedEnvironmentsDaprComponents;
-
- private ConnectedEnvironmentsStorages connectedEnvironmentsStorages;
+ private ContainerAppsSourceControls containerAppsSourceControls;
private ContainerApps containerApps;
+ private ContainerAppsFunctions containerAppsFunctions;
+
private ContainerAppsRevisions containerAppsRevisions;
- private ContainerAppsRevisionReplicas containerAppsRevisionReplicas;
+ private FunctionsExtensions functionsExtensions;
- private ContainerAppsDiagnostics containerAppsDiagnostics;
+ private ContainerAppsLabelHistories containerAppsLabelHistories;
- private ManagedEnvironmentDiagnostics managedEnvironmentDiagnostics;
+ private ContainerAppsRevisionReplicas containerAppsRevisionReplicas;
- private ManagedEnvironmentsDiagnostics managedEnvironmentsDiagnostics;
+ private DotNetComponents dotNetComponents;
- private Jobs jobs;
+ private JavaComponents javaComponents;
- private Operations operations;
+ private LogicApps logicApps;
- private JavaComponents javaComponents;
+ private ContainerAppsAuthConfigs containerAppsAuthConfigs;
- private JobsExecutions jobsExecutions;
+ private ConnectedEnvironments connectedEnvironments;
- private ResourceProviders resourceProviders;
+ private Certificates certificates;
private ManagedEnvironments managedEnvironments;
- private Certificates certificates;
+ private ConnectedEnvironmentsDaprComponents connectedEnvironmentsDaprComponents;
+
+ private DaprComponents daprComponents;
+
+ private ConnectedEnvironmentsStorages connectedEnvironmentsStorages;
private ManagedCertificates managedCertificates;
- private Namespaces namespaces;
+ private ContainerAppPrivateEndpointConnections containerAppPrivateEndpointConnections;
- private ManagedEnvironmentPrivateEndpointConnections managedEnvironmentPrivateEndpointConnections;
+ private ContainerAppPrivateLinkResources containerAppPrivateLinkResources;
private ManagedEnvironmentPrivateLinkResources managedEnvironmentPrivateLinkResources;
- private DaprComponents daprComponents;
-
- private HttpRouteConfigs httpRouteConfigs;
+ private DaprComponentResiliencyPolicies daprComponentResiliencyPolicies;
private MaintenanceConfigurations maintenanceConfigurations;
private ManagedEnvironmentsStorages managedEnvironmentsStorages;
- private ContainerAppsSessionPools containerAppsSessionPools;
+ private Jobs jobs;
- private ContainerAppsSourceControls containerAppsSourceControls;
+ private ContainerAppsDiagnostics containerAppsDiagnostics;
+
+ private ManagedEnvironmentsDiagnostics managedEnvironmentsDiagnostics;
+
+ private ContainerAppsRevisionFunctions containerAppsRevisionFunctions;
+
+ private ConnectedEnvironmentsCertificates connectedEnvironmentsCertificates;
+
+ private Namespaces namespaces;
+
+ private ManagedEnvironmentPrivateEndpointConnections managedEnvironmentPrivateEndpointConnections;
+
+ private HttpRouteConfigs httpRouteConfigs;
+
+ private JobsExecutions jobsExecutions;
+
+ private ManagedEnvironmentDiagnostics managedEnvironmentDiagnostics;
+
+ private AvailableWorkloadProfiles availableWorkloadProfiles;
+
+ private AvailableEnvironmentModes availableEnvironmentModes;
+
+ private BillingMeters billingMeters;
private Usages usages;
private ManagedEnvironmentUsages managedEnvironmentUsages;
- private LogicApps logicApps;
-
private final ContainerAppsApiClient clientObject;
private ContainerAppsApiManager(HttpPipeline httpPipeline, AzureProfile profile, Duration defaultPollInterval) {
@@ -388,92 +433,77 @@ public ContainerAppsApiManager authenticate(TokenCredential credential, AzurePro
}
/**
- * Gets the resource collection API of ContainerAppsAuthConfigs. It manages AuthConfig.
- *
- * @return Resource collection API of ContainerAppsAuthConfigs.
- */
- public ContainerAppsAuthConfigs containerAppsAuthConfigs() {
- if (this.containerAppsAuthConfigs == null) {
- this.containerAppsAuthConfigs
- = new ContainerAppsAuthConfigsImpl(clientObject.getContainerAppsAuthConfigs(), this);
- }
- return containerAppsAuthConfigs;
- }
-
- /**
- * Gets the resource collection API of AvailableWorkloadProfiles.
+ * Gets the resource collection API of ResourceProviders.
*
- * @return Resource collection API of AvailableWorkloadProfiles.
+ * @return Resource collection API of ResourceProviders.
*/
- public AvailableWorkloadProfiles availableWorkloadProfiles() {
- if (this.availableWorkloadProfiles == null) {
- this.availableWorkloadProfiles
- = new AvailableWorkloadProfilesImpl(clientObject.getAvailableWorkloadProfiles(), this);
+ public ResourceProviders resourceProviders() {
+ if (this.resourceProviders == null) {
+ this.resourceProviders = new ResourceProvidersImpl(clientObject.getResourceProviders(), this);
}
- return availableWorkloadProfiles;
+ return resourceProviders;
}
/**
- * Gets the resource collection API of BillingMeters.
+ * Gets the resource collection API of Operations.
*
- * @return Resource collection API of BillingMeters.
+ * @return Resource collection API of Operations.
*/
- public BillingMeters billingMeters() {
- if (this.billingMeters == null) {
- this.billingMeters = new BillingMetersImpl(clientObject.getBillingMeters(), this);
+ public Operations operations() {
+ if (this.operations == null) {
+ this.operations = new OperationsImpl(clientObject.getOperations(), this);
}
- return billingMeters;
+ return operations;
}
/**
- * Gets the resource collection API of ConnectedEnvironments. It manages ConnectedEnvironment.
+ * Gets the resource collection API of ContainerAppsSessionPools. It manages SessionPool.
*
- * @return Resource collection API of ConnectedEnvironments.
+ * @return Resource collection API of ContainerAppsSessionPools.
*/
- public ConnectedEnvironments connectedEnvironments() {
- if (this.connectedEnvironments == null) {
- this.connectedEnvironments = new ConnectedEnvironmentsImpl(clientObject.getConnectedEnvironments(), this);
+ public ContainerAppsSessionPools containerAppsSessionPools() {
+ if (this.containerAppsSessionPools == null) {
+ this.containerAppsSessionPools
+ = new ContainerAppsSessionPoolsImpl(clientObject.getContainerAppsSessionPools(), this);
}
- return connectedEnvironments;
+ return containerAppsSessionPools;
}
/**
- * Gets the resource collection API of ConnectedEnvironmentsCertificates. It manages Certificate.
+ * Gets the resource collection API of SandboxGroups. It manages SandboxGroup.
*
- * @return Resource collection API of ConnectedEnvironmentsCertificates.
+ * @return Resource collection API of SandboxGroups.
*/
- public ConnectedEnvironmentsCertificates connectedEnvironmentsCertificates() {
- if (this.connectedEnvironmentsCertificates == null) {
- this.connectedEnvironmentsCertificates
- = new ConnectedEnvironmentsCertificatesImpl(clientObject.getConnectedEnvironmentsCertificates(), this);
+ public SandboxGroups sandboxGroups() {
+ if (this.sandboxGroups == null) {
+ this.sandboxGroups = new SandboxGroupsImpl(clientObject.getSandboxGroups(), this);
}
- return connectedEnvironmentsCertificates;
+ return sandboxGroups;
}
/**
- * Gets the resource collection API of ConnectedEnvironmentsDaprComponents. It manages DaprComponent.
+ * Gets the resource collection API of VnetConnections. It manages VnetConnection.
*
- * @return Resource collection API of ConnectedEnvironmentsDaprComponents.
+ * @return Resource collection API of VnetConnections.
*/
- public ConnectedEnvironmentsDaprComponents connectedEnvironmentsDaprComponents() {
- if (this.connectedEnvironmentsDaprComponents == null) {
- this.connectedEnvironmentsDaprComponents = new ConnectedEnvironmentsDaprComponentsImpl(
- clientObject.getConnectedEnvironmentsDaprComponents(), this);
+ public VnetConnections vnetConnections() {
+ if (this.vnetConnections == null) {
+ this.vnetConnections = new VnetConnectionsImpl(clientObject.getVnetConnections(), this);
}
- return connectedEnvironmentsDaprComponents;
+ return vnetConnections;
}
/**
- * Gets the resource collection API of ConnectedEnvironmentsStorages. It manages ConnectedEnvironmentStorage.
+ * Gets the resource collection API of ContainerAppsSourceControls. It manages SourceControl.
*
- * @return Resource collection API of ConnectedEnvironmentsStorages.
+ * @return Resource collection API of ContainerAppsSourceControls.
*/
- public ConnectedEnvironmentsStorages connectedEnvironmentsStorages() {
- if (this.connectedEnvironmentsStorages == null) {
- this.connectedEnvironmentsStorages
- = new ConnectedEnvironmentsStoragesImpl(clientObject.getConnectedEnvironmentsStorages(), this);
+ public ContainerAppsSourceControls containerAppsSourceControls() {
+ if (this.containerAppsSourceControls == null) {
+ this.containerAppsSourceControls
+ = new ContainerAppsSourceControlsImpl(clientObject.getContainerAppsSourceControls(), this);
}
- return connectedEnvironmentsStorages;
+ return containerAppsSourceControls;
}
/**
@@ -488,6 +518,19 @@ public ContainerApps containerApps() {
return containerApps;
}
+ /**
+ * Gets the resource collection API of ContainerAppsFunctions.
+ *
+ * @return Resource collection API of ContainerAppsFunctions.
+ */
+ public ContainerAppsFunctions containerAppsFunctions() {
+ if (this.containerAppsFunctions == null) {
+ this.containerAppsFunctions
+ = new ContainerAppsFunctionsImpl(clientObject.getContainerAppsFunctions(), this);
+ }
+ return containerAppsFunctions;
+ }
+
/**
* Gets the resource collection API of ContainerAppsRevisions.
*
@@ -501,6 +544,31 @@ public ContainerAppsRevisions containerAppsRevisions() {
return containerAppsRevisions;
}
+ /**
+ * Gets the resource collection API of FunctionsExtensions.
+ *
+ * @return Resource collection API of FunctionsExtensions.
+ */
+ public FunctionsExtensions functionsExtensions() {
+ if (this.functionsExtensions == null) {
+ this.functionsExtensions = new FunctionsExtensionsImpl(clientObject.getFunctionsExtensions(), this);
+ }
+ return functionsExtensions;
+ }
+
+ /**
+ * Gets the resource collection API of ContainerAppsLabelHistories.
+ *
+ * @return Resource collection API of ContainerAppsLabelHistories.
+ */
+ public ContainerAppsLabelHistories containerAppsLabelHistories() {
+ if (this.containerAppsLabelHistories == null) {
+ this.containerAppsLabelHistories
+ = new ContainerAppsLabelHistoriesImpl(clientObject.getContainerAppsLabelHistories(), this);
+ }
+ return containerAppsLabelHistories;
+ }
+
/**
* Gets the resource collection API of ContainerAppsRevisionReplicas.
*
@@ -515,126 +583,126 @@ public ContainerAppsRevisionReplicas containerAppsRevisionReplicas() {
}
/**
- * Gets the resource collection API of ContainerAppsDiagnostics.
+ * Gets the resource collection API of DotNetComponents. It manages DotNetComponent.
*
- * @return Resource collection API of ContainerAppsDiagnostics.
+ * @return Resource collection API of DotNetComponents.
*/
- public ContainerAppsDiagnostics containerAppsDiagnostics() {
- if (this.containerAppsDiagnostics == null) {
- this.containerAppsDiagnostics
- = new ContainerAppsDiagnosticsImpl(clientObject.getContainerAppsDiagnostics(), this);
+ public DotNetComponents dotNetComponents() {
+ if (this.dotNetComponents == null) {
+ this.dotNetComponents = new DotNetComponentsImpl(clientObject.getDotNetComponents(), this);
}
- return containerAppsDiagnostics;
+ return dotNetComponents;
}
/**
- * Gets the resource collection API of ManagedEnvironmentDiagnostics.
+ * Gets the resource collection API of JavaComponents. It manages JavaComponent.
*
- * @return Resource collection API of ManagedEnvironmentDiagnostics.
+ * @return Resource collection API of JavaComponents.
*/
- public ManagedEnvironmentDiagnostics managedEnvironmentDiagnostics() {
- if (this.managedEnvironmentDiagnostics == null) {
- this.managedEnvironmentDiagnostics
- = new ManagedEnvironmentDiagnosticsImpl(clientObject.getManagedEnvironmentDiagnostics(), this);
+ public JavaComponents javaComponents() {
+ if (this.javaComponents == null) {
+ this.javaComponents = new JavaComponentsImpl(clientObject.getJavaComponents(), this);
}
- return managedEnvironmentDiagnostics;
+ return javaComponents;
}
/**
- * Gets the resource collection API of ManagedEnvironmentsDiagnostics.
+ * Gets the resource collection API of LogicApps. It manages LogicApp.
*
- * @return Resource collection API of ManagedEnvironmentsDiagnostics.
+ * @return Resource collection API of LogicApps.
*/
- public ManagedEnvironmentsDiagnostics managedEnvironmentsDiagnostics() {
- if (this.managedEnvironmentsDiagnostics == null) {
- this.managedEnvironmentsDiagnostics
- = new ManagedEnvironmentsDiagnosticsImpl(clientObject.getManagedEnvironmentsDiagnostics(), this);
+ public LogicApps logicApps() {
+ if (this.logicApps == null) {
+ this.logicApps = new LogicAppsImpl(clientObject.getLogicApps(), this);
}
- return managedEnvironmentsDiagnostics;
+ return logicApps;
}
/**
- * Gets the resource collection API of Jobs. It manages Job.
+ * Gets the resource collection API of ContainerAppsAuthConfigs. It manages AuthConfig.
*
- * @return Resource collection API of Jobs.
+ * @return Resource collection API of ContainerAppsAuthConfigs.
*/
- public Jobs jobs() {
- if (this.jobs == null) {
- this.jobs = new JobsImpl(clientObject.getJobs(), this);
+ public ContainerAppsAuthConfigs containerAppsAuthConfigs() {
+ if (this.containerAppsAuthConfigs == null) {
+ this.containerAppsAuthConfigs
+ = new ContainerAppsAuthConfigsImpl(clientObject.getContainerAppsAuthConfigs(), this);
}
- return jobs;
+ return containerAppsAuthConfigs;
}
/**
- * Gets the resource collection API of Operations.
+ * Gets the resource collection API of ConnectedEnvironments. It manages ConnectedEnvironment.
*
- * @return Resource collection API of Operations.
+ * @return Resource collection API of ConnectedEnvironments.
*/
- public Operations operations() {
- if (this.operations == null) {
- this.operations = new OperationsImpl(clientObject.getOperations(), this);
+ public ConnectedEnvironments connectedEnvironments() {
+ if (this.connectedEnvironments == null) {
+ this.connectedEnvironments = new ConnectedEnvironmentsImpl(clientObject.getConnectedEnvironments(), this);
}
- return operations;
+ return connectedEnvironments;
}
/**
- * Gets the resource collection API of JavaComponents. It manages JavaComponent.
+ * Gets the resource collection API of Certificates.
*
- * @return Resource collection API of JavaComponents.
+ * @return Resource collection API of Certificates.
*/
- public JavaComponents javaComponents() {
- if (this.javaComponents == null) {
- this.javaComponents = new JavaComponentsImpl(clientObject.getJavaComponents(), this);
+ public Certificates certificates() {
+ if (this.certificates == null) {
+ this.certificates = new CertificatesImpl(clientObject.getCertificates(), this);
}
- return javaComponents;
+ return certificates;
}
/**
- * Gets the resource collection API of JobsExecutions.
+ * Gets the resource collection API of ManagedEnvironments. It manages ManagedEnvironment.
*
- * @return Resource collection API of JobsExecutions.
+ * @return Resource collection API of ManagedEnvironments.
*/
- public JobsExecutions jobsExecutions() {
- if (this.jobsExecutions == null) {
- this.jobsExecutions = new JobsExecutionsImpl(clientObject.getJobsExecutions(), this);
+ public ManagedEnvironments managedEnvironments() {
+ if (this.managedEnvironments == null) {
+ this.managedEnvironments = new ManagedEnvironmentsImpl(clientObject.getManagedEnvironments(), this);
}
- return jobsExecutions;
+ return managedEnvironments;
}
/**
- * Gets the resource collection API of ResourceProviders.
+ * Gets the resource collection API of ConnectedEnvironmentsDaprComponents. It manages DaprComponent.
*
- * @return Resource collection API of ResourceProviders.
+ * @return Resource collection API of ConnectedEnvironmentsDaprComponents.
*/
- public ResourceProviders resourceProviders() {
- if (this.resourceProviders == null) {
- this.resourceProviders = new ResourceProvidersImpl(clientObject.getResourceProviders(), this);
+ public ConnectedEnvironmentsDaprComponents connectedEnvironmentsDaprComponents() {
+ if (this.connectedEnvironmentsDaprComponents == null) {
+ this.connectedEnvironmentsDaprComponents = new ConnectedEnvironmentsDaprComponentsImpl(
+ clientObject.getConnectedEnvironmentsDaprComponents(), this);
}
- return resourceProviders;
+ return connectedEnvironmentsDaprComponents;
}
/**
- * Gets the resource collection API of ManagedEnvironments. It manages ManagedEnvironment.
+ * Gets the resource collection API of DaprComponents.
*
- * @return Resource collection API of ManagedEnvironments.
+ * @return Resource collection API of DaprComponents.
*/
- public ManagedEnvironments managedEnvironments() {
- if (this.managedEnvironments == null) {
- this.managedEnvironments = new ManagedEnvironmentsImpl(clientObject.getManagedEnvironments(), this);
+ public DaprComponents daprComponents() {
+ if (this.daprComponents == null) {
+ this.daprComponents = new DaprComponentsImpl(clientObject.getDaprComponents(), this);
}
- return managedEnvironments;
+ return daprComponents;
}
/**
- * Gets the resource collection API of Certificates.
+ * Gets the resource collection API of ConnectedEnvironmentsStorages. It manages ConnectedEnvironmentStorage.
*
- * @return Resource collection API of Certificates.
+ * @return Resource collection API of ConnectedEnvironmentsStorages.
*/
- public Certificates certificates() {
- if (this.certificates == null) {
- this.certificates = new CertificatesImpl(clientObject.getCertificates(), this);
+ public ConnectedEnvironmentsStorages connectedEnvironmentsStorages() {
+ if (this.connectedEnvironmentsStorages == null) {
+ this.connectedEnvironmentsStorages
+ = new ConnectedEnvironmentsStoragesImpl(clientObject.getConnectedEnvironmentsStorages(), this);
}
- return certificates;
+ return connectedEnvironmentsStorages;
}
/**
@@ -650,29 +718,29 @@ public ManagedCertificates managedCertificates() {
}
/**
- * Gets the resource collection API of Namespaces.
+ * Gets the resource collection API of ContainerAppPrivateEndpointConnections.
*
- * @return Resource collection API of Namespaces.
+ * @return Resource collection API of ContainerAppPrivateEndpointConnections.
*/
- public Namespaces namespaces() {
- if (this.namespaces == null) {
- this.namespaces = new NamespacesImpl(clientObject.getNamespaces(), this);
+ public ContainerAppPrivateEndpointConnections containerAppPrivateEndpointConnections() {
+ if (this.containerAppPrivateEndpointConnections == null) {
+ this.containerAppPrivateEndpointConnections = new ContainerAppPrivateEndpointConnectionsImpl(
+ clientObject.getContainerAppPrivateEndpointConnections(), this);
}
- return namespaces;
+ return containerAppPrivateEndpointConnections;
}
/**
- * Gets the resource collection API of ManagedEnvironmentPrivateEndpointConnections. It manages
- * PrivateEndpointConnection.
+ * Gets the resource collection API of ContainerAppPrivateLinkResources.
*
- * @return Resource collection API of ManagedEnvironmentPrivateEndpointConnections.
+ * @return Resource collection API of ContainerAppPrivateLinkResources.
*/
- public ManagedEnvironmentPrivateEndpointConnections managedEnvironmentPrivateEndpointConnections() {
- if (this.managedEnvironmentPrivateEndpointConnections == null) {
- this.managedEnvironmentPrivateEndpointConnections = new ManagedEnvironmentPrivateEndpointConnectionsImpl(
- clientObject.getManagedEnvironmentPrivateEndpointConnections(), this);
+ public ContainerAppPrivateLinkResources containerAppPrivateLinkResources() {
+ if (this.containerAppPrivateLinkResources == null) {
+ this.containerAppPrivateLinkResources
+ = new ContainerAppPrivateLinkResourcesImpl(clientObject.getContainerAppPrivateLinkResources(), this);
}
- return managedEnvironmentPrivateEndpointConnections;
+ return containerAppPrivateLinkResources;
}
/**
@@ -689,27 +757,16 @@ public ManagedEnvironmentPrivateLinkResources managedEnvironmentPrivateLinkResou
}
/**
- * Gets the resource collection API of DaprComponents.
- *
- * @return Resource collection API of DaprComponents.
- */
- public DaprComponents daprComponents() {
- if (this.daprComponents == null) {
- this.daprComponents = new DaprComponentsImpl(clientObject.getDaprComponents(), this);
- }
- return daprComponents;
- }
-
- /**
- * Gets the resource collection API of HttpRouteConfigs. It manages HttpRouteConfig.
+ * Gets the resource collection API of DaprComponentResiliencyPolicies. It manages DaprComponentResiliencyPolicy.
*
- * @return Resource collection API of HttpRouteConfigs.
+ * @return Resource collection API of DaprComponentResiliencyPolicies.
*/
- public HttpRouteConfigs httpRouteConfigs() {
- if (this.httpRouteConfigs == null) {
- this.httpRouteConfigs = new HttpRouteConfigsImpl(clientObject.getHttpRouteConfigs(), this);
+ public DaprComponentResiliencyPolicies daprComponentResiliencyPolicies() {
+ if (this.daprComponentResiliencyPolicies == null) {
+ this.daprComponentResiliencyPolicies
+ = new DaprComponentResiliencyPoliciesImpl(clientObject.getDaprComponentResiliencyPolicies(), this);
}
- return httpRouteConfigs;
+ return daprComponentResiliencyPolicies;
}
/**
@@ -739,29 +796,168 @@ public ManagedEnvironmentsStorages managedEnvironmentsStorages() {
}
/**
- * Gets the resource collection API of ContainerAppsSessionPools. It manages SessionPool.
+ * Gets the resource collection API of Jobs. It manages Job.
*
- * @return Resource collection API of ContainerAppsSessionPools.
+ * @return Resource collection API of Jobs.
*/
- public ContainerAppsSessionPools containerAppsSessionPools() {
- if (this.containerAppsSessionPools == null) {
- this.containerAppsSessionPools
- = new ContainerAppsSessionPoolsImpl(clientObject.getContainerAppsSessionPools(), this);
+ public Jobs jobs() {
+ if (this.jobs == null) {
+ this.jobs = new JobsImpl(clientObject.getJobs(), this);
}
- return containerAppsSessionPools;
+ return jobs;
}
/**
- * Gets the resource collection API of ContainerAppsSourceControls. It manages SourceControl.
+ * Gets the resource collection API of ContainerAppsDiagnostics.
*
- * @return Resource collection API of ContainerAppsSourceControls.
+ * @return Resource collection API of ContainerAppsDiagnostics.
*/
- public ContainerAppsSourceControls containerAppsSourceControls() {
- if (this.containerAppsSourceControls == null) {
- this.containerAppsSourceControls
- = new ContainerAppsSourceControlsImpl(clientObject.getContainerAppsSourceControls(), this);
+ public ContainerAppsDiagnostics containerAppsDiagnostics() {
+ if (this.containerAppsDiagnostics == null) {
+ this.containerAppsDiagnostics
+ = new ContainerAppsDiagnosticsImpl(clientObject.getContainerAppsDiagnostics(), this);
}
- return containerAppsSourceControls;
+ return containerAppsDiagnostics;
+ }
+
+ /**
+ * Gets the resource collection API of ManagedEnvironmentsDiagnostics.
+ *
+ * @return Resource collection API of ManagedEnvironmentsDiagnostics.
+ */
+ public ManagedEnvironmentsDiagnostics managedEnvironmentsDiagnostics() {
+ if (this.managedEnvironmentsDiagnostics == null) {
+ this.managedEnvironmentsDiagnostics
+ = new ManagedEnvironmentsDiagnosticsImpl(clientObject.getManagedEnvironmentsDiagnostics(), this);
+ }
+ return managedEnvironmentsDiagnostics;
+ }
+
+ /**
+ * Gets the resource collection API of ContainerAppsRevisionFunctions.
+ *
+ * @return Resource collection API of ContainerAppsRevisionFunctions.
+ */
+ public ContainerAppsRevisionFunctions containerAppsRevisionFunctions() {
+ if (this.containerAppsRevisionFunctions == null) {
+ this.containerAppsRevisionFunctions
+ = new ContainerAppsRevisionFunctionsImpl(clientObject.getContainerAppsRevisionFunctions(), this);
+ }
+ return containerAppsRevisionFunctions;
+ }
+
+ /**
+ * Gets the resource collection API of ConnectedEnvironmentsCertificates. It manages Certificate.
+ *
+ * @return Resource collection API of ConnectedEnvironmentsCertificates.
+ */
+ public ConnectedEnvironmentsCertificates connectedEnvironmentsCertificates() {
+ if (this.connectedEnvironmentsCertificates == null) {
+ this.connectedEnvironmentsCertificates
+ = new ConnectedEnvironmentsCertificatesImpl(clientObject.getConnectedEnvironmentsCertificates(), this);
+ }
+ return connectedEnvironmentsCertificates;
+ }
+
+ /**
+ * Gets the resource collection API of Namespaces.
+ *
+ * @return Resource collection API of Namespaces.
+ */
+ public Namespaces namespaces() {
+ if (this.namespaces == null) {
+ this.namespaces = new NamespacesImpl(clientObject.getNamespaces(), this);
+ }
+ return namespaces;
+ }
+
+ /**
+ * Gets the resource collection API of ManagedEnvironmentPrivateEndpointConnections. It manages
+ * PrivateEndpointConnection.
+ *
+ * @return Resource collection API of ManagedEnvironmentPrivateEndpointConnections.
+ */
+ public ManagedEnvironmentPrivateEndpointConnections managedEnvironmentPrivateEndpointConnections() {
+ if (this.managedEnvironmentPrivateEndpointConnections == null) {
+ this.managedEnvironmentPrivateEndpointConnections = new ManagedEnvironmentPrivateEndpointConnectionsImpl(
+ clientObject.getManagedEnvironmentPrivateEndpointConnections(), this);
+ }
+ return managedEnvironmentPrivateEndpointConnections;
+ }
+
+ /**
+ * Gets the resource collection API of HttpRouteConfigs. It manages HttpRouteConfig.
+ *
+ * @return Resource collection API of HttpRouteConfigs.
+ */
+ public HttpRouteConfigs httpRouteConfigs() {
+ if (this.httpRouteConfigs == null) {
+ this.httpRouteConfigs = new HttpRouteConfigsImpl(clientObject.getHttpRouteConfigs(), this);
+ }
+ return httpRouteConfigs;
+ }
+
+ /**
+ * Gets the resource collection API of JobsExecutions.
+ *
+ * @return Resource collection API of JobsExecutions.
+ */
+ public JobsExecutions jobsExecutions() {
+ if (this.jobsExecutions == null) {
+ this.jobsExecutions = new JobsExecutionsImpl(clientObject.getJobsExecutions(), this);
+ }
+ return jobsExecutions;
+ }
+
+ /**
+ * Gets the resource collection API of ManagedEnvironmentDiagnostics.
+ *
+ * @return Resource collection API of ManagedEnvironmentDiagnostics.
+ */
+ public ManagedEnvironmentDiagnostics managedEnvironmentDiagnostics() {
+ if (this.managedEnvironmentDiagnostics == null) {
+ this.managedEnvironmentDiagnostics
+ = new ManagedEnvironmentDiagnosticsImpl(clientObject.getManagedEnvironmentDiagnostics(), this);
+ }
+ return managedEnvironmentDiagnostics;
+ }
+
+ /**
+ * Gets the resource collection API of AvailableWorkloadProfiles.
+ *
+ * @return Resource collection API of AvailableWorkloadProfiles.
+ */
+ public AvailableWorkloadProfiles availableWorkloadProfiles() {
+ if (this.availableWorkloadProfiles == null) {
+ this.availableWorkloadProfiles
+ = new AvailableWorkloadProfilesImpl(clientObject.getAvailableWorkloadProfiles(), this);
+ }
+ return availableWorkloadProfiles;
+ }
+
+ /**
+ * Gets the resource collection API of AvailableEnvironmentModes.
+ *
+ * @return Resource collection API of AvailableEnvironmentModes.
+ */
+ public AvailableEnvironmentModes availableEnvironmentModes() {
+ if (this.availableEnvironmentModes == null) {
+ this.availableEnvironmentModes
+ = new AvailableEnvironmentModesImpl(clientObject.getAvailableEnvironmentModes(), this);
+ }
+ return availableEnvironmentModes;
+ }
+
+ /**
+ * Gets the resource collection API of BillingMeters.
+ *
+ * @return Resource collection API of BillingMeters.
+ */
+ public BillingMeters billingMeters() {
+ if (this.billingMeters == null) {
+ this.billingMeters = new BillingMetersImpl(clientObject.getBillingMeters(), this);
+ }
+ return billingMeters;
}
/**
@@ -789,18 +985,6 @@ public ManagedEnvironmentUsages managedEnvironmentUsages() {
return managedEnvironmentUsages;
}
- /**
- * Gets the resource collection API of LogicApps. It manages LogicApp.
- *
- * @return Resource collection API of LogicApps.
- */
- public LogicApps logicApps() {
- if (this.logicApps == null) {
- this.logicApps = new LogicAppsImpl(clientObject.getLogicApps(), this);
- }
- return logicApps;
- }
-
/**
* Gets wrapped service client ContainerAppsApiClient providing direct access to the underlying auto-generated API
* implementation, based on Azure REST API.
diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/AvailableEnvironmentModesClient.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/AvailableEnvironmentModesClient.java
new file mode 100644
index 000000000000..29cffb805d3e
--- /dev/null
+++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/AvailableEnvironmentModesClient.java
@@ -0,0 +1,53 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.appcontainers.fluent;
+
+import com.azure.core.annotation.ReturnType;
+import com.azure.core.annotation.ServiceMethod;
+import com.azure.core.http.rest.PagedIterable;
+import com.azure.core.util.Context;
+import com.azure.resourcemanager.appcontainers.fluent.models.AvailableEnvironmentModeInner;
+
+/**
+ * An instance of this class provides access to all the operations defined in AvailableEnvironmentModesClient.
+ */
+public interface AvailableEnvironmentModesClient {
+ /**
+ * Get available environment modes by location.
+ *
+ * Gets the environment modes available to a subscription in a location.
+ *
+ * @param location The name of the Azure region.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
+ * is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return available environment modes by location.
+ *
+ * Gets the environment modes available to a subscription in a location as paginated response with
+ * {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(String location);
+
+ /**
+ * Get available environment modes by location.
+ *
+ * Gets the environment modes available to a subscription in a location.
+ *
+ * @param location The name of the Azure region.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
+ * is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return available environment modes by location.
+ *
+ * Gets the environment modes available to a subscription in a location as paginated response with
+ * {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(String location, Context context);
+}
diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/AvailableWorkloadProfilesClient.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/AvailableWorkloadProfilesClient.java
index 07b54b046db8..4a2e68fb8ab2 100644
--- a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/AvailableWorkloadProfilesClient.java
+++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/AvailableWorkloadProfilesClient.java
@@ -1,6 +1,6 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
package com.azure.resourcemanager.appcontainers.fluent;
@@ -19,11 +19,13 @@ public interface AvailableWorkloadProfilesClient {
*
* Get all available workload profiles for a location.
*
- * @param location The name of Azure region.
+ * @param location The name of the Azure region.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return all available workload profiles for a location as paginated response with {@link PagedIterable}.
+ * @return available workload profiles by location.
+ *
+ * Get all available workload profiles for a location as paginated response with {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
PagedIterable get(String location);
@@ -33,12 +35,14 @@ public interface AvailableWorkloadProfilesClient {
*
* Get all available workload profiles for a location.
*
- * @param location The name of Azure region.
+ * @param location The name of the Azure region.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return all available workload profiles for a location as paginated response with {@link PagedIterable}.
+ * @return available workload profiles by location.
+ *
+ * Get all available workload profiles for a location as paginated response with {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
PagedIterable get(String location, Context context);
diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/BillingMetersClient.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/BillingMetersClient.java
index 114cdeccd72f..3f30f4b6a66d 100644
--- a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/BillingMetersClient.java
+++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/BillingMetersClient.java
@@ -1,6 +1,6 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
package com.azure.resourcemanager.appcontainers.fluent;
@@ -19,13 +19,15 @@ public interface BillingMetersClient {
*
* Get all billingMeters for a location.
*
- * @param location The name of Azure region.
+ * @param location The name of the Azure region.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
* is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return all billingMeters for a location along with {@link Response}.
+ * @return billing meters by location.
+ *
+ * Get all billingMeters for a location along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Response getWithResponse(String location, Context context);
@@ -35,12 +37,14 @@ public interface BillingMetersClient {
*
* Get all billingMeters for a location.
*
- * @param location The name of Azure region.
+ * @param location The name of the Azure region.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
* is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return all billingMeters for a location.
+ * @return billing meters by location.
+ *
+ * Get all billingMeters for a location.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
BillingMeterCollectionInner get(String location);
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 5963e2aaa823..aa6c69797146 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
@@ -1,6 +1,6 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
package com.azure.resourcemanager.appcontainers.fluent;
@@ -17,99 +17,104 @@
*/
public interface CertificatesClient {
/**
- * Get the Certificates in a given managed environment.
+ * Get the specified Certificate.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param environmentName Name of the Managed Environment.
+ * @param certificateName Name of the Certificate.
+ * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
- * is rejected by server.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the Certificates in a given managed environment as paginated response with {@link PagedIterable}.
+ * @return the specified Certificate along with {@link Response}.
*/
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list(String resourceGroupName, String environmentName);
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response getWithResponse(String resourceGroupName, String environmentName, String certificateName,
+ Context context);
/**
- * Get the Certificates in a given managed environment.
+ * Get the specified Certificate.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param environmentName Name of the Managed Environment.
- * @param context The context to associate with this operation.
+ * @param certificateName Name of the Certificate.
* @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
- * is rejected by server.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the Certificates in a given managed environment as paginated response with {@link PagedIterable}.
+ * @return the specified Certificate.
*/
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list(String resourceGroupName, String environmentName, Context context);
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ CertificateInner get(String resourceGroupName, String environmentName, String certificateName);
/**
- * Get the specified Certificate.
+ * Create or Update a Certificate.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param environmentName Name of the Managed Environment.
* @param certificateName Name of the Certificate.
+ * @param certificateEnvelope Certificate to be created or updated.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
- * is rejected by server.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the specified Certificate along with {@link Response}.
+ * @return certificate used for Custom Domain bindings of Container Apps in a Managed Environment along with
+ * {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response getWithResponse(String resourceGroupName, String environmentName, String certificateName,
- Context context);
+ Response createOrUpdateWithResponse(String resourceGroupName, String environmentName,
+ String certificateName, CertificateInner certificateEnvelope, Context context);
/**
- * Get the specified Certificate.
+ * Create or Update a Certificate.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param environmentName Name of the Managed Environment.
* @param certificateName Name of the Certificate.
* @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
- * is rejected by server.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the specified Certificate.
+ * @return certificate used for Custom Domain bindings of Container Apps in a Managed Environment.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- CertificateInner get(String resourceGroupName, String environmentName, String certificateName);
+ CertificateInner createOrUpdate(String resourceGroupName, String environmentName, String certificateName);
/**
- * Create or Update a Certificate.
+ * 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.
* @param certificateName Name of the Certificate.
- * @param certificateEnvelope Certificate to be created or updated.
+ * @param certificateEnvelope Properties of a certificate that need to be updated.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
- * is rejected by server.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return certificate used for Custom Domain bindings of Container Apps in a Managed Environment along with
* {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response createOrUpdateWithResponse(String resourceGroupName, String environmentName,
- String certificateName, CertificateInner certificateEnvelope, Context context);
+ Response updateWithResponse(String resourceGroupName, String environmentName,
+ String certificateName, CertificatePatch certificateEnvelope, Context context);
/**
- * Create or Update a Certificate.
+ * 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.
* @param certificateName Name of the Certificate.
+ * @param certificateEnvelope Properties of a certificate that need to be updated.
* @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
- * is rejected by server.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return certificate used for Custom Domain bindings of Container Apps in a Managed Environment.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- CertificateInner createOrUpdate(String resourceGroupName, String environmentName, String certificateName);
+ CertificateInner update(String resourceGroupName, String environmentName, String certificateName,
+ CertificatePatch certificateEnvelope);
/**
* Deletes the specified Certificate.
@@ -119,8 +124,7 @@ Response createOrUpdateWithResponse(String resourceGroupName,
* @param certificateName Name of the Certificate.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
- * is rejected by server.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return the {@link Response}.
*/
@@ -135,50 +139,36 @@ Response deleteWithResponse(String resourceGroupName, String environmentNa
* @param environmentName Name of the Managed Environment.
* @param certificateName Name of the Certificate.
* @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
- * is rejected by server.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
void delete(String resourceGroupName, String environmentName, String certificateName);
/**
- * Update properties of a certificate
- *
- * Patches a certificate. Currently only patching of tags is supported.
+ * Get the Certificates in a given managed environment.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param environmentName Name of the Managed Environment.
- * @param certificateName Name of the Certificate.
- * @param certificateEnvelope Properties of a certificate that need to be updated.
- * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
- * is rejected by server.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return certificate used for Custom Domain bindings of Container Apps in a Managed Environment along with
- * {@link Response}.
+ * @return the Certificates in a given managed environment as paginated response with {@link PagedIterable}.
*/
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response updateWithResponse(String resourceGroupName, String environmentName,
- String certificateName, CertificatePatch certificateEnvelope, Context context);
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(String resourceGroupName, String environmentName);
/**
- * Update properties of a certificate
- *
- * Patches a certificate. Currently only patching of tags is supported.
+ * Get the Certificates in a given managed environment.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param environmentName Name of the Managed Environment.
- * @param certificateName Name of the Certificate.
- * @param certificateEnvelope Properties of a certificate that need to be updated.
+ * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
- * is rejected by server.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return certificate used for Custom Domain bindings of Container Apps in a Managed Environment.
+ * @return the Certificates in a given managed environment as paginated response with {@link PagedIterable}.
*/
- @ServiceMethod(returns = ReturnType.SINGLE)
- CertificateInner update(String resourceGroupName, String environmentName, String certificateName,
- CertificatePatch certificateEnvelope);
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(String resourceGroupName, String environmentName, Context context);
}
diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/ConnectedEnvironmentsCertificatesClient.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/ConnectedEnvironmentsCertificatesClient.java
index 1ecbffea37fb..9ae1c82b1fac 100644
--- a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/ConnectedEnvironmentsCertificatesClient.java
+++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/ConnectedEnvironmentsCertificatesClient.java
@@ -1,6 +1,6 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
package com.azure.resourcemanager.appcontainers.fluent;
@@ -18,33 +18,6 @@
* An instance of this class provides access to all the operations defined in ConnectedEnvironmentsCertificatesClient.
*/
public interface ConnectedEnvironmentsCertificatesClient {
- /**
- * Get the Certificates in a given connected environment.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param connectedEnvironmentName Name of the Connected Environment.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the Certificates in a given connected environment as paginated response with {@link PagedIterable}.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list(String resourceGroupName, String connectedEnvironmentName);
-
- /**
- * Get the Certificates in a given connected environment.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param connectedEnvironmentName Name of the Connected Environment.
- * @param context The context to associate with this operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the Certificates in a given connected environment as paginated response with {@link PagedIterable}.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list(String resourceGroupName, String connectedEnvironmentName, Context context);
-
/**
* Get the specified Certificate.
*
@@ -141,136 +114,163 @@ CertificateInner createOrUpdate(String resourceGroupName, String connectedEnviro
CertificateInner certificateEnvelope, Context context);
/**
- * Deletes the specified Certificate.
+ * 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 connectedEnvironmentName Name of the Connected Environment.
* @param certificateName Name of the Certificate.
+ * @param certificateEnvelope Properties of a certificate that need to be updated.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the {@link SyncPoller} for polling of long-running operation.
+ * @return the {@link SyncPoller} for polling of certificate used for Custom Domain bindings of Container Apps in a
+ * Managed Environment.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, Void> beginDelete(String resourceGroupName, String connectedEnvironmentName,
- String certificateName);
+ SyncPoller, CertificateInner> beginUpdate(String resourceGroupName,
+ String connectedEnvironmentName, String certificateName, CertificatePatch certificateEnvelope);
/**
- * Deletes the specified Certificate.
+ * 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 connectedEnvironmentName Name of the Connected Environment.
* @param certificateName Name of the Certificate.
+ * @param certificateEnvelope Properties of a certificate that need to be updated.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the {@link SyncPoller} for polling of long-running operation.
+ * @return the {@link SyncPoller} for polling of certificate used for Custom Domain bindings of Container Apps in a
+ * Managed Environment.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, Void> beginDelete(String resourceGroupName, String connectedEnvironmentName,
- String certificateName, Context context);
+ SyncPoller, CertificateInner> beginUpdate(String resourceGroupName,
+ String connectedEnvironmentName, String certificateName, CertificatePatch certificateEnvelope, Context context);
/**
- * Deletes the specified Certificate.
+ * 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 connectedEnvironmentName Name of the Connected Environment.
* @param certificateName Name of the Certificate.
+ * @param certificateEnvelope Properties of a certificate that need to be updated.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return certificate used for Custom Domain bindings of Container Apps in a Managed Environment.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- void delete(String resourceGroupName, String connectedEnvironmentName, String certificateName);
+ CertificateInner update(String resourceGroupName, String connectedEnvironmentName, String certificateName,
+ CertificatePatch certificateEnvelope);
/**
- * Deletes the specified Certificate.
+ * 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 connectedEnvironmentName Name of the Connected Environment.
* @param certificateName Name of the Certificate.
+ * @param certificateEnvelope Properties of a certificate that need to be updated.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return certificate used for Custom Domain bindings of Container Apps in a Managed Environment.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- void delete(String resourceGroupName, String connectedEnvironmentName, String certificateName, Context context);
+ CertificateInner update(String resourceGroupName, String connectedEnvironmentName, String certificateName,
+ CertificatePatch certificateEnvelope, Context context);
/**
- * Update properties of a certificate
- *
- * Patches a certificate. Currently only patching of tags is supported.
+ * Deletes the specified Certificate.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param connectedEnvironmentName Name of the Connected Environment.
* @param certificateName Name of the Certificate.
- * @param certificateEnvelope Properties of a certificate that need to be updated.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the {@link SyncPoller} for polling of certificate used for Custom Domain bindings of Container Apps in a
- * Managed Environment.
+ * @return the {@link SyncPoller} for polling of long-running operation.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, CertificateInner> beginUpdate(String resourceGroupName,
- String connectedEnvironmentName, String certificateName, CertificatePatch certificateEnvelope);
+ SyncPoller, Void> beginDelete(String resourceGroupName, String connectedEnvironmentName,
+ String certificateName);
/**
- * Update properties of a certificate
- *
- * Patches a certificate. Currently only patching of tags is supported.
+ * Deletes the specified Certificate.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param connectedEnvironmentName Name of the Connected Environment.
* @param certificateName Name of the Certificate.
- * @param certificateEnvelope Properties of a certificate that need to be updated.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the {@link SyncPoller} for polling of certificate used for Custom Domain bindings of Container Apps in a
- * Managed Environment.
+ * @return the {@link SyncPoller} for polling of long-running operation.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, CertificateInner> beginUpdate(String resourceGroupName,
- String connectedEnvironmentName, String certificateName, CertificatePatch certificateEnvelope, Context context);
+ SyncPoller, Void> beginDelete(String resourceGroupName, String connectedEnvironmentName,
+ String certificateName, Context context);
/**
- * Update properties of a certificate
- *
- * Patches a certificate. Currently only patching of tags is supported.
+ * Deletes the specified Certificate.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param connectedEnvironmentName Name of the Connected Environment.
* @param certificateName Name of the Certificate.
- * @param certificateEnvelope Properties of a certificate that need to be updated.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return certificate used for Custom Domain bindings of Container Apps in a Managed Environment.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- CertificateInner update(String resourceGroupName, String connectedEnvironmentName, String certificateName,
- CertificatePatch certificateEnvelope);
+ void delete(String resourceGroupName, String connectedEnvironmentName, String certificateName);
/**
- * Update properties of a certificate
- *
- * Patches a certificate. Currently only patching of tags is supported.
+ * Deletes the specified Certificate.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param connectedEnvironmentName Name of the Connected Environment.
* @param certificateName Name of the Certificate.
- * @param certificateEnvelope Properties of a certificate that need to be updated.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return certificate used for Custom Domain bindings of Container Apps in a Managed Environment.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- CertificateInner update(String resourceGroupName, String connectedEnvironmentName, String certificateName,
- CertificatePatch certificateEnvelope, Context context);
+ void delete(String resourceGroupName, String connectedEnvironmentName, String certificateName, Context context);
+
+ /**
+ * Get the Certificates in a given connected environment.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param connectedEnvironmentName Name of the Connected Environment.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the Certificates in a given connected environment as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(String resourceGroupName, String connectedEnvironmentName);
+
+ /**
+ * Get the Certificates in a given connected environment.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param connectedEnvironmentName Name of the Connected Environment.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the Certificates in a given connected environment as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(String resourceGroupName, String connectedEnvironmentName, Context context);
}
diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/ConnectedEnvironmentsClient.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/ConnectedEnvironmentsClient.java
index b6785c779d26..0f9509fe05b4 100644
--- a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/ConnectedEnvironmentsClient.java
+++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/ConnectedEnvironmentsClient.java
@@ -1,6 +1,6 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
package com.azure.resourcemanager.appcontainers.fluent;
@@ -20,57 +20,6 @@
* An instance of this class provides access to all the operations defined in ConnectedEnvironmentsClient.
*/
public interface ConnectedEnvironmentsClient {
- /**
- * Get all connectedEnvironments for a subscription.
- *
- * @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
- * is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return all connectedEnvironments for a subscription as paginated response with {@link PagedIterable}.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list();
-
- /**
- * Get all connectedEnvironments for a subscription.
- *
- * @param context The context to associate with this operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
- * is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return all connectedEnvironments for a subscription as paginated response with {@link PagedIterable}.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list(Context context);
-
- /**
- * Get all connectedEnvironments 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.
- * @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
- * is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return all connectedEnvironments in a resource group as paginated response with {@link PagedIterable}.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable listByResourceGroup(String resourceGroupName);
-
- /**
- * Get all connectedEnvironments 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.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
- * is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return all connectedEnvironments in a resource group as paginated response with {@link PagedIterable}.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable listByResourceGroup(String resourceGroupName, Context context);
-
/**
* Get the properties of an connectedEnvironment.
*
@@ -170,6 +119,44 @@ ConnectedEnvironmentInner createOrUpdate(String resourceGroupName, String connec
ConnectedEnvironmentInner createOrUpdate(String resourceGroupName, String connectedEnvironmentName,
ConnectedEnvironmentInner environmentEnvelope, Context context);
+ /**
+ * Update connected Environment's properties.
+ *
+ * Patches a Managed Environment. Only patching of tags is supported currently.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param connectedEnvironmentName Name of the connectedEnvironment.
+ * @param environmentEnvelope Configuration details of the connectedEnvironment.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
+ * is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return an environment for Kubernetes cluster specialized for web workloads by Azure App Service along with
+ * {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response updateWithResponse(String resourceGroupName, String connectedEnvironmentName,
+ ConnectedEnvironmentPatchResource environmentEnvelope, Context context);
+
+ /**
+ * Update connected Environment's properties.
+ *
+ * Patches a Managed Environment. Only patching of tags is supported currently.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param connectedEnvironmentName Name of the connectedEnvironment.
+ * @param environmentEnvelope Configuration details of the connectedEnvironment.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
+ * is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return an environment for Kubernetes cluster specialized for web workloads by Azure App Service.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ ConnectedEnvironmentInner update(String resourceGroupName, String connectedEnvironmentName,
+ ConnectedEnvironmentPatchResource environmentEnvelope);
+
/**
* Delete an connectedEnvironment.
*
@@ -228,42 +215,55 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String
void delete(String resourceGroupName, String connectedEnvironmentName, Context context);
/**
- * Update connected Environment's properties.
+ * Get all connectedEnvironments in a resource group.
*
- * Patches a Managed Environment. Only patching of tags is supported currently.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
+ * is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return all connectedEnvironments in a resource group as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listByResourceGroup(String resourceGroupName);
+
+ /**
+ * Get all connectedEnvironments in a resource group.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param connectedEnvironmentName Name of the connectedEnvironment.
- * @param environmentEnvelope Configuration details of the connectedEnvironment.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
* is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return an environment for Kubernetes cluster specialized for web workloads by Azure App Service along with
- * {@link Response}.
+ * @return all connectedEnvironments in a resource group as paginated response with {@link PagedIterable}.
*/
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response updateWithResponse(String resourceGroupName, String connectedEnvironmentName,
- ConnectedEnvironmentPatchResource environmentEnvelope, Context context);
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listByResourceGroup(String resourceGroupName, Context context);
/**
- * Update connected Environment's properties.
+ * Get all connectedEnvironments for a subscription.
*
- * Patches a Managed Environment. Only patching of tags is supported currently.
+ * @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
+ * is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return all connectedEnvironments for a subscription as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list();
+
+ /**
+ * Get all connectedEnvironments for a subscription.
*
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param connectedEnvironmentName Name of the connectedEnvironment.
- * @param environmentEnvelope Configuration details of the connectedEnvironment.
+ * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
* is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return an environment for Kubernetes cluster specialized for web workloads by Azure App Service.
+ * @return all connectedEnvironments for a subscription as paginated response with {@link PagedIterable}.
*/
- @ServiceMethod(returns = ReturnType.SINGLE)
- ConnectedEnvironmentInner update(String resourceGroupName, String connectedEnvironmentName,
- ConnectedEnvironmentPatchResource environmentEnvelope);
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(Context context);
/**
* Checks the resource connectedEnvironmentName availability.
@@ -271,7 +271,7 @@ ConnectedEnvironmentInner update(String resourceGroupName, String connectedEnvir
* Checks if resource connectedEnvironmentName is available.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param connectedEnvironmentName Name of the Managed Environment.
+ * @param connectedEnvironmentName Name of the connectedEnvironment.
* @param checkNameAvailabilityRequest The check connectedEnvironmentName availability request.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -290,7 +290,7 @@ Response checkNameAvailabilityWithResponse(S
* Checks if resource connectedEnvironmentName is available.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param connectedEnvironmentName Name of the Managed Environment.
+ * @param connectedEnvironmentName Name of the connectedEnvironment.
* @param checkNameAvailabilityRequest The check connectedEnvironmentName availability request.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/ConnectedEnvironmentsDaprComponentsClient.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/ConnectedEnvironmentsDaprComponentsClient.java
index 86c56ba45058..0df1eb436995 100644
--- a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/ConnectedEnvironmentsDaprComponentsClient.java
+++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/ConnectedEnvironmentsDaprComponentsClient.java
@@ -1,6 +1,6 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
package com.azure.resourcemanager.appcontainers.fluent;
@@ -18,35 +18,6 @@
* An instance of this class provides access to all the operations defined in ConnectedEnvironmentsDaprComponentsClient.
*/
public interface ConnectedEnvironmentsDaprComponentsClient {
- /**
- * Get the Dapr Components for a connected environment.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param connectedEnvironmentName Name of the connected environment.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
- * is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the Dapr Components for a connected environment as paginated response with {@link PagedIterable}.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list(String resourceGroupName, String connectedEnvironmentName);
-
- /**
- * Get the Dapr Components for a connected environment.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param connectedEnvironmentName Name of the connected environment.
- * @param context The context to associate with this operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
- * is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the Dapr Components for a connected environment as paginated response with {@link PagedIterable}.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list(String resourceGroupName, String connectedEnvironmentName, Context context);
-
/**
* Get a dapr component.
*
@@ -85,7 +56,7 @@ Response getWithResponse(String resourceGroupName, String co
* Creates or updates a Dapr Component in a connected environment.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param connectedEnvironmentName Name of the connected environment.
+ * @param connectedEnvironmentName Name of the connectedEnvironment.
* @param componentName Name of the Dapr Component.
* @param daprComponentEnvelope Configuration details of the Dapr Component.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -103,7 +74,7 @@ SyncPoller, DaprComponentInner> beginCreateOrUpda
* Creates or updates a Dapr Component in a connected environment.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param connectedEnvironmentName Name of the connected environment.
+ * @param connectedEnvironmentName Name of the connectedEnvironment.
* @param componentName Name of the Dapr Component.
* @param daprComponentEnvelope Configuration details of the Dapr Component.
* @param context The context to associate with this operation.
@@ -123,7 +94,7 @@ SyncPoller, DaprComponentInner> beginCreateOrUpda
* Creates or updates a Dapr Component in a connected environment.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param connectedEnvironmentName Name of the connected environment.
+ * @param connectedEnvironmentName Name of the connectedEnvironment.
* @param componentName Name of the Dapr Component.
* @param daprComponentEnvelope Configuration details of the Dapr Component.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -141,7 +112,7 @@ DaprComponentInner createOrUpdate(String resourceGroupName, String connectedEnvi
* Creates or updates a Dapr Component in a connected environment.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param connectedEnvironmentName Name of the connected environment.
+ * @param connectedEnvironmentName Name of the connectedEnvironment.
* @param componentName Name of the Dapr Component.
* @param daprComponentEnvelope Configuration details of the Dapr Component.
* @param context The context to associate with this operation.
@@ -220,6 +191,35 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String
@ServiceMethod(returns = ReturnType.SINGLE)
void delete(String resourceGroupName, String connectedEnvironmentName, String componentName, Context context);
+ /**
+ * Get the Dapr Components for a connected environment.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param connectedEnvironmentName Name of the connected environment.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
+ * is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the Dapr Components for a connected environment as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(String resourceGroupName, String connectedEnvironmentName);
+
+ /**
+ * Get the Dapr Components for a connected environment.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param connectedEnvironmentName Name of the connected environment.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
+ * is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the Dapr Components for a connected environment as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(String resourceGroupName, String connectedEnvironmentName, Context context);
+
/**
* List secrets for a dapr component.
*
diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/ConnectedEnvironmentsStoragesClient.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/ConnectedEnvironmentsStoragesClient.java
index f90afb1cd96e..e1823b7b3355 100644
--- a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/ConnectedEnvironmentsStoragesClient.java
+++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/ConnectedEnvironmentsStoragesClient.java
@@ -1,6 +1,6 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
package com.azure.resourcemanager.appcontainers.fluent;
@@ -17,41 +17,11 @@
* An instance of this class provides access to all the operations defined in ConnectedEnvironmentsStoragesClient.
*/
public interface ConnectedEnvironmentsStoragesClient {
- /**
- * Get all storages for a connectedEnvironment.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param connectedEnvironmentName Name of the Environment.
- * @param context The context to associate with this operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
- * is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return all storages for a connectedEnvironment along with {@link Response}.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response listWithResponse(String resourceGroupName,
- String connectedEnvironmentName, Context context);
-
- /**
- * Get all storages for a connectedEnvironment.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param connectedEnvironmentName Name of the Environment.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
- * is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return all storages for a connectedEnvironment.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- ConnectedEnvironmentStoragesCollectionInner list(String resourceGroupName, String connectedEnvironmentName);
-
/**
* Get storage for a connectedEnvironment.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param connectedEnvironmentName Name of the Environment.
+ * @param connectedEnvironmentName Name of the connectedEnvironment.
* @param storageName Name of the storage.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -68,7 +38,7 @@ Response getWithResponse(String resourceGroupN
* Get storage for a connectedEnvironment.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param connectedEnvironmentName Name of the Environment.
+ * @param connectedEnvironmentName Name of the connectedEnvironment.
* @param storageName Name of the storage.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
@@ -83,7 +53,7 @@ Response getWithResponse(String resourceGroupN
* Create or update storage for a connectedEnvironment.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param connectedEnvironmentName Name of the Environment.
+ * @param connectedEnvironmentName Name of the connectedEnvironment.
* @param storageName Name of the storage.
* @param storageEnvelope Configuration details of storage.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -100,7 +70,7 @@ SyncPoller, ConnectedEnvironmentSto
* Create or update storage for a connectedEnvironment.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param connectedEnvironmentName Name of the Environment.
+ * @param connectedEnvironmentName Name of the connectedEnvironment.
* @param storageName Name of the storage.
* @param storageEnvelope Configuration details of storage.
* @param context The context to associate with this operation.
@@ -118,7 +88,7 @@ SyncPoller, ConnectedEnvironmentSto
* Create or update storage for a connectedEnvironment.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param connectedEnvironmentName Name of the Environment.
+ * @param connectedEnvironmentName Name of the connectedEnvironment.
* @param storageName Name of the storage.
* @param storageEnvelope Configuration details of storage.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -134,7 +104,7 @@ ConnectedEnvironmentStorageInner createOrUpdate(String resourceGroupName, String
* Create or update storage for a connectedEnvironment.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param connectedEnvironmentName Name of the Environment.
+ * @param connectedEnvironmentName Name of the connectedEnvironment.
* @param storageName Name of the storage.
* @param storageEnvelope Configuration details of storage.
* @param context The context to associate with this operation.
@@ -151,7 +121,7 @@ ConnectedEnvironmentStorageInner createOrUpdate(String resourceGroupName, String
* Delete storage for a connectedEnvironment.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param connectedEnvironmentName Name of the Environment.
+ * @param connectedEnvironmentName Name of the connectedEnvironment.
* @param storageName Name of the storage.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -166,7 +136,7 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String
* Delete storage for a connectedEnvironment.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param connectedEnvironmentName Name of the Environment.
+ * @param connectedEnvironmentName Name of the connectedEnvironment.
* @param storageName Name of the storage.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -182,7 +152,7 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String
* Delete storage for a connectedEnvironment.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param connectedEnvironmentName Name of the Environment.
+ * @param connectedEnvironmentName Name of the connectedEnvironment.
* @param storageName Name of the storage.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -195,7 +165,7 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String
* Delete storage for a connectedEnvironment.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param connectedEnvironmentName Name of the Environment.
+ * @param connectedEnvironmentName Name of the connectedEnvironment.
* @param storageName Name of the storage.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -204,4 +174,34 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String
*/
@ServiceMethod(returns = ReturnType.SINGLE)
void delete(String resourceGroupName, String connectedEnvironmentName, String storageName, Context context);
+
+ /**
+ * Get all storages for a connectedEnvironment.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param connectedEnvironmentName Name of the connectedEnvironment.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
+ * is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return all storages for a connectedEnvironment along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response listWithResponse(String resourceGroupName,
+ String connectedEnvironmentName, Context context);
+
+ /**
+ * Get all storages for a connectedEnvironment.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param connectedEnvironmentName Name of the connectedEnvironment.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
+ * is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return all storages for a connectedEnvironment.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ ConnectedEnvironmentStoragesCollectionInner list(String resourceGroupName, String connectedEnvironmentName);
}
diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/ContainerAppPrivateEndpointConnectionsClient.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/ContainerAppPrivateEndpointConnectionsClient.java
new file mode 100644
index 000000000000..c19c6ba2878b
--- /dev/null
+++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/ContainerAppPrivateEndpointConnectionsClient.java
@@ -0,0 +1,237 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.appcontainers.fluent;
+
+import com.azure.core.annotation.ReturnType;
+import com.azure.core.annotation.ServiceMethod;
+import com.azure.core.http.rest.PagedIterable;
+import com.azure.core.http.rest.Response;
+import com.azure.core.management.polling.PollResult;
+import com.azure.core.util.Context;
+import com.azure.core.util.polling.SyncPoller;
+import com.azure.resourcemanager.appcontainers.fluent.models.PrivateEndpointConnectionInner;
+
+/**
+ * An instance of this class provides access to all the operations defined in
+ * ContainerAppPrivateEndpointConnectionsClient.
+ */
+public interface ContainerAppPrivateEndpointConnectionsClient {
+ /**
+ * Get a private endpoint connection for a given Container App.
+ *
+ * Gets the details of a private endpoint connection associated with a Container App.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param containerAppName Name of the Container App.
+ * @param privateEndpointConnectionName Name of the Private Endpoint Connection.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a private endpoint connection for a given Container App.
+ *
+ * Gets the details of a private endpoint connection associated with a Container App along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response getWithResponse(String resourceGroupName, String containerAppName,
+ String privateEndpointConnectionName, Context context);
+
+ /**
+ * Get a private endpoint connection for a given Container App.
+ *
+ * Gets the details of a private endpoint connection associated with a Container App.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param containerAppName Name of the Container App.
+ * @param privateEndpointConnectionName Name of the Private Endpoint Connection.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a private endpoint connection for a given Container App.
+ *
+ * Gets the details of a private endpoint connection associated with a Container App.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ PrivateEndpointConnectionInner get(String resourceGroupName, String containerAppName,
+ String privateEndpointConnectionName);
+
+ /**
+ * Update the state of a private endpoint connection for a given Container App.
+ *
+ * Creates a private endpoint connection or updates its connection state for a Container App.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param containerAppName Name of the Container App.
+ * @param privateEndpointConnectionName Name of the Private Endpoint Connection.
+ * @param privateEndpointConnectionEnvelope The resource of private endpoint and its properties.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link SyncPoller} for polling of the Private Endpoint Connection resource.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, PrivateEndpointConnectionInner> beginCreateOrUpdate(
+ String resourceGroupName, String containerAppName, String privateEndpointConnectionName,
+ PrivateEndpointConnectionInner privateEndpointConnectionEnvelope);
+
+ /**
+ * Update the state of a private endpoint connection for a given Container App.
+ *
+ * Creates a private endpoint connection or updates its connection state for a Container App.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param containerAppName Name of the Container App.
+ * @param privateEndpointConnectionName Name of the Private Endpoint Connection.
+ * @param privateEndpointConnectionEnvelope The resource of private endpoint and its properties.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link SyncPoller} for polling of the Private Endpoint Connection resource.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, PrivateEndpointConnectionInner> beginCreateOrUpdate(
+ String resourceGroupName, String containerAppName, String privateEndpointConnectionName,
+ PrivateEndpointConnectionInner privateEndpointConnectionEnvelope, Context context);
+
+ /**
+ * Update the state of a private endpoint connection for a given Container App.
+ *
+ * Creates a private endpoint connection or updates its connection state for a Container App.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param containerAppName Name of the Container App.
+ * @param privateEndpointConnectionName Name of the Private Endpoint Connection.
+ * @param privateEndpointConnectionEnvelope The resource of private endpoint and its properties.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the Private Endpoint Connection resource.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ PrivateEndpointConnectionInner createOrUpdate(String resourceGroupName, String containerAppName,
+ String privateEndpointConnectionName, PrivateEndpointConnectionInner privateEndpointConnectionEnvelope);
+
+ /**
+ * Update the state of a private endpoint connection for a given Container App.
+ *
+ * Creates a private endpoint connection or updates its connection state for a Container App.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param containerAppName Name of the Container App.
+ * @param privateEndpointConnectionName Name of the Private Endpoint Connection.
+ * @param privateEndpointConnectionEnvelope The resource of private endpoint and its properties.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the Private Endpoint Connection resource.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ PrivateEndpointConnectionInner createOrUpdate(String resourceGroupName, String containerAppName,
+ String privateEndpointConnectionName, PrivateEndpointConnectionInner privateEndpointConnectionEnvelope,
+ Context context);
+
+ /**
+ * Delete a private endpoint connection for a given Container App.
+ *
+ * Deletes the specified private endpoint connection associated with a Container App.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param containerAppName Name of the Container App.
+ * @param privateEndpointConnectionName Name of the Private Endpoint Connection.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link SyncPoller} for polling of long-running operation.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, Void> beginDelete(String resourceGroupName, String containerAppName,
+ String privateEndpointConnectionName);
+
+ /**
+ * Delete a private endpoint connection for a given Container App.
+ *
+ * Deletes the specified private endpoint connection associated with a Container App.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param containerAppName Name of the Container App.
+ * @param privateEndpointConnectionName Name of the Private Endpoint Connection.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link SyncPoller} for polling of long-running operation.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, Void> beginDelete(String resourceGroupName, String containerAppName,
+ String privateEndpointConnectionName, Context context);
+
+ /**
+ * Delete a private endpoint connection for a given Container App.
+ *
+ * Deletes the specified private endpoint connection associated with a Container App.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param containerAppName Name of the Container App.
+ * @param privateEndpointConnectionName Name of the Private Endpoint Connection.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ void delete(String resourceGroupName, String containerAppName, String privateEndpointConnectionName);
+
+ /**
+ * Delete a private endpoint connection for a given Container App.
+ *
+ * Deletes the specified private endpoint connection associated with a Container App.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param containerAppName Name of the Container App.
+ * @param privateEndpointConnectionName Name of the Private Endpoint Connection.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ void delete(String resourceGroupName, String containerAppName, String privateEndpointConnectionName,
+ Context context);
+
+ /**
+ * List private endpoint connections for a given Container App.
+ *
+ * Lists all private endpoint connections associated with a Container App.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param containerAppName Name of the Container App.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response of a PrivateEndpointConnection list operation as paginated response with
+ * {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(String resourceGroupName, String containerAppName);
+
+ /**
+ * List private endpoint connections for a given Container App.
+ *
+ * Lists all private endpoint connections associated with a Container App.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param containerAppName Name of the Container App.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response of a PrivateEndpointConnection list operation as paginated response with
+ * {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(String resourceGroupName, String containerAppName,
+ Context context);
+}
diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/ContainerAppPrivateLinkResourcesClient.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/ContainerAppPrivateLinkResourcesClient.java
new file mode 100644
index 000000000000..711d3eb087bc
--- /dev/null
+++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/ContainerAppPrivateLinkResourcesClient.java
@@ -0,0 +1,88 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.appcontainers.fluent;
+
+import com.azure.core.annotation.ReturnType;
+import com.azure.core.annotation.ServiceMethod;
+import com.azure.core.http.rest.PagedIterable;
+import com.azure.core.http.rest.Response;
+import com.azure.core.util.Context;
+import com.azure.resourcemanager.appcontainers.fluent.models.PrivateLinkResourceInner;
+
+/**
+ * An instance of this class provides access to all the operations defined in ContainerAppPrivateLinkResourcesClient.
+ */
+public interface ContainerAppPrivateLinkResourcesClient {
+ /**
+ * List private link resources for a given Container App.
+ *
+ * Lists the private link resources supported by a Container App.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param containerAppName Name of the Container App.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return list of private link resources for a managed environment as paginated response with
+ * {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(String resourceGroupName, String containerAppName);
+
+ /**
+ * List private link resources for a given Container App.
+ *
+ * Lists the private link resources supported by a Container App.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param containerAppName Name of the Container App.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return list of private link resources for a managed environment as paginated response with
+ * {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(String resourceGroupName, String containerAppName, Context context);
+
+ /**
+ * Get a private link resource for a given Container App.
+ *
+ * Gets the details of a private link resource supported by a Container App.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param containerAppName Name of the Container App.
+ * @param privateLinkResourceName The name of the private link associated with the Azure resource.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a private link resource for a given Container App.
+ *
+ * Gets the details of a private link resource supported by a Container App along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response getWithResponse(String resourceGroupName, String containerAppName,
+ String privateLinkResourceName, Context context);
+
+ /**
+ * Get a private link resource for a given Container App.
+ *
+ * Gets the details of a private link resource supported by a Container App.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param containerAppName Name of the Container App.
+ * @param privateLinkResourceName The name of the private link associated with the Azure resource.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a private link resource for a given Container App.
+ *
+ * Gets the details of a private link resource supported by a Container App.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ PrivateLinkResourceInner get(String resourceGroupName, String containerAppName, String privateLinkResourceName);
+}
diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/ContainerAppsApiClient.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/ContainerAppsApiClient.java
index ecbb56d2e988..8ee8abdc89f7 100644
--- a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/ContainerAppsApiClient.java
+++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/ContainerAppsApiClient.java
@@ -1,6 +1,6 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
package com.azure.resourcemanager.appcontainers.fluent;
@@ -12,26 +12,26 @@
*/
public interface ContainerAppsApiClient {
/**
- * Gets The ID of the target subscription.
- *
- * @return the subscriptionId value.
- */
- String getSubscriptionId();
-
- /**
- * Gets server parameter.
+ * Gets Service host.
*
* @return the endpoint value.
*/
String getEndpoint();
/**
- * Gets Api Version.
+ * Gets Version parameter.
*
* @return the apiVersion value.
*/
String getApiVersion();
+ /**
+ * Gets The ID of the target subscription. The value must be an UUID.
+ *
+ * @return the subscriptionId value.
+ */
+ String getSubscriptionId();
+
/**
* Gets The HTTP pipeline to send requests through.
*
@@ -47,60 +47,60 @@ public interface ContainerAppsApiClient {
Duration getDefaultPollInterval();
/**
- * Gets the ContainerAppsAuthConfigsClient object to access its operations.
+ * Gets the ResourceProvidersClient object to access its operations.
*
- * @return the ContainerAppsAuthConfigsClient object.
+ * @return the ResourceProvidersClient object.
*/
- ContainerAppsAuthConfigsClient getContainerAppsAuthConfigs();
+ ResourceProvidersClient getResourceProviders();
/**
- * Gets the AvailableWorkloadProfilesClient object to access its operations.
+ * Gets the OperationsClient object to access its operations.
*
- * @return the AvailableWorkloadProfilesClient object.
+ * @return the OperationsClient object.
*/
- AvailableWorkloadProfilesClient getAvailableWorkloadProfiles();
+ OperationsClient getOperations();
/**
- * Gets the BillingMetersClient object to access its operations.
+ * Gets the ContainerAppsSessionPoolsClient object to access its operations.
*
- * @return the BillingMetersClient object.
+ * @return the ContainerAppsSessionPoolsClient object.
*/
- BillingMetersClient getBillingMeters();
+ ContainerAppsSessionPoolsClient getContainerAppsSessionPools();
/**
- * Gets the ConnectedEnvironmentsClient object to access its operations.
+ * Gets the SandboxGroupsClient object to access its operations.
*
- * @return the ConnectedEnvironmentsClient object.
+ * @return the SandboxGroupsClient object.
*/
- ConnectedEnvironmentsClient getConnectedEnvironments();
+ SandboxGroupsClient getSandboxGroups();
/**
- * Gets the ConnectedEnvironmentsCertificatesClient object to access its operations.
+ * Gets the VnetConnectionsClient object to access its operations.
*
- * @return the ConnectedEnvironmentsCertificatesClient object.
+ * @return the VnetConnectionsClient object.
*/
- ConnectedEnvironmentsCertificatesClient getConnectedEnvironmentsCertificates();
+ VnetConnectionsClient getVnetConnections();
/**
- * Gets the ConnectedEnvironmentsDaprComponentsClient object to access its operations.
+ * Gets the ContainerAppsSourceControlsClient object to access its operations.
*
- * @return the ConnectedEnvironmentsDaprComponentsClient object.
+ * @return the ContainerAppsSourceControlsClient object.
*/
- ConnectedEnvironmentsDaprComponentsClient getConnectedEnvironmentsDaprComponents();
+ ContainerAppsSourceControlsClient getContainerAppsSourceControls();
/**
- * Gets the ConnectedEnvironmentsStoragesClient object to access its operations.
+ * Gets the ContainerAppsClient object to access its operations.
*
- * @return the ConnectedEnvironmentsStoragesClient object.
+ * @return the ContainerAppsClient object.
*/
- ConnectedEnvironmentsStoragesClient getConnectedEnvironmentsStorages();
+ ContainerAppsClient getContainerApps();
/**
- * Gets the ContainerAppsClient object to access its operations.
+ * Gets the ContainerAppsFunctionsClient object to access its operations.
*
- * @return the ContainerAppsClient object.
+ * @return the ContainerAppsFunctionsClient object.
*/
- ContainerAppsClient getContainerApps();
+ ContainerAppsFunctionsClient getContainerAppsFunctions();
/**
* Gets the ContainerAppsRevisionsClient object to access its operations.
@@ -110,67 +110,67 @@ public interface ContainerAppsApiClient {
ContainerAppsRevisionsClient getContainerAppsRevisions();
/**
- * Gets the ContainerAppsRevisionReplicasClient object to access its operations.
+ * Gets the FunctionsExtensionsClient object to access its operations.
*
- * @return the ContainerAppsRevisionReplicasClient object.
+ * @return the FunctionsExtensionsClient object.
*/
- ContainerAppsRevisionReplicasClient getContainerAppsRevisionReplicas();
+ FunctionsExtensionsClient getFunctionsExtensions();
/**
- * Gets the ContainerAppsDiagnosticsClient object to access its operations.
+ * Gets the ContainerAppsLabelHistoriesClient object to access its operations.
*
- * @return the ContainerAppsDiagnosticsClient object.
+ * @return the ContainerAppsLabelHistoriesClient object.
*/
- ContainerAppsDiagnosticsClient getContainerAppsDiagnostics();
+ ContainerAppsLabelHistoriesClient getContainerAppsLabelHistories();
/**
- * Gets the ManagedEnvironmentDiagnosticsClient object to access its operations.
+ * Gets the ContainerAppsRevisionReplicasClient object to access its operations.
*
- * @return the ManagedEnvironmentDiagnosticsClient object.
+ * @return the ContainerAppsRevisionReplicasClient object.
*/
- ManagedEnvironmentDiagnosticsClient getManagedEnvironmentDiagnostics();
+ ContainerAppsRevisionReplicasClient getContainerAppsRevisionReplicas();
/**
- * Gets the ManagedEnvironmentsDiagnosticsClient object to access its operations.
+ * Gets the DotNetComponentsClient object to access its operations.
*
- * @return the ManagedEnvironmentsDiagnosticsClient object.
+ * @return the DotNetComponentsClient object.
*/
- ManagedEnvironmentsDiagnosticsClient getManagedEnvironmentsDiagnostics();
+ DotNetComponentsClient getDotNetComponents();
/**
- * Gets the JobsClient object to access its operations.
+ * Gets the JavaComponentsClient object to access its operations.
*
- * @return the JobsClient object.
+ * @return the JavaComponentsClient object.
*/
- JobsClient getJobs();
+ JavaComponentsClient getJavaComponents();
/**
- * Gets the OperationsClient object to access its operations.
+ * Gets the LogicAppsClient object to access its operations.
*
- * @return the OperationsClient object.
+ * @return the LogicAppsClient object.
*/
- OperationsClient getOperations();
+ LogicAppsClient getLogicApps();
/**
- * Gets the JavaComponentsClient object to access its operations.
+ * Gets the ContainerAppsAuthConfigsClient object to access its operations.
*
- * @return the JavaComponentsClient object.
+ * @return the ContainerAppsAuthConfigsClient object.
*/
- JavaComponentsClient getJavaComponents();
+ ContainerAppsAuthConfigsClient getContainerAppsAuthConfigs();
/**
- * Gets the JobsExecutionsClient object to access its operations.
+ * Gets the ConnectedEnvironmentsClient object to access its operations.
*
- * @return the JobsExecutionsClient object.
+ * @return the ConnectedEnvironmentsClient object.
*/
- JobsExecutionsClient getJobsExecutions();
+ ConnectedEnvironmentsClient getConnectedEnvironments();
/**
- * Gets the ResourceProvidersClient object to access its operations.
+ * Gets the CertificatesClient object to access its operations.
*
- * @return the ResourceProvidersClient object.
+ * @return the CertificatesClient object.
*/
- ResourceProvidersClient getResourceProviders();
+ CertificatesClient getCertificates();
/**
* Gets the ManagedEnvironmentsClient object to access its operations.
@@ -180,11 +180,25 @@ public interface ContainerAppsApiClient {
ManagedEnvironmentsClient getManagedEnvironments();
/**
- * Gets the CertificatesClient object to access its operations.
+ * Gets the ConnectedEnvironmentsDaprComponentsClient object to access its operations.
*
- * @return the CertificatesClient object.
+ * @return the ConnectedEnvironmentsDaprComponentsClient object.
*/
- CertificatesClient getCertificates();
+ ConnectedEnvironmentsDaprComponentsClient getConnectedEnvironmentsDaprComponents();
+
+ /**
+ * Gets the DaprComponentsClient object to access its operations.
+ *
+ * @return the DaprComponentsClient object.
+ */
+ DaprComponentsClient getDaprComponents();
+
+ /**
+ * Gets the ConnectedEnvironmentsStoragesClient object to access its operations.
+ *
+ * @return the ConnectedEnvironmentsStoragesClient object.
+ */
+ ConnectedEnvironmentsStoragesClient getConnectedEnvironmentsStorages();
/**
* Gets the ManagedCertificatesClient object to access its operations.
@@ -194,18 +208,18 @@ public interface ContainerAppsApiClient {
ManagedCertificatesClient getManagedCertificates();
/**
- * Gets the NamespacesClient object to access its operations.
+ * Gets the ContainerAppPrivateEndpointConnectionsClient object to access its operations.
*
- * @return the NamespacesClient object.
+ * @return the ContainerAppPrivateEndpointConnectionsClient object.
*/
- NamespacesClient getNamespaces();
+ ContainerAppPrivateEndpointConnectionsClient getContainerAppPrivateEndpointConnections();
/**
- * Gets the ManagedEnvironmentPrivateEndpointConnectionsClient object to access its operations.
+ * Gets the ContainerAppPrivateLinkResourcesClient object to access its operations.
*
- * @return the ManagedEnvironmentPrivateEndpointConnectionsClient object.
+ * @return the ContainerAppPrivateLinkResourcesClient object.
*/
- ManagedEnvironmentPrivateEndpointConnectionsClient getManagedEnvironmentPrivateEndpointConnections();
+ ContainerAppPrivateLinkResourcesClient getContainerAppPrivateLinkResources();
/**
* Gets the ManagedEnvironmentPrivateLinkResourcesClient object to access its operations.
@@ -215,11 +229,74 @@ public interface ContainerAppsApiClient {
ManagedEnvironmentPrivateLinkResourcesClient getManagedEnvironmentPrivateLinkResources();
/**
- * Gets the DaprComponentsClient object to access its operations.
+ * Gets the DaprComponentResiliencyPoliciesClient object to access its operations.
*
- * @return the DaprComponentsClient object.
+ * @return the DaprComponentResiliencyPoliciesClient object.
*/
- DaprComponentsClient getDaprComponents();
+ DaprComponentResiliencyPoliciesClient getDaprComponentResiliencyPolicies();
+
+ /**
+ * Gets the MaintenanceConfigurationsClient object to access its operations.
+ *
+ * @return the MaintenanceConfigurationsClient object.
+ */
+ MaintenanceConfigurationsClient getMaintenanceConfigurations();
+
+ /**
+ * Gets the ManagedEnvironmentsStoragesClient object to access its operations.
+ *
+ * @return the ManagedEnvironmentsStoragesClient object.
+ */
+ ManagedEnvironmentsStoragesClient getManagedEnvironmentsStorages();
+
+ /**
+ * Gets the JobsClient object to access its operations.
+ *
+ * @return the JobsClient object.
+ */
+ JobsClient getJobs();
+
+ /**
+ * Gets the ContainerAppsDiagnosticsClient object to access its operations.
+ *
+ * @return the ContainerAppsDiagnosticsClient object.
+ */
+ ContainerAppsDiagnosticsClient getContainerAppsDiagnostics();
+
+ /**
+ * Gets the ManagedEnvironmentsDiagnosticsClient object to access its operations.
+ *
+ * @return the ManagedEnvironmentsDiagnosticsClient object.
+ */
+ ManagedEnvironmentsDiagnosticsClient getManagedEnvironmentsDiagnostics();
+
+ /**
+ * Gets the ContainerAppsRevisionFunctionsClient object to access its operations.
+ *
+ * @return the ContainerAppsRevisionFunctionsClient object.
+ */
+ ContainerAppsRevisionFunctionsClient getContainerAppsRevisionFunctions();
+
+ /**
+ * Gets the ConnectedEnvironmentsCertificatesClient object to access its operations.
+ *
+ * @return the ConnectedEnvironmentsCertificatesClient object.
+ */
+ ConnectedEnvironmentsCertificatesClient getConnectedEnvironmentsCertificates();
+
+ /**
+ * Gets the NamespacesClient object to access its operations.
+ *
+ * @return the NamespacesClient object.
+ */
+ NamespacesClient getNamespaces();
+
+ /**
+ * Gets the ManagedEnvironmentPrivateEndpointConnectionsClient object to access its operations.
+ *
+ * @return the ManagedEnvironmentPrivateEndpointConnectionsClient object.
+ */
+ ManagedEnvironmentPrivateEndpointConnectionsClient getManagedEnvironmentPrivateEndpointConnections();
/**
* Gets the HttpRouteConfigsClient object to access its operations.
@@ -229,32 +306,39 @@ public interface ContainerAppsApiClient {
HttpRouteConfigsClient getHttpRouteConfigs();
/**
- * Gets the MaintenanceConfigurationsClient object to access its operations.
+ * Gets the JobsExecutionsClient object to access its operations.
*
- * @return the MaintenanceConfigurationsClient object.
+ * @return the JobsExecutionsClient object.
*/
- MaintenanceConfigurationsClient getMaintenanceConfigurations();
+ JobsExecutionsClient getJobsExecutions();
/**
- * Gets the ManagedEnvironmentsStoragesClient object to access its operations.
+ * Gets the ManagedEnvironmentDiagnosticsClient object to access its operations.
*
- * @return the ManagedEnvironmentsStoragesClient object.
+ * @return the ManagedEnvironmentDiagnosticsClient object.
*/
- ManagedEnvironmentsStoragesClient getManagedEnvironmentsStorages();
+ ManagedEnvironmentDiagnosticsClient getManagedEnvironmentDiagnostics();
/**
- * Gets the ContainerAppsSessionPoolsClient object to access its operations.
+ * Gets the AvailableWorkloadProfilesClient object to access its operations.
*
- * @return the ContainerAppsSessionPoolsClient object.
+ * @return the AvailableWorkloadProfilesClient object.
*/
- ContainerAppsSessionPoolsClient getContainerAppsSessionPools();
+ AvailableWorkloadProfilesClient getAvailableWorkloadProfiles();
/**
- * Gets the ContainerAppsSourceControlsClient object to access its operations.
+ * Gets the AvailableEnvironmentModesClient object to access its operations.
*
- * @return the ContainerAppsSourceControlsClient object.
+ * @return the AvailableEnvironmentModesClient object.
*/
- ContainerAppsSourceControlsClient getContainerAppsSourceControls();
+ AvailableEnvironmentModesClient getAvailableEnvironmentModes();
+
+ /**
+ * Gets the BillingMetersClient object to access its operations.
+ *
+ * @return the BillingMetersClient object.
+ */
+ BillingMetersClient getBillingMeters();
/**
* Gets the UsagesClient object to access its operations.
@@ -269,11 +353,4 @@ public interface ContainerAppsApiClient {
* @return the ManagedEnvironmentUsagesClient object.
*/
ManagedEnvironmentUsagesClient getManagedEnvironmentUsages();
-
- /**
- * Gets the LogicAppsClient object to access its operations.
- *
- * @return the LogicAppsClient object.
- */
- LogicAppsClient getLogicApps();
}
diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/ContainerAppsAuthConfigsClient.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/ContainerAppsAuthConfigsClient.java
index c28af17f98d3..2fa996ff7ac4 100644
--- a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/ContainerAppsAuthConfigsClient.java
+++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/ContainerAppsAuthConfigsClient.java
@@ -1,6 +1,6 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
package com.azure.resourcemanager.appcontainers.fluent;
@@ -15,36 +15,6 @@
* An instance of this class provides access to all the operations defined in ContainerAppsAuthConfigsClient.
*/
public interface ContainerAppsAuthConfigsClient {
- /**
- * Get the Container App AuthConfigs in a given resource group.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param containerAppName Name of the Container App.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
- * is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the Container App AuthConfigs in a given resource group as paginated response with {@link PagedIterable}.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable listByContainerApp(String resourceGroupName, String containerAppName);
-
- /**
- * Get the Container App AuthConfigs in a given resource group.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param containerAppName Name of the Container App.
- * @param context The context to associate with this operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
- * is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the Container App AuthConfigs in a given resource group as paginated response with {@link PagedIterable}.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable listByContainerApp(String resourceGroupName, String containerAppName,
- Context context);
-
/**
* Get a AuthConfig of a Container App.
*
@@ -143,4 +113,34 @@ Response deleteWithResponse(String resourceGroupName, String containerAppN
*/
@ServiceMethod(returns = ReturnType.SINGLE)
void delete(String resourceGroupName, String containerAppName, String authConfigName);
+
+ /**
+ * Get the Container App AuthConfigs in a given resource group.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param containerAppName Name of the Container App.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
+ * is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the Container App AuthConfigs in a given resource group as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listByContainerApp(String resourceGroupName, String containerAppName);
+
+ /**
+ * Get the Container App AuthConfigs in a given resource group.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param containerAppName Name of the Container App.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
+ * is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the Container App AuthConfigs in a given resource group as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listByContainerApp(String resourceGroupName, String containerAppName,
+ Context context);
}
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 83db692d17af..f4ec3e4ea898 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
@@ -1,6 +1,6 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
package com.azure.resourcemanager.appcontainers.fluent;
@@ -21,105 +21,124 @@
*/
public interface ContainerAppsClient {
/**
- * Get the Container Apps in a given subscription.
+ * Get the properties of a Container App.
*
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param containerAppName Name of the Container App.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server on
+ * status code 404.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the Container Apps in a given subscription as paginated response with {@link PagedIterable}.
+ * @return the properties of a Container App along with {@link Response}.
*/
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list();
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response getByResourceGroupWithResponse(String resourceGroupName, String containerAppName,
+ Context context);
/**
- * Get the Container Apps in a given subscription.
+ * Get the properties of a Container App.
*
- * @param context The context to associate with this operation.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param containerAppName Name of the Container App.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server on
+ * status code 404.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the Container Apps in a given subscription as paginated response with {@link PagedIterable}.
+ * @return the properties of a Container App.
*/
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list(Context context);
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ ContainerAppInner getByResourceGroup(String resourceGroupName, String containerAppName);
/**
- * Get the Container Apps in a given resource group.
+ * Create or update a Container App.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param containerAppName Name of the Container App.
+ * @param containerAppEnvelope Properties used to create a container app.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the Container Apps in a given resource group as paginated response with {@link PagedIterable}.
+ * @return the {@link SyncPoller} for polling of container App.
*/
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable listByResourceGroup(String resourceGroupName);
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, ContainerAppInner> beginCreateOrUpdate(String resourceGroupName,
+ String containerAppName, ContainerAppInner containerAppEnvelope);
/**
- * Get the Container Apps in a given resource group.
+ * Create or update a Container App.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param containerAppName Name of the Container App.
+ * @param containerAppEnvelope Properties used to create a container app.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the Container Apps in a given resource group as paginated response with {@link PagedIterable}.
+ * @return the {@link SyncPoller} for polling of container App.
*/
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable listByResourceGroup(String resourceGroupName, Context context);
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, ContainerAppInner> beginCreateOrUpdate(String resourceGroupName,
+ String containerAppName, ContainerAppInner containerAppEnvelope, Context context);
/**
- * Get the properties of a Container App.
+ * Create or update a Container App.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param containerAppName Name of the Container App.
- * @param context The context to associate with this operation.
+ * @param containerAppEnvelope Properties used to create a container app.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server on
- * status code 404.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the properties of a Container App along with {@link Response}.
+ * @return container App.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response getByResourceGroupWithResponse(String resourceGroupName, String containerAppName,
- Context context);
+ ContainerAppInner createOrUpdate(String resourceGroupName, String containerAppName,
+ ContainerAppInner containerAppEnvelope);
/**
- * Get the properties of a Container App.
+ * Create or update a Container App.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param containerAppName Name of the Container App.
+ * @param containerAppEnvelope Properties used to create a container app.
+ * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server on
- * status code 404.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the properties of a Container App.
+ * @return container App.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- ContainerAppInner getByResourceGroup(String resourceGroupName, String containerAppName);
+ ContainerAppInner createOrUpdate(String resourceGroupName, String containerAppName,
+ ContainerAppInner containerAppEnvelope, Context context);
/**
- * Create or update a Container App.
+ * 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.
- * @param containerAppEnvelope Properties used to create a container app.
+ * @param containerAppEnvelope Properties of a Container App that need to be updated.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return the {@link SyncPoller} for polling of container App.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, ContainerAppInner> beginCreateOrUpdate(String resourceGroupName,
+ SyncPoller, ContainerAppInner> beginUpdate(String resourceGroupName,
String containerAppName, ContainerAppInner containerAppEnvelope);
/**
- * Create or update a Container App.
+ * 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.
- * @param containerAppEnvelope Properties used to create a container app.
+ * @param containerAppEnvelope Properties of a Container App that need to be updated.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -127,30 +146,33 @@ SyncPoller, ContainerAppInner> beginCreateOrUpdate
* @return the {@link SyncPoller} for polling of container App.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, ContainerAppInner> beginCreateOrUpdate(String resourceGroupName,
+ SyncPoller, ContainerAppInner> beginUpdate(String resourceGroupName,
String containerAppName, ContainerAppInner containerAppEnvelope, Context context);
/**
- * Create or update a Container App.
+ * 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.
- * @param containerAppEnvelope Properties used to create a container app.
+ * @param containerAppEnvelope Properties of a Container App that need to be updated.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return container App.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- ContainerAppInner createOrUpdate(String resourceGroupName, String containerAppName,
- ContainerAppInner containerAppEnvelope);
+ ContainerAppInner update(String resourceGroupName, String containerAppName, ContainerAppInner containerAppEnvelope);
/**
- * Create or update a Container App.
+ * 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.
- * @param containerAppEnvelope Properties used to create a container app.
+ * @param containerAppEnvelope Properties of a Container App that need to be updated.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -158,8 +180,8 @@ ContainerAppInner createOrUpdate(String resourceGroupName, String containerAppNa
* @return container App.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- ContainerAppInner createOrUpdate(String resourceGroupName, String containerAppName,
- ContainerAppInner containerAppEnvelope, Context context);
+ ContainerAppInner update(String resourceGroupName, String containerAppName, ContainerAppInner containerAppEnvelope,
+ Context context);
/**
* Delete a Container App.
@@ -214,73 +236,51 @@ ContainerAppInner createOrUpdate(String resourceGroupName, String containerAppNa
void delete(String resourceGroupName, String containerAppName, Context context);
/**
- * Update properties of a Container App
- *
- * Patches a Container App using JSON Merge Patch.
+ * Get the Container Apps in a given resource group.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param containerAppName Name of the Container App.
- * @param containerAppEnvelope Properties of a Container App that need to be updated.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the {@link SyncPoller} for polling of container App.
+ * @return the Container Apps in a given resource group as paginated response with {@link PagedIterable}.
*/
- @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, ContainerAppInner> beginUpdate(String resourceGroupName,
- String containerAppName, ContainerAppInner containerAppEnvelope);
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listByResourceGroup(String resourceGroupName);
/**
- * Update properties of a Container App
- *
- * Patches a Container App using JSON Merge Patch.
+ * Get the Container Apps in a given resource group.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param containerAppName Name of the Container App.
- * @param containerAppEnvelope Properties of a Container App that need to be updated.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the {@link SyncPoller} for polling of container App.
+ * @return the Container Apps in a given resource group as paginated response with {@link PagedIterable}.
*/
- @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, ContainerAppInner> beginUpdate(String resourceGroupName,
- String containerAppName, ContainerAppInner containerAppEnvelope, Context context);
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listByResourceGroup(String resourceGroupName, Context context);
/**
- * Update properties of a Container App
- *
- * Patches a Container App using JSON Merge Patch.
+ * Get the Container Apps in a given subscription.
*
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param containerAppName Name of the Container App.
- * @param containerAppEnvelope Properties of a Container App that need to be updated.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return container App.
+ * @return the Container Apps in a given subscription as paginated response with {@link PagedIterable}.
*/
- @ServiceMethod(returns = ReturnType.SINGLE)
- ContainerAppInner update(String resourceGroupName, String containerAppName, ContainerAppInner containerAppEnvelope);
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list();
/**
- * Update properties of a Container App
- *
- * Patches a Container App using JSON Merge Patch.
+ * Get the Container Apps in a given subscription.
*
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param containerAppName Name of the Container App.
- * @param containerAppEnvelope Properties of a Container App that need to be updated.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return container App.
+ * @return the Container Apps in a given subscription as paginated response with {@link PagedIterable}.
*/
- @ServiceMethod(returns = ReturnType.SINGLE)
- ContainerAppInner update(String resourceGroupName, String containerAppName, ContainerAppInner containerAppEnvelope,
- Context context);
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(Context context);
/**
* Analyzes a custom hostname for a Container App.
diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/ContainerAppsDiagnosticsClient.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/ContainerAppsDiagnosticsClient.java
index 6460fb251e7a..bf20747fa5d3 100644
--- a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/ContainerAppsDiagnosticsClient.java
+++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/ContainerAppsDiagnosticsClient.java
@@ -1,6 +1,6 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
package com.azure.resourcemanager.appcontainers.fluent;
@@ -18,159 +18,167 @@
*/
public interface ContainerAppsDiagnosticsClient {
/**
- * Get the list of diagnostics for a given Container App.
+ * Get a revision of a Container App.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param containerAppName Name of the Container App for which detector info is needed.
+ * @param containerAppName Name of the Container App.
+ * @param revisionName Name of the detector.
+ * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
* is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the list of diagnostics for a given Container App as paginated response with {@link PagedIterable}.
+ * @return a revision of a Container App along with {@link Response}.
*/
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable listDetectors(String resourceGroupName, String containerAppName);
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response getRevisionWithResponse(String resourceGroupName, String containerAppName,
+ String revisionName, Context context);
/**
- * Get the list of diagnostics for a given Container App.
+ * Get a revision of a Container App.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param containerAppName Name of the Container App for which detector info is needed.
- * @param context The context to associate with this operation.
+ * @param containerAppName Name of the Container App.
+ * @param revisionName Name of the detector.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
* is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the list of diagnostics for a given Container App as paginated response with {@link PagedIterable}.
+ * @return a revision of a Container App.
*/
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable listDetectors(String resourceGroupName, String containerAppName, Context context);
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ RevisionInner getRevision(String resourceGroupName, String containerAppName, String revisionName);
/**
- * Get a diagnostics result of a Container App.
+ * Get the Revisions for a given Container App.
+ *
+ * A synchronous resource action.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param containerAppName Name of the Container App.
- * @param detectorName Name of the Container App Detector.
- * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
* is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a diagnostics result of a Container App along with {@link Response}.
+ * @return the Revisions for a given Container App.
+ *
+ * A synchronous resource action as paginated response with {@link PagedIterable}.
*/
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response getDetectorWithResponse(String resourceGroupName, String containerAppName,
- String detectorName, Context context);
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listRevisions(String resourceGroupName, String containerAppName);
/**
- * Get a diagnostics result of a Container App.
+ * Get the Revisions for a given Container App.
+ *
+ * A synchronous resource action.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param containerAppName Name of the Container App.
- * @param detectorName Name of the Container App Detector.
+ * @param filter The filter to apply on the operation.
+ * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
* is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a diagnostics result of a Container App.
+ * @return the Revisions for a given Container App.
+ *
+ * A synchronous resource action as paginated response with {@link PagedIterable}.
*/
- @ServiceMethod(returns = ReturnType.SINGLE)
- DiagnosticsInner getDetector(String resourceGroupName, String containerAppName, String detectorName);
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listRevisions(String resourceGroupName, String containerAppName, String filter,
+ Context context);
/**
- * Get the Revisions for a given Container App.
+ * Get the properties of a Container App.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param containerAppName Name of the Container App for which Revisions are needed.
+ * @param containerAppName Name of the Container App.
+ * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
* is rejected by server.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server on
+ * status code 404.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the Revisions for a given Container App as paginated response with {@link PagedIterable}.
+ * @return the properties of a Container App along with {@link Response}.
*/
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable listRevisions(String resourceGroupName, String containerAppName);
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response getRootWithResponse(String resourceGroupName, String containerAppName, Context context);
/**
- * Get the Revisions for a given Container App.
+ * Get the properties of a Container App.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param containerAppName Name of the Container App for which Revisions are needed.
- * @param filter The filter to apply on the operation.
- * @param context The context to associate with this operation.
+ * @param containerAppName Name of the Container App.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
* is rejected by server.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server on
+ * status code 404.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the Revisions for a given Container App as paginated response with {@link PagedIterable}.
+ * @return the properties of a Container App.
*/
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable listRevisions(String resourceGroupName, String containerAppName, String filter,
- Context context);
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ ContainerAppInner getRoot(String resourceGroupName, String containerAppName);
/**
- * Get a revision of a Container App.
+ * Get the list of diagnostics for a given Container App.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param containerAppName Name of the Container App.
- * @param revisionName Name of the Container App Revision.
- * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
* is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a revision of a Container App along with {@link Response}.
+ * @return the list of diagnostics for a given Container App as paginated response with {@link PagedIterable}.
*/
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response getRevisionWithResponse(String resourceGroupName, String containerAppName,
- String revisionName, Context context);
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listDetectors(String resourceGroupName, String containerAppName);
/**
- * Get a revision of a Container App.
+ * Get the list of diagnostics for a given Container App.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param containerAppName Name of the Container App.
- * @param revisionName Name of the Container App Revision.
+ * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
* is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a revision of a Container App.
+ * @return the list of diagnostics for a given Container App as paginated response with {@link PagedIterable}.
*/
- @ServiceMethod(returns = ReturnType.SINGLE)
- RevisionInner getRevision(String resourceGroupName, String containerAppName, String revisionName);
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listDetectors(String resourceGroupName, String containerAppName, Context context);
/**
- * Get the properties of a Container App.
+ * Get a diagnostics result of a Container App.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param containerAppName Name of the Container App.
+ * @param detectorName Name of the detector.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
* is rejected by server.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server on
- * status code 404.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the properties of a Container App along with {@link Response}.
+ * @return a diagnostics result of a Container App along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response getRootWithResponse(String resourceGroupName, String containerAppName, Context context);
+ Response getDetectorWithResponse(String resourceGroupName, String containerAppName,
+ String detectorName, Context context);
/**
- * Get the properties of a Container App.
+ * Get a diagnostics result of a Container App.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param containerAppName Name of the Container App.
+ * @param detectorName Name of the detector.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
* is rejected by server.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server on
- * status code 404.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the properties of a Container App.
+ * @return a diagnostics result of a Container App.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- ContainerAppInner getRoot(String resourceGroupName, String containerAppName);
+ DiagnosticsInner getDetector(String resourceGroupName, String containerAppName, String detectorName);
}
diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/ContainerAppsFunctionsClient.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/ContainerAppsFunctionsClient.java
new file mode 100644
index 000000000000..44a1a80a6680
--- /dev/null
+++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/ContainerAppsFunctionsClient.java
@@ -0,0 +1,90 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.appcontainers.fluent;
+
+import com.azure.core.annotation.ReturnType;
+import com.azure.core.annotation.ServiceMethod;
+import com.azure.core.http.rest.PagedIterable;
+import com.azure.core.http.rest.Response;
+import com.azure.core.util.Context;
+import com.azure.resourcemanager.appcontainers.fluent.models.ContainerAppsFunctionInner;
+
+/**
+ * An instance of this class provides access to all the operations defined in ContainerAppsFunctionsClient.
+ */
+public interface ContainerAppsFunctionsClient {
+ /**
+ * Get a specific function of a Container App from the latest Revision.
+ *
+ * Gets the details of a specific function from the latest Container App revision.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param containerAppName Name of the Container App.
+ * @param functionName Name of the Function.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
+ * is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a specific function of a Container App from the latest Revision.
+ *
+ * Gets the details of a specific function from the latest Container App revision along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response getWithResponse(String resourceGroupName, String containerAppName,
+ String functionName, Context context);
+
+ /**
+ * Get a specific function of a Container App from the latest Revision.
+ *
+ * Gets the details of a specific function from the latest Container App revision.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param containerAppName Name of the Container App.
+ * @param functionName Name of the Function.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
+ * is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a specific function of a Container App from the latest Revision.
+ *
+ * Gets the details of a specific function from the latest Container App revision.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ ContainerAppsFunctionInner get(String resourceGroupName, String containerAppName, String functionName);
+
+ /**
+ * List the functions for a given Container App from the latest Revision.
+ *
+ * Lists the functions available in the latest revision of a Container App.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param containerAppName Name of the Container App.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
+ * is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return container App Functions collection ARM resource as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(String resourceGroupName, String containerAppName);
+
+ /**
+ * List the functions for a given Container App from the latest Revision.
+ *
+ * Lists the functions available in the latest revision of a Container App.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param containerAppName Name of the Container App.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
+ * is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return container App Functions collection ARM resource as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(String resourceGroupName, String containerAppName, Context context);
+}
diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/ContainerAppsLabelHistoriesClient.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/ContainerAppsLabelHistoriesClient.java
new file mode 100644
index 000000000000..f8557d93f5c5
--- /dev/null
+++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/ContainerAppsLabelHistoriesClient.java
@@ -0,0 +1,131 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.appcontainers.fluent;
+
+import com.azure.core.annotation.ReturnType;
+import com.azure.core.annotation.ServiceMethod;
+import com.azure.core.http.rest.PagedIterable;
+import com.azure.core.http.rest.Response;
+import com.azure.core.util.Context;
+import com.azure.resourcemanager.appcontainers.fluent.models.LabelHistoryInner;
+
+/**
+ * An instance of this class provides access to all the operations defined in ContainerAppsLabelHistoriesClient.
+ */
+public interface ContainerAppsLabelHistoriesClient {
+ /**
+ * Get the history of a label.
+ *
+ * Gets the revision history associated with a Container App label.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param containerAppName Name of the Container App.
+ * @param labelName Name of the label.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
+ * is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the history of a label.
+ *
+ * Gets the revision history associated with a Container App label along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response getLabelHistoryWithResponse(String resourceGroupName, String containerAppName,
+ String labelName, Context context);
+
+ /**
+ * Get the history of a label.
+ *
+ * Gets the revision history associated with a Container App label.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param containerAppName Name of the Container App.
+ * @param labelName Name of the label.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
+ * is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the history of a label.
+ *
+ * Gets the revision history associated with a Container App label.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ LabelHistoryInner getLabelHistory(String resourceGroupName, String containerAppName, String labelName);
+
+ /**
+ * Delete the history of a label.
+ *
+ * Deletes the revision history associated with a Container App label.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param containerAppName Name of the Container App.
+ * @param labelName Name of the label.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
+ * is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response deleteLabelHistoryWithResponse(String resourceGroupName, String containerAppName, String labelName,
+ Context context);
+
+ /**
+ * Delete the history of a label.
+ *
+ * Deletes the revision history associated with a Container App label.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param containerAppName Name of the Container App.
+ * @param labelName Name of the label.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
+ * is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ void deleteLabelHistory(String resourceGroupName, String containerAppName, String labelName);
+
+ /**
+ * Get the Label History for a given Container App.
+ *
+ * Lists the label revision histories for a Container App.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param containerAppName Name of the Container App.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
+ * is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the Label History for a given Container App.
+ *
+ * Lists the label revision histories for a Container App as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listLabelHistory(String resourceGroupName, String containerAppName);
+
+ /**
+ * Get the Label History for a given Container App.
+ *
+ * Lists the label revision histories for a Container App.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param containerAppName Name of the Container App.
+ * @param filter The filter to apply on the operation.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
+ * is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the Label History for a given Container App.
+ *
+ * Lists the label revision histories for a Container App as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listLabelHistory(String resourceGroupName, String containerAppName, String filter,
+ Context context);
+}
diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/ContainerAppsRevisionFunctionsClient.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/ContainerAppsRevisionFunctionsClient.java
new file mode 100644
index 000000000000..871a8e1eb2da
--- /dev/null
+++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/ContainerAppsRevisionFunctionsClient.java
@@ -0,0 +1,97 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.appcontainers.fluent;
+
+import com.azure.core.annotation.ReturnType;
+import com.azure.core.annotation.ServiceMethod;
+import com.azure.core.http.rest.PagedIterable;
+import com.azure.core.http.rest.Response;
+import com.azure.core.util.Context;
+import com.azure.resourcemanager.appcontainers.fluent.models.ContainerAppsFunctionInner;
+
+/**
+ * An instance of this class provides access to all the operations defined in ContainerAppsRevisionFunctionsClient.
+ */
+public interface ContainerAppsRevisionFunctionsClient {
+ /**
+ * Get a specific function of a Container App Revision.
+ *
+ * Gets the details of a specific function in a Container App revision.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param containerAppName Name of the Container App.
+ * @param revisionName Name of the Container App Revision.
+ * @param functionName Name of the Function.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
+ * is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a specific function of a Container App Revision.
+ *
+ * Gets the details of a specific function in a Container App revision along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response getWithResponse(String resourceGroupName, String containerAppName,
+ String revisionName, String functionName, Context context);
+
+ /**
+ * Get a specific function of a Container App Revision.
+ *
+ * Gets the details of a specific function in a Container App revision.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param containerAppName Name of the Container App.
+ * @param revisionName Name of the Container App Revision.
+ * @param functionName Name of the Function.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
+ * is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a specific function of a Container App Revision.
+ *
+ * Gets the details of a specific function in a Container App revision.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ ContainerAppsFunctionInner get(String resourceGroupName, String containerAppName, String revisionName,
+ String functionName);
+
+ /**
+ * List the functions for a given Container App Revision.
+ *
+ * Lists the functions available in a specific Container App revision.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param containerAppName Name of the Container App.
+ * @param revisionName Name of the Container App Revision.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
+ * is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return container App Functions collection ARM resource as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(String resourceGroupName, String containerAppName,
+ String revisionName);
+
+ /**
+ * List the functions for a given Container App Revision.
+ *
+ * Lists the functions available in a specific Container App revision.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param containerAppName Name of the Container App.
+ * @param revisionName Name of the Container App Revision.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
+ * is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return container App Functions collection ARM resource as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(String resourceGroupName, String containerAppName,
+ String revisionName, Context context);
+}
diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/ContainerAppsRevisionReplicasClient.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/ContainerAppsRevisionReplicasClient.java
index 05a7e08c569a..e7c8e2c49207 100644
--- a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/ContainerAppsRevisionReplicasClient.java
+++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/ContainerAppsRevisionReplicasClient.java
@@ -1,6 +1,6 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
package com.azure.resourcemanager.appcontainers.fluent;
diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/ContainerAppsRevisionsClient.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/ContainerAppsRevisionsClient.java
index c8079e70967d..98baabf040d3 100644
--- a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/ContainerAppsRevisionsClient.java
+++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/ContainerAppsRevisionsClient.java
@@ -1,6 +1,6 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
package com.azure.resourcemanager.appcontainers.fluent;
@@ -16,67 +16,67 @@
*/
public interface ContainerAppsRevisionsClient {
/**
- * Get the Revisions for a given Container App.
+ * Get a revision of a Container App.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param containerAppName Name of the Container App for which Revisions are needed.
+ * @param containerAppName Name of the Container App.
+ * @param revisionName Name of the Container App Revision.
+ * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
* is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the Revisions for a given Container App as paginated response with {@link PagedIterable}.
+ * @return a revision of a Container App along with {@link Response}.
*/
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable listRevisions(String resourceGroupName, String containerAppName);
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response getRevisionWithResponse(String resourceGroupName, String containerAppName,
+ String revisionName, Context context);
/**
- * Get the Revisions for a given Container App.
+ * Get a revision of a Container App.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param containerAppName Name of the Container App for which Revisions are needed.
- * @param filter The filter to apply on the operation.
- * @param context The context to associate with this operation.
+ * @param containerAppName Name of the Container App.
+ * @param revisionName Name of the Container App Revision.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
* is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the Revisions for a given Container App as paginated response with {@link PagedIterable}.
+ * @return a revision of a Container App.
*/
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable listRevisions(String resourceGroupName, String containerAppName, String filter,
- Context context);
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ RevisionInner getRevision(String resourceGroupName, String containerAppName, String revisionName);
/**
- * Get a revision of a Container App.
+ * Get the Revisions for a given Container App.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param containerAppName Name of the Container App.
- * @param revisionName Name of the Container App Revision.
- * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
* is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a revision of a Container App along with {@link Response}.
+ * @return the Revisions for a given Container App as paginated response with {@link PagedIterable}.
*/
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response getRevisionWithResponse(String resourceGroupName, String containerAppName,
- String revisionName, Context context);
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listRevisions(String resourceGroupName, String containerAppName);
/**
- * Get a revision of a Container App.
+ * Get the Revisions for a given Container App.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param containerAppName Name of the Container App.
- * @param revisionName Name of the Container App Revision.
+ * @param filter The filter to apply on the operation.
+ * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
* is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a revision of a Container App.
+ * @return the Revisions for a given Container App as paginated response with {@link PagedIterable}.
*/
- @ServiceMethod(returns = ReturnType.SINGLE)
- RevisionInner getRevision(String resourceGroupName, String containerAppName, String revisionName);
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listRevisions(String resourceGroupName, String containerAppName, String filter,
+ Context context);
/**
* Activates a revision for a Container App.
diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/ContainerAppsSessionPoolsClient.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/ContainerAppsSessionPoolsClient.java
index f9893672ae57..da2140632d9f 100644
--- a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/ContainerAppsSessionPoolsClient.java
+++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/ContainerAppsSessionPoolsClient.java
@@ -1,6 +1,6 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
package com.azure.resourcemanager.appcontainers.fluent;
@@ -18,55 +18,6 @@
* An instance of this class provides access to all the operations defined in ContainerAppsSessionPoolsClient.
*/
public interface ContainerAppsSessionPoolsClient {
- /**
- * Get the session pools in a given subscription.
- *
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the session pools in a given subscription as paginated response with {@link PagedIterable}.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list();
-
- /**
- * Get the session pools in a given subscription.
- *
- * @param context The context to associate with this operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the session pools in a given subscription as paginated response with {@link PagedIterable}.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list(Context context);
-
- /**
- * Get the session pools in a given resource group of a subscription.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the session pools in a given resource group of a subscription as paginated response with
- * {@link PagedIterable}.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable listByResourceGroup(String resourceGroupName);
-
- /**
- * Get the session pools in a given resource group of a subscription.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param context The context to associate with this operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the session pools in a given resource group of a subscription as paginated response with
- * {@link PagedIterable}.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable listByResourceGroup(String resourceGroupName, Context context);
-
/**
* Get the properties of a session pool.
*
@@ -294,4 +245,53 @@ SessionPoolInner update(String resourceGroupName, String sessionPoolName,
*/
@ServiceMethod(returns = ReturnType.SINGLE)
void delete(String resourceGroupName, String sessionPoolName, Context context);
+
+ /**
+ * Get the session pools in a given resource group of a subscription.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the session pools in a given resource group of a subscription as paginated response with
+ * {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listByResourceGroup(String resourceGroupName);
+
+ /**
+ * Get the session pools in a given resource group of a subscription.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the session pools in a given resource group of a subscription as paginated response with
+ * {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listByResourceGroup(String resourceGroupName, Context context);
+
+ /**
+ * Get the session pools in a given subscription.
+ *
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the session pools in a given subscription as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list();
+
+ /**
+ * Get the session pools in a given subscription.
+ *
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the session pools in a given subscription as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(Context context);
}
diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/ContainerAppsSourceControlsClient.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/ContainerAppsSourceControlsClient.java
index 1d972a062004..5d626dc554d5 100644
--- a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/ContainerAppsSourceControlsClient.java
+++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/ContainerAppsSourceControlsClient.java
@@ -1,6 +1,6 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
package com.azure.resourcemanager.appcontainers.fluent;
@@ -17,38 +17,6 @@
* An instance of this class provides access to all the operations defined in ContainerAppsSourceControlsClient.
*/
public interface ContainerAppsSourceControlsClient {
- /**
- * Get the Container App SourceControls in a given resource group.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param containerAppName Name of the Container App.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
- * is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the Container App SourceControls in a given resource group as paginated response with
- * {@link PagedIterable}.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable listByContainerApp(String resourceGroupName, String containerAppName);
-
- /**
- * Get the Container App SourceControls in a given resource group.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param containerAppName Name of the Container App.
- * @param context The context to associate with this operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
- * is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the Container App SourceControls in a given resource group as paginated response with
- * {@link PagedIterable}.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable listByContainerApp(String resourceGroupName, String containerAppName,
- Context context);
-
/**
* Get a SourceControl of a Container App.
*
@@ -212,4 +180,36 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String
*/
@ServiceMethod(returns = ReturnType.SINGLE)
void delete(String resourceGroupName, String containerAppName, String sourceControlName, Context context);
+
+ /**
+ * Get the Container App SourceControls in a given resource group.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param containerAppName Name of the Container App.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
+ * is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the Container App SourceControls in a given resource group as paginated response with
+ * {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listByContainerApp(String resourceGroupName, String containerAppName);
+
+ /**
+ * Get the Container App SourceControls in a given resource group.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param containerAppName Name of the Container App.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
+ * is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the Container App SourceControls in a given resource group as paginated response with
+ * {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listByContainerApp(String resourceGroupName, String containerAppName,
+ Context context);
}
diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/DaprComponentResiliencyPoliciesClient.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/DaprComponentResiliencyPoliciesClient.java
new file mode 100644
index 000000000000..aa2ea10550f4
--- /dev/null
+++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/DaprComponentResiliencyPoliciesClient.java
@@ -0,0 +1,180 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.appcontainers.fluent;
+
+import com.azure.core.annotation.ReturnType;
+import com.azure.core.annotation.ServiceMethod;
+import com.azure.core.http.rest.PagedIterable;
+import com.azure.core.http.rest.Response;
+import com.azure.core.util.Context;
+import com.azure.resourcemanager.appcontainers.fluent.models.DaprComponentResiliencyPolicyInner;
+
+/**
+ * An instance of this class provides access to all the operations defined in DaprComponentResiliencyPoliciesClient.
+ */
+public interface DaprComponentResiliencyPoliciesClient {
+ /**
+ * Get a Dapr component resiliency policy.
+ *
+ * Gets the details of a resiliency policy for a Dapr component.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param environmentName Name of the managed environment.
+ * @param componentName Name of the Dapr Component.
+ * @param name Name of the Dapr Component Resiliency Policy.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
+ * is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a Dapr component resiliency policy.
+ *
+ * Gets the details of a resiliency policy for a Dapr component along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response getWithResponse(String resourceGroupName, String environmentName,
+ String componentName, String name, Context context);
+
+ /**
+ * Get a Dapr component resiliency policy.
+ *
+ * Gets the details of a resiliency policy for a Dapr component.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param environmentName Name of the managed environment.
+ * @param componentName Name of the Dapr Component.
+ * @param name Name of the Dapr Component Resiliency Policy.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
+ * is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a Dapr component resiliency policy.
+ *
+ * Gets the details of a resiliency policy for a Dapr component.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ DaprComponentResiliencyPolicyInner get(String resourceGroupName, String environmentName, String componentName,
+ String name);
+
+ /**
+ * Creates or updates a Dapr component resiliency policy.
+ *
+ * Creates or updates a resiliency policy for a Dapr component.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param environmentName Name of the managed environment.
+ * @param componentName Name of the Dapr Component.
+ * @param name Name of the Dapr Component Resiliency Policy.
+ * @param daprComponentResiliencyPolicyEnvelope Configuration details of the Dapr Component Resiliency Policy.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
+ * is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return dapr Component Resiliency Policy along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response createOrUpdateWithResponse(String resourceGroupName,
+ String environmentName, String componentName, String name,
+ DaprComponentResiliencyPolicyInner daprComponentResiliencyPolicyEnvelope, Context context);
+
+ /**
+ * Creates or updates a Dapr component resiliency policy.
+ *
+ * Creates or updates a resiliency policy for a Dapr component.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param environmentName Name of the managed environment.
+ * @param componentName Name of the Dapr Component.
+ * @param name Name of the Dapr Component Resiliency Policy.
+ * @param daprComponentResiliencyPolicyEnvelope Configuration details of the Dapr Component Resiliency Policy.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
+ * is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return dapr Component Resiliency Policy.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ DaprComponentResiliencyPolicyInner createOrUpdate(String resourceGroupName, String environmentName,
+ String componentName, String name, DaprComponentResiliencyPolicyInner daprComponentResiliencyPolicyEnvelope);
+
+ /**
+ * Delete a Dapr component resiliency policy.
+ *
+ * Delete a resiliency policy for a Dapr component.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param environmentName Name of the managed environment.
+ * @param componentName Name of the Dapr Component.
+ * @param name Name of the Dapr Component Resiliency Policy.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
+ * is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response deleteWithResponse(String resourceGroupName, String environmentName, String componentName,
+ String name, Context context);
+
+ /**
+ * Delete a Dapr component resiliency policy.
+ *
+ * Delete a resiliency policy for a Dapr component.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param environmentName Name of the managed environment.
+ * @param componentName Name of the Dapr Component.
+ * @param name Name of the Dapr Component Resiliency Policy.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
+ * is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ void delete(String resourceGroupName, String environmentName, String componentName, String name);
+
+ /**
+ * Get the resiliency policies for a Dapr component.
+ *
+ * Lists the resiliency policies configured for a Dapr component.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param environmentName Name of the managed environment.
+ * @param componentName Name of the Dapr Component.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
+ * is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the resiliency policies for a Dapr component.
+ *
+ * Lists the resiliency policies configured for a Dapr component as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(String resourceGroupName, String environmentName,
+ String componentName);
+
+ /**
+ * Get the resiliency policies for a Dapr component.
+ *
+ * Lists the resiliency policies configured for a Dapr component.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param environmentName Name of the managed environment.
+ * @param componentName Name of the Dapr Component.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
+ * is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the resiliency policies for a Dapr component.
+ *
+ * Lists the resiliency policies configured for a Dapr component as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(String resourceGroupName, String environmentName,
+ String componentName, Context context);
+}
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 cac5b28a2004..ad9b6bbab61c 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
@@ -1,6 +1,6 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
package com.azure.resourcemanager.appcontainers.fluent;
@@ -16,35 +16,6 @@
* An instance of this class provides access to all the operations defined in DaprComponentsClient.
*/
public interface DaprComponentsClient {
- /**
- * Get the Dapr Components for a managed environment.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param environmentName Name of the Managed Environment.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
- * is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the Dapr Components for a managed environment as paginated response with {@link PagedIterable}.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list(String resourceGroupName, String environmentName);
-
- /**
- * Get the Dapr Components for a managed environment.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param environmentName Name of the Managed Environment.
- * @param context The context to associate with this operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
- * is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the Dapr Components for a managed environment as paginated response with {@link PagedIterable}.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list(String resourceGroupName, String environmentName, Context context);
-
/**
* Get a dapr component.
*
@@ -151,6 +122,35 @@ Response deleteWithResponse(String resourceGroupName, String environmentNa
@ServiceMethod(returns = ReturnType.SINGLE)
void delete(String resourceGroupName, String environmentName, String componentName);
+ /**
+ * Get the Dapr Components for a managed environment.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param environmentName Name of the Managed Environment.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
+ * is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the Dapr Components for a managed environment as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(String resourceGroupName, String environmentName);
+
+ /**
+ * Get the Dapr Components for a managed environment.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param environmentName Name of the Managed Environment.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
+ * is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the Dapr Components for a managed environment as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(String resourceGroupName, String environmentName, Context context);
+
/**
* List secrets for a dapr component.
*
diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/DotNetComponentsClient.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/DotNetComponentsClient.java
new file mode 100644
index 000000000000..e8c227c1f6c1
--- /dev/null
+++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/DotNetComponentsClient.java
@@ -0,0 +1,305 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.appcontainers.fluent;
+
+import com.azure.core.annotation.ReturnType;
+import com.azure.core.annotation.ServiceMethod;
+import com.azure.core.http.rest.PagedIterable;
+import com.azure.core.http.rest.Response;
+import com.azure.core.management.polling.PollResult;
+import com.azure.core.util.Context;
+import com.azure.core.util.polling.SyncPoller;
+import com.azure.resourcemanager.appcontainers.fluent.models.DotNetComponentInner;
+
+/**
+ * An instance of this class provides access to all the operations defined in DotNetComponentsClient.
+ */
+public interface DotNetComponentsClient {
+ /**
+ * Get a .NET Component.
+ *
+ * Gets the details of a .NET 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.
+ * @param name Name of the .NET Component.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a .NET Component.
+ *
+ * Gets the details of a .NET component in a managed environment along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response getWithResponse(String resourceGroupName, String environmentName, String name,
+ Context context);
+
+ /**
+ * Get a .NET Component.
+ *
+ * Gets the details of a .NET 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.
+ * @param name Name of the .NET Component.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a .NET Component.
+ *
+ * Gets the details of a .NET component in a managed environment.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ DotNetComponentInner get(String resourceGroupName, String environmentName, String name);
+
+ /**
+ * Creates or updates a .NET Component.
+ *
+ * Creates or updates a .NET 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.
+ * @param name Name of the .NET Component.
+ * @param dotNetComponentEnvelope Configuration details of the .NET Component.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link SyncPoller} for polling of .NET Component.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, DotNetComponentInner> beginCreateOrUpdate(String resourceGroupName,
+ String environmentName, String name, DotNetComponentInner dotNetComponentEnvelope);
+
+ /**
+ * Creates or updates a .NET Component.
+ *
+ * Creates or updates a .NET 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.
+ * @param name Name of the .NET Component.
+ * @param dotNetComponentEnvelope Configuration details of the .NET Component.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link SyncPoller} for polling of .NET Component.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, DotNetComponentInner> beginCreateOrUpdate(String resourceGroupName,
+ String environmentName, String name, DotNetComponentInner dotNetComponentEnvelope, Context context);
+
+ /**
+ * Creates or updates a .NET Component.
+ *
+ * Creates or updates a .NET 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.
+ * @param name Name of the .NET Component.
+ * @param dotNetComponentEnvelope Configuration details of the .NET Component.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return .NET Component.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ DotNetComponentInner createOrUpdate(String resourceGroupName, String environmentName, String name,
+ DotNetComponentInner dotNetComponentEnvelope);
+
+ /**
+ * Creates or updates a .NET Component.
+ *
+ * Creates or updates a .NET 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.
+ * @param name Name of the .NET Component.
+ * @param dotNetComponentEnvelope Configuration details of the .NET Component.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return .NET Component.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ DotNetComponentInner createOrUpdate(String resourceGroupName, String environmentName, String name,
+ DotNetComponentInner dotNetComponentEnvelope, Context context);
+
+ /**
+ * Update properties of a .NET Component
+ *
+ * Patches a .NET Component using JSON Merge Patch.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param environmentName Name of the managed environment.
+ * @param name Name of the .NET Component.
+ * @param dotNetComponentEnvelope Configuration details of the .NET Component.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link SyncPoller} for polling of .NET Component.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, DotNetComponentInner> beginUpdate(String resourceGroupName,
+ String environmentName, String name, DotNetComponentInner dotNetComponentEnvelope);
+
+ /**
+ * Update properties of a .NET Component
+ *
+ * Patches a .NET Component using JSON Merge Patch.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param environmentName Name of the managed environment.
+ * @param name Name of the .NET Component.
+ * @param dotNetComponentEnvelope Configuration details of the .NET Component.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link SyncPoller} for polling of .NET Component.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, DotNetComponentInner> beginUpdate(String resourceGroupName,
+ String environmentName, String name, DotNetComponentInner dotNetComponentEnvelope, Context context);
+
+ /**
+ * Update properties of a .NET Component
+ *
+ * Patches a .NET Component using JSON Merge Patch.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param environmentName Name of the managed environment.
+ * @param name Name of the .NET Component.
+ * @param dotNetComponentEnvelope Configuration details of the .NET Component.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return .NET Component.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ DotNetComponentInner update(String resourceGroupName, String environmentName, String name,
+ DotNetComponentInner dotNetComponentEnvelope);
+
+ /**
+ * Update properties of a .NET Component
+ *
+ * Patches a .NET Component using JSON Merge Patch.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param environmentName Name of the managed environment.
+ * @param name Name of the .NET Component.
+ * @param dotNetComponentEnvelope Configuration details of the .NET Component.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return .NET Component.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ DotNetComponentInner update(String resourceGroupName, String environmentName, String name,
+ DotNetComponentInner dotNetComponentEnvelope, Context context);
+
+ /**
+ * Delete a .NET Component.
+ *
+ * Deletes a .NET 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.
+ * @param name Name of the .NET Component.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link SyncPoller} for polling of long-running operation.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, Void> beginDelete(String resourceGroupName, String environmentName, String name);
+
+ /**
+ * Delete a .NET Component.
+ *
+ * Deletes a .NET 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.
+ * @param name Name of the .NET Component.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link SyncPoller} for polling of long-running operation.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, Void> beginDelete(String resourceGroupName, String environmentName, String name,
+ Context context);
+
+ /**
+ * Delete a .NET Component.
+ *
+ * Deletes a .NET 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.
+ * @param name Name of the .NET Component.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ void delete(String resourceGroupName, String environmentName, String name);
+
+ /**
+ * Delete a .NET Component.
+ *
+ * Deletes a .NET 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.
+ * @param name Name of the .NET Component.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ void delete(String resourceGroupName, String environmentName, String name, Context context);
+
+ /**
+ * Get the .NET Components for a managed environment.
+ *
+ * Lists the .NET components in a managed environment.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param environmentName Name of the managed environment.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the .NET Components for a managed environment.
+ *
+ * Lists the .NET components in a managed environment as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(String resourceGroupName, String environmentName);
+
+ /**
+ * Get the .NET Components for a managed environment.
+ *
+ * Lists the .NET components in a managed environment.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param environmentName Name of the managed environment.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the .NET Components for a managed environment.
+ *
+ * Lists the .NET components in a managed environment as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(String resourceGroupName, String environmentName, Context context);
+}
diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/FunctionsExtensionsClient.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/FunctionsExtensionsClient.java
new file mode 100644
index 000000000000..450faecca7bb
--- /dev/null
+++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/FunctionsExtensionsClient.java
@@ -0,0 +1,50 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.appcontainers.fluent;
+
+import com.azure.core.annotation.ReturnType;
+import com.azure.core.annotation.ServiceMethod;
+import com.azure.core.http.rest.Response;
+import com.azure.core.util.Context;
+
+/**
+ * An instance of this class provides access to all the operations defined in FunctionsExtensionsClient.
+ */
+public interface FunctionsExtensionsClient {
+ /**
+ * Proxies a Functions host call to the function app backed by the container app.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param containerAppName Name of the Container App.
+ * @param revisionName Name of the Container App Revision.
+ * @param functionAppName Name of the Function.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
+ * is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a sequence of textual characters along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response invokeFunctionsHostWithResponse(String resourceGroupName, String containerAppName,
+ String revisionName, String functionAppName, Context context);
+
+ /**
+ * Proxies a Functions host call to the function app backed by the container app.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param containerAppName Name of the Container App.
+ * @param revisionName Name of the Container App Revision.
+ * @param functionAppName Name of the Function.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
+ * is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a sequence of textual characters.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ String invokeFunctionsHost(String resourceGroupName, String containerAppName, String revisionName,
+ String functionAppName);
+}
diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/HttpRouteConfigsClient.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/HttpRouteConfigsClient.java
index f08503b25603..c3f42f0f967f 100644
--- a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/HttpRouteConfigsClient.java
+++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/HttpRouteConfigsClient.java
@@ -1,6 +1,6 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
package com.azure.resourcemanager.appcontainers.fluent;
@@ -20,15 +20,19 @@ public interface HttpRouteConfigsClient {
/**
* Get the specified Http Route Config.
*
+ * Get the specified Managed Http Route Config.
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param environmentName Name of the Managed Environment.
- * @param httpRouteName Name of the Http Route Config Resource.
+ * @param environmentName Name of the managed environment.
+ * @param httpRouteName Name of the Http Route Config.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
* is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the specified Http Route Config along with {@link Response}.
+ * @return the specified Http Route Config.
+ *
+ * Get the specified Managed Http Route Config along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Response getWithResponse(String resourceGroupName, String environmentName,
@@ -37,14 +41,18 @@ Response getWithResponse(String resourceGroupName, String
/**
* Get the specified Http Route Config.
*
+ * Get the specified Managed Http Route Config.
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param environmentName Name of the Managed Environment.
- * @param httpRouteName Name of the Http Route Config Resource.
+ * @param environmentName Name of the managed environment.
+ * @param httpRouteName Name of the Http Route Config.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
* is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return the specified Http Route Config.
+ *
+ * Get the specified Managed Http Route Config.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
HttpRouteConfigInner get(String resourceGroupName, String environmentName, String httpRouteName);
@@ -53,9 +61,9 @@ Response getWithResponse(String resourceGroupName, String
* Create or Update a Http Route Config.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param environmentName Name of the Managed Environment.
- * @param httpRouteName Name of the Http Route Config Resource.
- * @param httpRouteConfigEnvelope Http Route Config to be created or updated.
+ * @param environmentName Name of the managed environment.
+ * @param httpRouteName Name of the Http Route Config.
+ * @param httpRouteConfigEnvelope Http Route config to be created or updated.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
@@ -72,8 +80,8 @@ Response createOrUpdateWithResponse(String resourceGroupNa
* Create or Update a Http Route Config.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param environmentName Name of the Managed Environment.
- * @param httpRouteName Name of the Http Route Config Resource.
+ * @param environmentName Name of the managed environment.
+ * @param httpRouteName Name of the Http Route Config.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
* is rejected by server.
@@ -86,10 +94,10 @@ Response createOrUpdateWithResponse(String resourceGroupNa
/**
* Update tags of a Http Route Config object
*
- * Patches a Http Route Config resource. Only patching of tags is supported.
+ * Patches an http route config resource. 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.
+ * @param environmentName Name of the Environment.
* @param httpRouteName Name of the Http Route Config Resource.
* @param httpRouteConfigEnvelope Properties of http route config that need to be updated.
* @param context The context to associate with this operation.
@@ -107,10 +115,10 @@ Response updateWithResponse(String resourceGroupName, Stri
/**
* Update tags of a Http Route Config object
*
- * Patches a Http Route Config resource. Only patching of tags is supported.
+ * Patches an http route config resource. 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.
+ * @param environmentName Name of the Environment.
* @param httpRouteName Name of the Http Route Config Resource.
* @param httpRouteConfigEnvelope Properties of http route config that need to be updated.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -126,8 +134,10 @@ HttpRouteConfigInner update(String resourceGroupName, String environmentName, St
/**
* Deletes the specified Http Route Config.
*
+ * Deletes the specified Managed Http Route.
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param environmentName Name of the Managed Environment.
+ * @param environmentName Name of the Environment.
* @param httpRouteName Name of the Http Route Config Resource.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -141,8 +151,10 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String
/**
* Deletes the specified Http Route Config.
*
+ * Deletes the specified Managed Http Route.
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param environmentName Name of the Managed Environment.
+ * @param environmentName Name of the Environment.
* @param httpRouteName Name of the Http Route Config Resource.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -157,8 +169,10 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String
/**
* Deletes the specified Http Route Config.
*
+ * Deletes the specified Managed Http Route.
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param environmentName Name of the Managed Environment.
+ * @param environmentName Name of the Environment.
* @param httpRouteName Name of the Http Route Config Resource.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -170,8 +184,10 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String
/**
* Deletes the specified Http Route Config.
*
+ * Deletes the specified Managed Http Route.
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param environmentName Name of the Managed Environment.
+ * @param environmentName Name of the Environment.
* @param httpRouteName Name of the Http Route Config Resource.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -184,8 +200,10 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String
/**
* List the Http Route Configs in a given managed environment.
*
+ * Get the Managed Http Routes in a given managed environment.
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param environmentName Name of the Managed Environment.
+ * @param environmentName Name of the managed environment.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
* is rejected by server.
@@ -198,8 +216,10 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String
/**
* List the Http Route Configs in a given managed environment.
*
+ * Get the Managed Http Routes in a given managed environment.
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param environmentName Name of the Managed Environment.
+ * @param environmentName Name of the managed environment.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/JavaComponentsClient.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/JavaComponentsClient.java
index 5b033c37f9e8..66b82657b2b1 100644
--- a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/JavaComponentsClient.java
+++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/JavaComponentsClient.java
@@ -1,6 +1,6 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
package com.azure.resourcemanager.appcontainers.fluent;
@@ -17,38 +17,11 @@
* An instance of this class provides access to all the operations defined in JavaComponentsClient.
*/
public interface JavaComponentsClient {
- /**
- * Get the Java Components for a managed environment.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param environmentName Name of the Managed Environment.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the Java Components for a managed environment as paginated response with {@link PagedIterable}.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list(String resourceGroupName, String environmentName);
-
- /**
- * Get the Java Components for a managed environment.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param environmentName Name of the Managed Environment.
- * @param context The context to associate with this operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the Java Components for a managed environment as paginated response with {@link PagedIterable}.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list(String resourceGroupName, String environmentName, Context context);
-
/**
* Get a Java Component.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param environmentName Name of the Managed Environment.
+ * @param environmentName Name of the managed environment.
* @param name Name of the Java Component.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -64,7 +37,7 @@ Response getWithResponse(String resourceGroupName, String en
* Get a Java Component.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param environmentName Name of the Managed Environment.
+ * @param environmentName Name of the managed environment.
* @param name Name of the Java Component.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -80,7 +53,7 @@ Response getWithResponse(String resourceGroupName, String en
* Creates or updates a Java 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.
+ * @param environmentName Name of the managed environment.
* @param name Name of the Java Component.
* @param javaComponentEnvelope Configuration details of the Java Component.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -98,7 +71,7 @@ SyncPoller, JavaComponentInner> beginCreateOrUpda
* Creates or updates a Java 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.
+ * @param environmentName Name of the managed environment.
* @param name Name of the Java Component.
* @param javaComponentEnvelope Configuration details of the Java Component.
* @param context The context to associate with this operation.
@@ -117,7 +90,7 @@ SyncPoller, JavaComponentInner> beginCreateOrUpda
* Creates or updates a Java 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.
+ * @param environmentName Name of the managed environment.
* @param name Name of the Java Component.
* @param javaComponentEnvelope Configuration details of the Java Component.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -135,7 +108,7 @@ JavaComponentInner createOrUpdate(String resourceGroupName, String environmentNa
* Creates or updates a Java 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.
+ * @param environmentName Name of the managed environment.
* @param name Name of the Java Component.
* @param javaComponentEnvelope Configuration details of the Java Component.
* @param context The context to associate with this operation.
@@ -154,7 +127,7 @@ JavaComponentInner createOrUpdate(String resourceGroupName, String environmentNa
* Patches a Java Component using JSON Merge Patch.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param environmentName Name of the Managed Environment.
+ * @param environmentName Name of the managed environment.
* @param name Name of the Java Component.
* @param javaComponentEnvelope Configuration details of the Java Component.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -172,7 +145,7 @@ SyncPoller, JavaComponentInner> beginUpdate(Strin
* Patches a Java Component using JSON Merge Patch.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param environmentName Name of the Managed Environment.
+ * @param environmentName Name of the managed environment.
* @param name Name of the Java Component.
* @param javaComponentEnvelope Configuration details of the Java Component.
* @param context The context to associate with this operation.
@@ -191,7 +164,7 @@ SyncPoller, JavaComponentInner> beginUpdate(Strin
* Patches a Java Component using JSON Merge Patch.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param environmentName Name of the Managed Environment.
+ * @param environmentName Name of the managed environment.
* @param name Name of the Java Component.
* @param javaComponentEnvelope Configuration details of the Java Component.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -209,7 +182,7 @@ JavaComponentInner update(String resourceGroupName, String environmentName, Stri
* Patches a Java Component using JSON Merge Patch.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param environmentName Name of the Managed Environment.
+ * @param environmentName Name of the managed environment.
* @param name Name of the Java Component.
* @param javaComponentEnvelope Configuration details of the Java Component.
* @param context The context to associate with this operation.
@@ -228,7 +201,7 @@ JavaComponentInner update(String resourceGroupName, String environmentName, Stri
* Delete a Java Component.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param environmentName Name of the Managed Environment.
+ * @param environmentName Name of the managed environment.
* @param name Name of the Java Component.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -244,7 +217,7 @@ JavaComponentInner update(String resourceGroupName, String environmentName, Stri
* Delete a Java Component.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param environmentName Name of the Managed Environment.
+ * @param environmentName Name of the managed environment.
* @param name Name of the Java Component.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -262,7 +235,7 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String
* Delete a Java Component.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param environmentName Name of the Managed Environment.
+ * @param environmentName Name of the managed environment.
* @param name Name of the Java Component.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -277,7 +250,7 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String
* Delete a Java Component.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param environmentName Name of the Managed Environment.
+ * @param environmentName Name of the managed environment.
* @param name Name of the Java Component.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -286,4 +259,31 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String
*/
@ServiceMethod(returns = ReturnType.SINGLE)
void delete(String resourceGroupName, String environmentName, String name, Context context);
+
+ /**
+ * Get the Java Components for a managed environment.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param environmentName Name of the managed environment.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the Java Components for a managed environment as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(String resourceGroupName, String environmentName);
+
+ /**
+ * Get the Java Components for a managed environment.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param environmentName Name of the managed environment.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the Java Components for a managed environment as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(String resourceGroupName, String environmentName, Context context);
}
diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/JobsClient.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/JobsClient.java
index e7a0a11a7835..a7a51f152cc1 100644
--- a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/JobsClient.java
+++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/JobsClient.java
@@ -1,6 +1,6 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
package com.azure.resourcemanager.appcontainers.fluent;
@@ -24,9 +24,22 @@
*/
public interface JobsClient {
/**
- * Get the list of diagnostics for a given Container App Job.
+ * Get the properties of a Container Apps Job.
*
- * Get the list of diagnostics for a Container App Job.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param jobName Job Name.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
+ * is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the properties of a Container Apps Job along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response getByResourceGroupWithResponse(String resourceGroupName, String jobName, Context context);
+
+ /**
+ * Get the properties of a Container Apps Job.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param jobName Job Name.
@@ -34,118 +47,202 @@ public interface JobsClient {
* @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
* is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the list of diagnostics for a Container App Job as paginated response with {@link PagedIterable}.
+ * @return the properties of a Container Apps Job.
*/
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable listDetectors(String resourceGroupName, String jobName);
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ JobInner getByResourceGroup(String resourceGroupName, String jobName);
/**
- * Get the list of diagnostics for a given Container App Job.
+ * Create or Update a Container Apps Job.
*
- * Get the list of diagnostics for a Container App Job.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param jobName Job Name.
+ * @param jobEnvelope Properties used to create a container apps job.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
+ * is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link SyncPoller} for polling of container App Job.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, JobInner> beginCreateOrUpdate(String resourceGroupName, String jobName,
+ JobInner jobEnvelope);
+
+ /**
+ * Create or Update a Container Apps Job.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param jobName Job Name.
+ * @param jobEnvelope Properties used to create a container apps job.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
* is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the list of diagnostics for a Container App Job as paginated response with {@link PagedIterable}.
+ * @return the {@link SyncPoller} for polling of container App Job.
*/
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable listDetectors(String resourceGroupName, String jobName, Context context);
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, JobInner> beginCreateOrUpdate(String resourceGroupName, String jobName,
+ JobInner jobEnvelope, Context context);
/**
- * Get the diagnostics data for a given Container App Job.
+ * Create or Update a Container Apps Job.
*
- * Get the diagnostics data for a Container App Job.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param jobName Job Name.
+ * @param jobEnvelope Properties used to create a container apps job.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
+ * is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return container App Job.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ JobInner createOrUpdate(String resourceGroupName, String jobName, JobInner jobEnvelope);
+
+ /**
+ * Create or Update a Container Apps Job.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param jobName Job Name.
- * @param detectorName Name of the Container App Job detector.
+ * @param jobEnvelope Properties used to create a container apps job.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
* is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the diagnostics data for a Container App Job along with {@link Response}.
+ * @return container App Job.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response getDetectorWithResponse(String resourceGroupName, String jobName, String detectorName,
- Context context);
+ JobInner createOrUpdate(String resourceGroupName, String jobName, JobInner jobEnvelope, Context context);
/**
- * Get the diagnostics data for a given Container App Job.
+ * Update properties of a Container Apps Job
*
- * Get the diagnostics data for a Container App Job.
+ * Patches a Container Apps Job using JSON Merge Patch.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param jobName Job Name.
- * @param detectorName Name of the Container App Job detector.
+ * @param jobEnvelope Properties used to create a container apps job.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
* is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the diagnostics data for a Container App Job.
+ * @return the {@link SyncPoller} for polling of container App Job.
*/
- @ServiceMethod(returns = ReturnType.SINGLE)
- DiagnosticsInner getDetector(String resourceGroupName, String jobName, String detectorName);
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, JobInner> beginUpdate(String resourceGroupName, String jobName,
+ JobPatchProperties jobEnvelope);
/**
- * Get the properties of a Container App Job.
+ * Update properties of a Container Apps Job
+ *
+ * Patches a Container Apps Job using JSON Merge Patch.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param jobName Job Name.
- * @param apiName Proxy API Name for Container App Job.
+ * @param jobEnvelope Properties used to create a container apps job.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
* is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the properties of a Container App Job along with {@link Response}.
+ * @return the {@link SyncPoller} for polling of container App Job.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, JobInner> beginUpdate(String resourceGroupName, String jobName,
+ JobPatchProperties jobEnvelope, Context context);
+
+ /**
+ * Update properties of a Container Apps Job
+ *
+ * Patches a Container Apps Job using JSON Merge Patch.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param jobName Job Name.
+ * @param jobEnvelope Properties used to create a container apps job.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
+ * is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return container App Job.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response proxyGetWithResponse(String resourceGroupName, String jobName, String apiName, Context context);
+ JobInner update(String resourceGroupName, String jobName, JobPatchProperties jobEnvelope);
/**
- * Get the properties of a Container App Job.
+ * Update properties of a Container Apps Job
+ *
+ * Patches a Container Apps Job using JSON Merge Patch.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param jobName Job Name.
- * @param apiName Proxy API Name for Container App Job.
+ * @param jobEnvelope Properties used to create a container apps job.
+ * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
* is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the properties of a Container App Job.
+ * @return container App Job.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- JobInner proxyGet(String resourceGroupName, String jobName, String apiName);
+ JobInner update(String resourceGroupName, String jobName, JobPatchProperties jobEnvelope, Context context);
/**
- * Get the Container Apps Jobs in a given subscription.
+ * Delete a Container Apps Job.
*
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param jobName Job Name.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
* is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the Container Apps Jobs in a given subscription as paginated response with {@link PagedIterable}.
+ * @return the {@link SyncPoller} for polling of long-running operation.
*/
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list();
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, Void> beginDelete(String resourceGroupName, String jobName);
/**
- * Get the Container Apps Jobs in a given subscription.
+ * Delete a Container Apps Job.
*
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param jobName Job Name.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
* is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the Container Apps Jobs in a given subscription as paginated response with {@link PagedIterable}.
+ * @return the {@link SyncPoller} for polling of long-running operation.
*/
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list(Context context);
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, Void> beginDelete(String resourceGroupName, String jobName, Context context);
+
+ /**
+ * Delete a Container Apps Job.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param jobName Job Name.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
+ * is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ void delete(String resourceGroupName, String jobName);
+
+ /**
+ * Delete a Container Apps Job.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param jobName Job Name.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
+ * is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ void delete(String resourceGroupName, String jobName, Context context);
/**
* Get the Container Apps Jobs in a given resource group.
@@ -175,100 +272,94 @@ Response getDetectorWithResponse(String resourceGroupName, Str
PagedIterable listByResourceGroup(String resourceGroupName, Context context);
/**
- * Get the properties of a Container Apps Job.
+ * Get the Container Apps Jobs in a given subscription.
*
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param jobName Job Name.
- * @param context The context to associate with this operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
* is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the properties of a Container Apps Job along with {@link Response}.
+ * @return the Container Apps Jobs in a given subscription as paginated response with {@link PagedIterable}.
*/
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response getByResourceGroupWithResponse(String resourceGroupName, String jobName, Context context);
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list();
/**
- * Get the properties of a Container Apps Job.
+ * Get the Container Apps Jobs in a given subscription.
*
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param jobName Job Name.
+ * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
* is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the properties of a Container Apps Job.
+ * @return the Container Apps Jobs in a given subscription as paginated response with {@link PagedIterable}.
*/
- @ServiceMethod(returns = ReturnType.SINGLE)
- JobInner getByResourceGroup(String resourceGroupName, String jobName);
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(Context context);
/**
- * Create or Update a Container Apps Job.
+ * Start a Container Apps Job.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param jobName Job Name.
- * @param jobEnvelope Properties used to create a container apps job.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
* is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the {@link SyncPoller} for polling of container App Job.
+ * @return the {@link SyncPoller} for polling of container App's Job execution name.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, JobInner> beginCreateOrUpdate(String resourceGroupName, String jobName,
- JobInner jobEnvelope);
+ SyncPoller, JobExecutionBaseInner> beginStart(String resourceGroupName,
+ String jobName);
/**
- * Create or Update a Container Apps Job.
+ * Start a Container Apps Job.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param jobName Job Name.
- * @param jobEnvelope Properties used to create a container apps job.
+ * @param template Properties used to start a job execution.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
* is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the {@link SyncPoller} for polling of container App Job.
+ * @return the {@link SyncPoller} for polling of container App's Job execution name.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, JobInner> beginCreateOrUpdate(String resourceGroupName, String jobName,
- JobInner jobEnvelope, Context context);
+ SyncPoller, JobExecutionBaseInner> beginStart(String resourceGroupName,
+ String jobName, JobExecutionTemplate template, Context context);
/**
- * Create or Update a Container Apps Job.
+ * Start a Container Apps Job.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param jobName Job Name.
- * @param jobEnvelope Properties used to create a container apps job.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
* is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return container App Job.
+ * @return container App's Job execution name.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- JobInner createOrUpdate(String resourceGroupName, String jobName, JobInner jobEnvelope);
+ JobExecutionBaseInner start(String resourceGroupName, String jobName);
/**
- * Create or Update a Container Apps Job.
+ * Start a Container Apps Job.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param jobName Job Name.
- * @param jobEnvelope Properties used to create a container apps job.
+ * @param template Properties used to start a job execution.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
* is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return container App Job.
+ * @return container App's Job execution name.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- JobInner createOrUpdate(String resourceGroupName, String jobName, JobInner jobEnvelope, Context context);
+ JobExecutionBaseInner start(String resourceGroupName, String jobName, JobExecutionTemplate template,
+ Context context);
/**
- * Delete a Container Apps Job.
+ * Terminates execution of a running container apps job.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param jobName Job Name.
@@ -276,13 +367,14 @@ SyncPoller, JobInner> beginCreateOrUpdate(String resourceGr
* @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
* is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the {@link SyncPoller} for polling of long-running operation.
+ * @return the {@link SyncPoller} for polling of container App executions collection ARM resource.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, Void> beginDelete(String resourceGroupName, String jobName);
+ SyncPoller, ContainerAppJobExecutionsInner>
+ beginStopMultipleExecutions(String resourceGroupName, String jobName);
/**
- * Delete a Container Apps Job.
+ * Terminates execution of a running container apps job.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param jobName Job Name.
@@ -291,13 +383,14 @@ SyncPoller, JobInner> beginCreateOrUpdate(String resourceGr
* @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
* is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the {@link SyncPoller} for polling of long-running operation.
+ * @return the {@link SyncPoller} for polling of container App executions collection ARM resource.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, Void> beginDelete(String resourceGroupName, String jobName, Context context);
+ SyncPoller, ContainerAppJobExecutionsInner>
+ beginStopMultipleExecutions(String resourceGroupName, String jobName, Context context);
/**
- * Delete a Container Apps Job.
+ * Terminates execution of a running container apps job.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param jobName Job Name.
@@ -305,12 +398,13 @@ SyncPoller, JobInner> beginCreateOrUpdate(String resourceGr
* @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
* is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return container App executions collection ARM resource.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- void delete(String resourceGroupName, String jobName);
+ ContainerAppJobExecutionsInner stopMultipleExecutions(String resourceGroupName, String jobName);
/**
- * Delete a Container Apps Job.
+ * Terminates execution of a running container apps job.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param jobName Job Name.
@@ -319,144 +413,164 @@ SyncPoller, JobInner> beginCreateOrUpdate(String resourceGr
* @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
* is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return container App executions collection ARM resource.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- void delete(String resourceGroupName, String jobName, Context context);
+ ContainerAppJobExecutionsInner stopMultipleExecutions(String resourceGroupName, String jobName, Context context);
/**
- * Update properties of a Container Apps Job
+ * List secrets for a container apps job.
*
- * Patches a Container Apps Job using JSON Merge Patch.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param jobName Job Name.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
+ * is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return container Apps Job Secrets Collection ARM resource along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response listSecretsWithResponse(String resourceGroupName, String jobName,
+ Context context);
+
+ /**
+ * List secrets for a container apps job.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param jobName Job Name.
- * @param jobEnvelope Properties used to create a container apps job.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
* is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return container Apps Job Secrets Collection ARM resource.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ JobSecretsCollectionInner listSecrets(String resourceGroupName, String jobName);
+
+ /**
+ * Resumes a suspended job
+ *
+ * Resumes execution for a suspended Container Apps job.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param jobName Job Name.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return the {@link SyncPoller} for polling of container App Job.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, JobInner> beginUpdate(String resourceGroupName, String jobName,
- JobPatchProperties jobEnvelope);
+ SyncPoller, JobInner> beginResume(String resourceGroupName, String jobName);
/**
- * Update properties of a Container Apps Job
+ * Resumes a suspended job
*
- * Patches a Container Apps Job using JSON Merge Patch.
+ * Resumes execution for a suspended Container Apps job.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param jobName Job Name.
- * @param jobEnvelope Properties used to create a container apps job.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
- * is rejected by server.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return the {@link SyncPoller} for polling of container App Job.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, JobInner> beginUpdate(String resourceGroupName, String jobName,
- JobPatchProperties jobEnvelope, Context context);
+ SyncPoller, JobInner> beginResume(String resourceGroupName, String jobName, Context context);
/**
- * Update properties of a Container Apps Job
+ * Resumes a suspended job
*
- * Patches a Container Apps Job using JSON Merge Patch.
+ * Resumes execution for a suspended Container Apps job.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param jobName Job Name.
- * @param jobEnvelope Properties used to create a container apps job.
* @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
- * is rejected by server.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return container App Job.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- JobInner update(String resourceGroupName, String jobName, JobPatchProperties jobEnvelope);
+ JobInner resume(String resourceGroupName, String jobName);
/**
- * Update properties of a Container Apps Job
+ * Resumes a suspended job
*
- * Patches a Container Apps Job using JSON Merge Patch.
+ * Resumes execution for a suspended Container Apps job.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param jobName Job Name.
- * @param jobEnvelope Properties used to create a container apps job.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
- * is rejected by server.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return container App Job.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- JobInner update(String resourceGroupName, String jobName, JobPatchProperties jobEnvelope, Context context);
+ JobInner resume(String resourceGroupName, String jobName, Context context);
/**
- * Start a Container Apps Job.
+ * Suspends a job
+ *
+ * Suspends execution for a running Container Apps job.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param jobName Job Name.
* @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
- * is rejected by server.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the {@link SyncPoller} for polling of container App's Job execution name.
+ * @return the {@link SyncPoller} for polling of container App Job.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, JobExecutionBaseInner> beginStart(String resourceGroupName,
- String jobName);
+ SyncPoller, JobInner> beginSuspend(String resourceGroupName, String jobName);
/**
- * Start a Container Apps Job.
+ * Suspends a job
+ *
+ * Suspends execution for a running Container Apps job.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param jobName Job Name.
- * @param template Properties used to start a job execution.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
- * is rejected by server.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the {@link SyncPoller} for polling of container App's Job execution name.
+ * @return the {@link SyncPoller} for polling of container App Job.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, JobExecutionBaseInner> beginStart(String resourceGroupName,
- String jobName, JobExecutionTemplate template, Context context);
+ SyncPoller, JobInner> beginSuspend(String resourceGroupName, String jobName, Context context);
/**
- * Start a Container Apps Job.
+ * Suspends a job
+ *
+ * Suspends execution for a running Container Apps job.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param jobName Job Name.
* @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
- * is rejected by server.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return container App's Job execution name.
+ * @return container App Job.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- JobExecutionBaseInner start(String resourceGroupName, String jobName);
+ JobInner suspend(String resourceGroupName, String jobName);
/**
- * Start a Container Apps Job.
+ * Suspends a job
+ *
+ * Suspends execution for a running Container Apps job.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param jobName Job Name.
- * @param template Properties used to start a job execution.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
- * is rejected by server.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return container App's Job execution name.
+ * @return container App Job.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- JobExecutionBaseInner start(String resourceGroupName, String jobName, JobExecutionTemplate template,
- Context context);
+ JobInner suspend(String resourceGroupName, String jobName, Context context);
/**
* Terminates execution of a running container apps job.
@@ -521,92 +635,118 @@ SyncPoller, Void> beginStopExecution(String resourceGroupName,
void stopExecution(String resourceGroupName, String jobName, String jobExecutionName, Context context);
/**
- * Terminates execution of a running container apps job.
+ * Get the properties of a Container App Job.
+ *
+ * Get the properties for a given Container App Job.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param jobName Job Name.
+ * @param apiName Proxy API Name for Container App Job.
+ * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
* is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the {@link SyncPoller} for polling of container App executions collection ARM resource.
+ * @return the properties of a Container App Job.
+ *
+ * Get the properties for a given Container App Job along with {@link Response}.
*/
- @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, ContainerAppJobExecutionsInner>
- beginStopMultipleExecutions(String resourceGroupName, String jobName);
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response proxyGetWithResponse(String resourceGroupName, String jobName, String apiName, Context context);
/**
- * Terminates execution of a running container apps job.
+ * Get the properties of a Container App Job.
+ *
+ * Get the properties for a given Container App Job.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param jobName Job Name.
- * @param context The context to associate with this operation.
+ * @param apiName Proxy API Name for Container App Job.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
* is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the {@link SyncPoller} for polling of container App executions collection ARM resource.
+ * @return the properties of a Container App Job.
+ *
+ * Get the properties for a given Container App Job.
*/
- @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, ContainerAppJobExecutionsInner>
- beginStopMultipleExecutions(String resourceGroupName, String jobName, Context context);
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ JobInner proxyGet(String resourceGroupName, String jobName, String apiName);
/**
- * Terminates execution of a running container apps job.
+ * Get the list of diagnostics for a given Container App Job.
+ *
+ * Get the list of diagnostics for a Container App Job.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param jobName Job Name.
+ * @param jobName Name of the Container App Job.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
* is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return container App executions collection ARM resource.
+ * @return the list of diagnostics for a given Container App Job.
+ *
+ * Get the list of diagnostics for a Container App Job as paginated response with {@link PagedIterable}.
*/
- @ServiceMethod(returns = ReturnType.SINGLE)
- ContainerAppJobExecutionsInner stopMultipleExecutions(String resourceGroupName, String jobName);
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listDetectors(String resourceGroupName, String jobName);
/**
- * Terminates execution of a running container apps job.
+ * Get the list of diagnostics for a given Container App Job.
+ *
+ * Get the list of diagnostics for a Container App Job.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param jobName Job Name.
+ * @param jobName Name of the Container App Job.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
* is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return container App executions collection ARM resource.
+ * @return the list of diagnostics for a given Container App Job.
+ *
+ * Get the list of diagnostics for a Container App Job as paginated response with {@link PagedIterable}.
*/
- @ServiceMethod(returns = ReturnType.SINGLE)
- ContainerAppJobExecutionsInner stopMultipleExecutions(String resourceGroupName, String jobName, Context context);
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listDetectors(String resourceGroupName, String jobName, Context context);
/**
- * List secrets for a container apps job.
+ * Get the diagnostics data for a given Container App Job.
+ *
+ * Get the diagnostics data for a Container App Job.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param jobName Job Name.
+ * @param jobName Name of the Container App Job.
+ * @param detectorName Proxy API Name for Container App Job.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
* is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return container Apps Job Secrets Collection ARM resource along with {@link Response}.
+ * @return the diagnostics data for a given Container App Job.
+ *
+ * Get the diagnostics data for a Container App Job along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response listSecretsWithResponse(String resourceGroupName, String jobName,
+ Response getDetectorWithResponse(String resourceGroupName, String jobName, String detectorName,
Context context);
/**
- * List secrets for a container apps job.
+ * Get the diagnostics data for a given Container App Job.
+ *
+ * Get the diagnostics data for a Container App Job.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param jobName Job Name.
+ * @param jobName Name of the Container App Job.
+ * @param detectorName Proxy API Name for Container App Job.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
* is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return container Apps Job Secrets Collection ARM resource.
+ * @return the diagnostics data for a given Container App Job.
+ *
+ * Get the diagnostics data for a Container App Job.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- JobSecretsCollectionInner listSecrets(String resourceGroupName, String jobName);
+ DiagnosticsInner getDetector(String resourceGroupName, String jobName, String detectorName);
}
diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/JobsExecutionsClient.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/JobsExecutionsClient.java
index d9c95e6f4a71..bbaaf4e857df 100644
--- a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/JobsExecutionsClient.java
+++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/JobsExecutionsClient.java
@@ -1,6 +1,6 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
package com.azure.resourcemanager.appcontainers.fluent;
diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/LogicAppsClient.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/LogicAppsClient.java
index 60e6003f4f4f..b7ce16b9d9a8 100644
--- a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/LogicAppsClient.java
+++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/LogicAppsClient.java
@@ -1,6 +1,6 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
package com.azure.resourcemanager.appcontainers.fluent;
@@ -21,7 +21,7 @@ public interface LogicAppsClient {
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param containerAppName Name of the Container App.
- * @param logicAppName Name of the Logic App.
+ * @param logicAppName Name of the Logic App, the extension resource.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
@@ -38,7 +38,7 @@ Response getWithResponse(String resourceGroupName, String contain
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param containerAppName Name of the Container App.
- * @param logicAppName Name of the Logic App.
+ * @param logicAppName Name of the Logic App, the extension resource.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
* is rejected by server.
@@ -53,8 +53,8 @@ Response getWithResponse(String resourceGroupName, String contain
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param containerAppName Name of the Container App.
- * @param logicAppName Name of the Logic App.
- * @param resource Logic app resource properties.
+ * @param logicAppName Name of the Logic App, the extension resource.
+ * @param resource Resource create parameters.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
@@ -71,7 +71,7 @@ Response createOrUpdateWithResponse(String resourceGroupName, Str
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param containerAppName Name of the Container App.
- * @param logicAppName Name of the Logic App.
+ * @param logicAppName Name of the Logic App, the extension resource.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
* is rejected by server.
@@ -86,7 +86,7 @@ Response createOrUpdateWithResponse(String resourceGroupName, Str
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param containerAppName Name of the Container App.
- * @param logicAppName Name of the Logic App.
+ * @param logicAppName Name of the Logic App, the extension resource.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
@@ -103,7 +103,7 @@ Response deleteWithResponse(String resourceGroupName, String containerAppN
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param containerAppName Name of the Container App.
- * @param logicAppName Name of the Logic App.
+ * @param logicAppName Name of the Logic App, the extension resource.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
* is rejected by server.
@@ -113,44 +113,44 @@ Response deleteWithResponse(String resourceGroupName, String containerAppN
void delete(String resourceGroupName, String containerAppName, String logicAppName);
/**
- * List the workflows for a logic app.
+ * Gets logic app's connections.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param containerAppName Name of the Container App.
- * @param logicAppName Name of the Logic App.
+ * @param logicAppName Name of the Logic App, the extension resource.
+ * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
* is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return collection of workflow information elements as paginated response with {@link PagedIterable}.
+ * @return logic app's connections along with {@link Response}.
*/
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable listWorkflows(String resourceGroupName, String containerAppName,
- String logicAppName);
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response listWorkflowsConnectionsWithResponse(String resourceGroupName,
+ String containerAppName, String logicAppName, Context context);
/**
- * List the workflows for a logic app.
+ * Gets logic app's connections.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param containerAppName Name of the Container App.
- * @param logicAppName Name of the Logic App.
- * @param context The context to associate with this operation.
+ * @param logicAppName Name of the Logic App, the extension resource.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
* is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return collection of workflow information elements as paginated response with {@link PagedIterable}.
+ * @return logic app's connections.
*/
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable listWorkflows(String resourceGroupName, String containerAppName,
- String logicAppName, Context context);
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ WorkflowEnvelopeInner listWorkflowsConnections(String resourceGroupName, String containerAppName,
+ String logicAppName);
/**
* Get workflow information by its name.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param containerAppName Name of the Container App.
- * @param logicAppName Name of the Logic App.
+ * @param logicAppName Name of the Logic App, the extension resource.
* @param workflowName Workflow name.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -168,7 +168,7 @@ Response getWorkflowWithResponse(String resourceGroupName
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param containerAppName Name of the Container App.
- * @param logicAppName Name of the Logic App.
+ * @param logicAppName Name of the Logic App, the extension resource.
* @param workflowName Workflow name.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
@@ -181,35 +181,35 @@ WorkflowEnvelopeInner getWorkflow(String resourceGroupName, String containerAppN
String workflowName);
/**
- * Gets logic app's connections.
+ * List the workflows for a logic app.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param containerAppName Name of the Container App.
- * @param logicAppName Name of the Logic App.
- * @param context The context to associate with this operation.
+ * @param logicAppName Name of the Logic App, the extension resource.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
* is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return logic app's connections along with {@link Response}.
+ * @return collection of workflow information elements as paginated response with {@link PagedIterable}.
*/
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response listWorkflowsConnectionsWithResponse(String resourceGroupName,
- String containerAppName, String logicAppName, Context context);
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listWorkflows(String resourceGroupName, String containerAppName,
+ String logicAppName);
/**
- * Gets logic app's connections.
+ * List the workflows for a logic app.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param containerAppName Name of the Container App.
- * @param logicAppName Name of the Logic App.
+ * @param logicAppName Name of the Logic App, the extension resource.
+ * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
* is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return logic app's connections.
+ * @return collection of workflow information elements as paginated response with {@link PagedIterable}.
*/
- @ServiceMethod(returns = ReturnType.SINGLE)
- WorkflowEnvelopeInner listWorkflowsConnections(String resourceGroupName, String containerAppName,
- String logicAppName);
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listWorkflows(String resourceGroupName, String containerAppName,
+ String logicAppName, Context context);
}
diff --git a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/MaintenanceConfigurationsClient.java b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/MaintenanceConfigurationsClient.java
index 3716e00e44ae..5a0db7cf1bde 100644
--- a/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/MaintenanceConfigurationsClient.java
+++ b/sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/MaintenanceConfigurationsClient.java
@@ -1,6 +1,6 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
package com.azure.resourcemanager.appcontainers.fluent;
@@ -16,41 +16,41 @@
*/
public interface MaintenanceConfigurationsClient {
/**
- * Gets all maintenance configurations in the specified Managed Environment.
+ * Gets the maintenance configuration of a ManagedEnvironment .
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param environmentName The name of the Managed Environment.
+ * @param environmentName Name of the managed environment.
+ * @param configName Name of the Maintenance Configuration.
+ * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return all maintenance configurations in the specified Managed Environment as paginated response with
- * {@link PagedIterable}.
+ * @return the maintenance configuration of a ManagedEnvironment along with {@link Response}.
*/
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list(String resourceGroupName, String environmentName);
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response getWithResponse(String resourceGroupName, String environmentName,
+ String configName, Context context);
/**
- * Gets all maintenance configurations in the specified Managed Environment.
+ * Gets the maintenance configuration of a ManagedEnvironment .
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param environmentName The name of the Managed Environment.
- * @param context The context to associate with this operation.
+ * @param environmentName Name of the managed environment.
+ * @param configName Name of the Maintenance Configuration.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return all maintenance configurations in the specified Managed Environment as paginated response with
- * {@link PagedIterable}.
+ * @return the maintenance configuration of a ManagedEnvironment.
*/
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list(String resourceGroupName, String environmentName,
- Context context);
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ MaintenanceConfigurationResourceInner get(String resourceGroupName, String environmentName, String configName);
/**
* Create or update the maintenance configuration for Managed Environment.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param environmentName The name of the Managed Environment.
- * @param configName The name of the maintenance configuration.
+ * @param environmentName Name of the managed environment.
+ * @param configName Name of the Maintenance Configuration.
* @param maintenanceConfigurationEnvelope Parameters to set the maintenance configuration for ManagedEnvironment .
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -67,8 +67,8 @@ Response createOrUpdateWithResponse(Strin
* Create or update the maintenance configuration for Managed Environment.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param environmentName The name of the Managed Environment.
- * @param configName The name of the maintenance configuration.
+ * @param environmentName Name of the managed environment.
+ * @param configName Name of the Maintenance Configuration.
* @param maintenanceConfigurationEnvelope Parameters to set the maintenance configuration for ManagedEnvironment .
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -83,8 +83,8 @@ MaintenanceConfigurationResourceInner createOrUpdate(String resourceGroupName, S
* Deletes the maintenance configuration of a ManagedEnvironment .
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param environmentName The name of the Managed Environment.
- * @param configName The name of the maintenance configuration.
+ * @param environmentName Name of the managed environment.
+ * @param configName Name of the Maintenance Configuration.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -99,8 +99,8 @@ Response deleteWithResponse(String resourceGroupName, String environmentNa
* Deletes the maintenance configuration of a ManagedEnvironment .
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param environmentName The name of the Managed Environment.
- * @param configName The name of the maintenance configuration.
+ * @param environmentName Name of the managed environment.
+ * @param configName Name of the Maintenance Configuration.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
@@ -109,32 +109,32 @@ Response deleteWithResponse(String resourceGroupName, String environmentNa
void delete(String resourceGroupName, String environmentName, String configName);
/**
- * Gets the maintenance configuration of a ManagedEnvironment .
+ * Gets all maintenance configurations in the specified Managed Environment.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param environmentName The name of the Managed Environment.
- * @param configName The name of the maintenance configuration.
- * @param context The context to associate with this operation.
+ * @param environmentName Name of the managed environment.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the maintenance configuration of a ManagedEnvironment along with {@link Response}.
+ * @return all maintenance configurations in the specified Managed Environment as paginated response with
+ * {@link PagedIterable}.
*/
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response getWithResponse(String resourceGroupName, String environmentName,
- String configName, Context context);
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable