Skip to content

Commit

Permalink
CodeGen from PR 30748 in Azure/azure-rest-api-specs
Browse files Browse the repository at this point in the history
Merge f661d35899761e877eb5aa2797c7d2e8a23e6dff into 1dc7b2340566bab01000efb33b0e6894f75d49ed
  • Loading branch information
SDKAuto committed Sep 26, 2024
1 parent ef2521b commit d9ceb5e
Show file tree
Hide file tree
Showing 371 changed files with 34,764 additions and 2,966 deletions.
6 changes: 3 additions & 3 deletions sdk/appcontainers/azure-mgmt-appcontainers/_meta.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"commit": "c4b33165c43ba9253bb5b36a8c907dbef570bb6f",
"commit": "bb1768f218c164bd56da0f6ee02e2e1bdfb4d34f",
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
"autorest": "3.10.2",
"use": [
"@autorest/python@6.17.0",
"@autorest/python@6.19.0",
"@autorest/modelerfour@4.27.0"
],
"autorest_command": "autorest specification/app/resource-manager/readme.md --generate-sample=True --generate-test=True --include-x-ms-examples-original-file=True --python --python-sdks-folder=/home/vsts/work/1/azure-sdk-for-python/sdk --tag=package-2024-03 --use=@autorest/python@6.17.0 --use=@autorest/modelerfour@4.27.0 --version=3.10.2 --version-tolerant=False",
"autorest_command": "autorest specification/app/resource-manager/readme.md --generate-sample=True --generate-test=True --include-x-ms-examples-original-file=True --python --python-sdks-folder=/mnt/vss/_work/1/s/azure-sdk-for-python/sdk --use=@autorest/python@6.19.0 --use=@autorest/modelerfour@4.27.0 --version=3.10.2 --version-tolerant=False",
"readme": "specification/app/resource-manager/readme.md"
}
Original file line number Diff line number Diff line change
Expand Up @@ -26,15 +26,15 @@ class ContainerAppsAPIClientConfiguration: # pylint: disable=too-many-instance-
:param credential: Credential needed for the client to connect to Azure. Required.
:type credential: ~azure.core.credentials.TokenCredential
:param subscription_id: The ID of the target subscription. Required.
:param subscription_id: The ID of the target subscription. The value must be an UUID. Required.
:type subscription_id: str
:keyword api_version: Api Version. Default value is "2024-03-01". Note that overriding this
default value may result in unsupported behavior.
:keyword api_version: Api Version. Default value is "2024-08-02-preview". Note that overriding
this default value may result in unsupported behavior.
:paramtype api_version: str
"""

def __init__(self, credential: "TokenCredential", subscription_id: str, **kwargs: Any) -> None:
api_version: str = kwargs.pop("api_version", "2024-03-01")
api_version: str = kwargs.pop("api_version", "2024-08-02-preview")

if credential is None:
raise ValueError("Parameter 'credential' must not be None.")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,25 +19,42 @@
from ._configuration import ContainerAppsAPIClientConfiguration
from ._serialization import Deserializer, Serializer
from .operations import (
AppResiliencyOperations,
AvailableWorkloadProfilesOperations,
BillingMetersOperations,
BuildAuthTokenOperations,
BuildersOperations,
BuildsByBuilderResourceOperations,
BuildsOperations,
CertificatesOperations,
ConnectedEnvironmentsCertificatesOperations,
ConnectedEnvironmentsDaprComponentsOperations,
ConnectedEnvironmentsOperations,
ConnectedEnvironmentsStoragesOperations,
ContainerAppsAPIClientOperationsMixin,
ContainerAppsAuthConfigsOperations,
ContainerAppsBuildsByContainerAppOperations,
ContainerAppsBuildsOperations,
ContainerAppsDiagnosticsOperations,
ContainerAppsOperations,
ContainerAppsPatchesOperations,
ContainerAppsRevisionReplicasOperations,
ContainerAppsRevisionsOperations,
ContainerAppsSessionPoolsOperations,
ContainerAppsSourceControlsOperations,
DaprComponentResiliencyPoliciesOperations,
DaprComponentsOperations,
DaprSubscriptionsOperations,
DotNetComponentsOperations,
FunctionsExtensionOperations,
JavaComponentsOperations,
JobsExecutionsOperations,
JobsOperations,
LogicAppsOperations,
ManagedCertificatesOperations,
ManagedEnvironmentDiagnosticsOperations,
ManagedEnvironmentPrivateEndpointConnectionsOperations,
ManagedEnvironmentPrivateLinkResourcesOperations,
ManagedEnvironmentUsagesOperations,
ManagedEnvironmentsDiagnosticsOperations,
ManagedEnvironmentsOperations,
Expand All @@ -55,8 +72,12 @@
class ContainerAppsAPIClient(
ContainerAppsAPIClientOperationsMixin
): # pylint: disable=client-accepts-api-version-keyword,too-many-instance-attributes
"""ContainerAppsAPIClient.
"""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.
:ivar app_resiliency: AppResiliencyOperations operations
:vartype app_resiliency: azure.mgmt.appcontainers.operations.AppResiliencyOperations
:ivar container_apps_auth_configs: ContainerAppsAuthConfigsOperations operations
:vartype container_apps_auth_configs:
azure.mgmt.appcontainers.operations.ContainerAppsAuthConfigsOperations
Expand All @@ -65,6 +86,15 @@ class ContainerAppsAPIClient(
azure.mgmt.appcontainers.operations.AvailableWorkloadProfilesOperations
:ivar billing_meters: BillingMetersOperations operations
:vartype billing_meters: azure.mgmt.appcontainers.operations.BillingMetersOperations
:ivar builders: BuildersOperations operations
:vartype builders: azure.mgmt.appcontainers.operations.BuildersOperations
:ivar builds_by_builder_resource: BuildsByBuilderResourceOperations operations
:vartype builds_by_builder_resource:
azure.mgmt.appcontainers.operations.BuildsByBuilderResourceOperations
:ivar builds: BuildsOperations operations
:vartype builds: azure.mgmt.appcontainers.operations.BuildsOperations
:ivar build_auth_token: BuildAuthTokenOperations operations
:vartype build_auth_token: azure.mgmt.appcontainers.operations.BuildAuthTokenOperations
:ivar connected_environments: ConnectedEnvironmentsOperations operations
:vartype connected_environments:
azure.mgmt.appcontainers.operations.ConnectedEnvironmentsOperations
Expand All @@ -81,6 +111,16 @@ class ContainerAppsAPIClient(
azure.mgmt.appcontainers.operations.ConnectedEnvironmentsStoragesOperations
:ivar container_apps: ContainerAppsOperations operations
:vartype container_apps: azure.mgmt.appcontainers.operations.ContainerAppsOperations
:ivar container_apps_builds_by_container_app: ContainerAppsBuildsByContainerAppOperations
operations
:vartype container_apps_builds_by_container_app:
azure.mgmt.appcontainers.operations.ContainerAppsBuildsByContainerAppOperations
:ivar container_apps_builds: ContainerAppsBuildsOperations operations
:vartype container_apps_builds:
azure.mgmt.appcontainers.operations.ContainerAppsBuildsOperations
:ivar container_apps_patches: ContainerAppsPatchesOperations operations
:vartype container_apps_patches:
azure.mgmt.appcontainers.operations.ContainerAppsPatchesOperations
:ivar container_apps_revisions: ContainerAppsRevisionsOperations operations
:vartype container_apps_revisions:
azure.mgmt.appcontainers.operations.ContainerAppsRevisionsOperations
Expand All @@ -98,10 +138,18 @@ class ContainerAppsAPIClient(
azure.mgmt.appcontainers.operations.ManagedEnvironmentsDiagnosticsOperations
:ivar jobs: JobsOperations operations
:vartype jobs: azure.mgmt.appcontainers.operations.JobsOperations
:ivar dot_net_components: DotNetComponentsOperations operations
:vartype dot_net_components: azure.mgmt.appcontainers.operations.DotNetComponentsOperations
:ivar functions_extension: FunctionsExtensionOperations operations
:vartype functions_extension: azure.mgmt.appcontainers.operations.FunctionsExtensionOperations
:ivar operations: Operations operations
:vartype operations: azure.mgmt.appcontainers.operations.Operations
:ivar java_components: JavaComponentsOperations operations
:vartype java_components: azure.mgmt.appcontainers.operations.JavaComponentsOperations
:ivar jobs_executions: JobsExecutionsOperations operations
:vartype jobs_executions: azure.mgmt.appcontainers.operations.JobsExecutionsOperations
:ivar logic_apps: LogicAppsOperations operations
:vartype logic_apps: azure.mgmt.appcontainers.operations.LogicAppsOperations
:ivar managed_environments: ManagedEnvironmentsOperations operations
:vartype managed_environments:
azure.mgmt.appcontainers.operations.ManagedEnvironmentsOperations
Expand All @@ -112,11 +160,27 @@ class ContainerAppsAPIClient(
azure.mgmt.appcontainers.operations.ManagedCertificatesOperations
:ivar namespaces: NamespacesOperations operations
:vartype namespaces: azure.mgmt.appcontainers.operations.NamespacesOperations
:ivar managed_environment_private_endpoint_connections:
ManagedEnvironmentPrivateEndpointConnectionsOperations operations
:vartype managed_environment_private_endpoint_connections:
azure.mgmt.appcontainers.operations.ManagedEnvironmentPrivateEndpointConnectionsOperations
:ivar managed_environment_private_link_resources:
ManagedEnvironmentPrivateLinkResourcesOperations operations
:vartype managed_environment_private_link_resources:
azure.mgmt.appcontainers.operations.ManagedEnvironmentPrivateLinkResourcesOperations
:ivar dapr_component_resiliency_policies: DaprComponentResiliencyPoliciesOperations operations
:vartype dapr_component_resiliency_policies:
azure.mgmt.appcontainers.operations.DaprComponentResiliencyPoliciesOperations
:ivar dapr_components: DaprComponentsOperations operations
:vartype dapr_components: azure.mgmt.appcontainers.operations.DaprComponentsOperations
:ivar dapr_subscriptions: DaprSubscriptionsOperations operations
:vartype dapr_subscriptions: azure.mgmt.appcontainers.operations.DaprSubscriptionsOperations
:ivar managed_environments_storages: ManagedEnvironmentsStoragesOperations operations
:vartype managed_environments_storages:
azure.mgmt.appcontainers.operations.ManagedEnvironmentsStoragesOperations
:ivar container_apps_session_pools: ContainerAppsSessionPoolsOperations operations
:vartype container_apps_session_pools:
azure.mgmt.appcontainers.operations.ContainerAppsSessionPoolsOperations
:ivar container_apps_source_controls: ContainerAppsSourceControlsOperations operations
:vartype container_apps_source_controls:
azure.mgmt.appcontainers.operations.ContainerAppsSourceControlsOperations
Expand All @@ -127,12 +191,12 @@ class ContainerAppsAPIClient(
azure.mgmt.appcontainers.operations.ManagedEnvironmentUsagesOperations
:param credential: Credential needed for the client to connect to Azure. Required.
:type credential: ~azure.core.credentials.TokenCredential
:param subscription_id: The ID of the target subscription. Required.
:param subscription_id: The ID of the target subscription. The value must be an UUID. Required.
:type subscription_id: str
:param base_url: Service URL. Default value is "https://management.azure.com".
:type base_url: str
:keyword api_version: Api Version. Default value is "2024-03-01". Note that overriding this
default value may result in unsupported behavior.
:keyword api_version: Api Version. Default value is "2024-08-02-preview". Note that overriding
this default value may result in unsupported behavior.
:paramtype api_version: str
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no
Retry-After header is present.
Expand Down Expand Up @@ -172,13 +236,20 @@ def __init__(
self._serialize = Serializer(client_models)
self._deserialize = Deserializer(client_models)
self._serialize.client_side_validation = False
self.app_resiliency = AppResiliencyOperations(self._client, self._config, self._serialize, self._deserialize)
self.container_apps_auth_configs = ContainerAppsAuthConfigsOperations(
self._client, self._config, self._serialize, self._deserialize
)
self.available_workload_profiles = AvailableWorkloadProfilesOperations(
self._client, self._config, self._serialize, self._deserialize
)
self.billing_meters = BillingMetersOperations(self._client, self._config, self._serialize, self._deserialize)
self.builders = BuildersOperations(self._client, self._config, self._serialize, self._deserialize)
self.builds_by_builder_resource = BuildsByBuilderResourceOperations(
self._client, self._config, self._serialize, self._deserialize
)
self.builds = BuildsOperations(self._client, self._config, self._serialize, self._deserialize)
self.build_auth_token = BuildAuthTokenOperations(self._client, self._config, self._serialize, self._deserialize)
self.connected_environments = ConnectedEnvironmentsOperations(
self._client, self._config, self._serialize, self._deserialize
)
Expand All @@ -192,6 +263,15 @@ def __init__(
self._client, self._config, self._serialize, self._deserialize
)
self.container_apps = ContainerAppsOperations(self._client, self._config, self._serialize, self._deserialize)
self.container_apps_builds_by_container_app = ContainerAppsBuildsByContainerAppOperations(
self._client, self._config, self._serialize, self._deserialize
)
self.container_apps_builds = ContainerAppsBuildsOperations(
self._client, self._config, self._serialize, self._deserialize
)
self.container_apps_patches = ContainerAppsPatchesOperations(
self._client, self._config, self._serialize, self._deserialize
)
self.container_apps_revisions = ContainerAppsRevisionsOperations(
self._client, self._config, self._serialize, self._deserialize
)
Expand All @@ -208,8 +288,16 @@ def __init__(
self._client, self._config, self._serialize, self._deserialize
)
self.jobs = JobsOperations(self._client, self._config, self._serialize, self._deserialize)
self.dot_net_components = DotNetComponentsOperations(
self._client, self._config, self._serialize, self._deserialize
)
self.functions_extension = FunctionsExtensionOperations(
self._client, self._config, self._serialize, self._deserialize
)
self.operations = Operations(self._client, self._config, self._serialize, self._deserialize)
self.java_components = JavaComponentsOperations(self._client, self._config, self._serialize, self._deserialize)
self.jobs_executions = JobsExecutionsOperations(self._client, self._config, self._serialize, self._deserialize)
self.logic_apps = LogicAppsOperations(self._client, self._config, self._serialize, self._deserialize)
self.managed_environments = ManagedEnvironmentsOperations(
self._client, self._config, self._serialize, self._deserialize
)
Expand All @@ -218,10 +306,25 @@ def __init__(
self._client, self._config, self._serialize, self._deserialize
)
self.namespaces = NamespacesOperations(self._client, self._config, self._serialize, self._deserialize)
self.managed_environment_private_endpoint_connections = ManagedEnvironmentPrivateEndpointConnectionsOperations(
self._client, self._config, self._serialize, self._deserialize
)
self.managed_environment_private_link_resources = ManagedEnvironmentPrivateLinkResourcesOperations(
self._client, self._config, self._serialize, self._deserialize
)
self.dapr_component_resiliency_policies = DaprComponentResiliencyPoliciesOperations(
self._client, self._config, self._serialize, self._deserialize
)
self.dapr_components = DaprComponentsOperations(self._client, self._config, self._serialize, self._deserialize)
self.dapr_subscriptions = DaprSubscriptionsOperations(
self._client, self._config, self._serialize, self._deserialize
)
self.managed_environments_storages = ManagedEnvironmentsStoragesOperations(
self._client, self._config, self._serialize, self._deserialize
)
self.container_apps_session_pools = ContainerAppsSessionPoolsOperations(
self._client, self._config, self._serialize, self._deserialize
)
self.container_apps_source_controls = ContainerAppsSourceControlsOperations(
self._client, self._config, self._serialize, self._deserialize
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
# --------------------------------------------------------------------------

VERSION = "3.1.0"
VERSION = "1.0.0b1"
Original file line number Diff line number Diff line change
Expand Up @@ -26,15 +26,15 @@ class ContainerAppsAPIClientConfiguration: # pylint: disable=too-many-instance-
:param credential: Credential needed for the client to connect to Azure. Required.
:type credential: ~azure.core.credentials_async.AsyncTokenCredential
:param subscription_id: The ID of the target subscription. Required.
:param subscription_id: The ID of the target subscription. The value must be an UUID. Required.
:type subscription_id: str
:keyword api_version: Api Version. Default value is "2024-03-01". Note that overriding this
default value may result in unsupported behavior.
:keyword api_version: Api Version. Default value is "2024-08-02-preview". Note that overriding
this default value may result in unsupported behavior.
:paramtype api_version: str
"""

def __init__(self, credential: "AsyncTokenCredential", subscription_id: str, **kwargs: Any) -> None:
api_version: str = kwargs.pop("api_version", "2024-03-01")
api_version: str = kwargs.pop("api_version", "2024-08-02-preview")

if credential is None:
raise ValueError("Parameter 'credential' must not be None.")
Expand Down
Loading

0 comments on commit d9ceb5e

Please sign in to comment.