Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[AutoPR track2_azure-mgmt-appcontainers] add managed cert API in 2022-11-01-preview #1899

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions sdk/appcontainers/azure-mgmt-appcontainers/_meta.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"commit": "30369caba5632829c45835099750e23d9ecab5c8",
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
"autorest": "3.9.2",
"use": [
"@autorest/python@6.1.9",
"@autorest/python@6.1.11",
"@autorest/modelerfour@4.24.3"
],
"commit": "339675bcbc8172eacbe283470405e1e578632afc",
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
"autorest_command": "autorest specification/app/resource-manager/readme.md --python --python-sdks-folder=/home/vsts/work/1/azure-sdk-for-python/sdk --use=@autorest/python@6.1.9 --use=@autorest/modelerfour@4.24.3 --version=3.9.2 --version-tolerant=False",
"autorest_command": "autorest specification/app/resource-manager/readme.md --python --python-sdks-folder=/mnt/vss/_work/1/s/azure-sdk-for-python/sdk --use=@autorest/python@6.1.11 --use=@autorest/modelerfour@4.24.3 --version=3.9.2 --version-tolerant=False",
"readme": "specification/app/resource-manager/readme.md"
}
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,14 @@ class ContainerAppsAPIClientConfiguration(Configuration): # pylint: disable=too
:type credential: ~azure.core.credentials.TokenCredential
:param subscription_id: The ID of the target subscription. Required.
:type subscription_id: str
:keyword api_version: Api Version. Default value is "2022-06-01-preview". Note that overriding
:keyword api_version: Api Version. Default value is "2022-11-01-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:
super(ContainerAppsAPIClientConfiguration, self).__init__(**kwargs)
api_version = kwargs.pop("api_version", "2022-06-01-preview") # type: str
api_version = kwargs.pop("api_version", "2022-11-01-preview") # type: str

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 @@ -30,6 +30,7 @@
ContainerAppsRevisionsOperations,
ContainerAppsSourceControlsOperations,
DaprComponentsOperations,
ManagedCertificatesOperations,
ManagedEnvironmentDiagnosticsOperations,
ManagedEnvironmentsDiagnosticsOperations,
ManagedEnvironmentsOperations,
Expand All @@ -49,6 +50,25 @@ class ContainerAppsAPIClient: # pylint: disable=client-accepts-api-version-keyw
:ivar container_apps_auth_configs: ContainerAppsAuthConfigsOperations operations
:vartype container_apps_auth_configs:
azure.mgmt.appcontainers.operations.ContainerAppsAuthConfigsOperations
:ivar available_workload_profiles: AvailableWorkloadProfilesOperations operations
:vartype available_workload_profiles:
azure.mgmt.appcontainers.operations.AvailableWorkloadProfilesOperations
:ivar billing_meters: BillingMetersOperations operations
:vartype billing_meters: azure.mgmt.appcontainers.operations.BillingMetersOperations
:ivar connected_environments: ConnectedEnvironmentsOperations operations
:vartype connected_environments:
azure.mgmt.appcontainers.operations.ConnectedEnvironmentsOperations
:ivar connected_environments_certificates: ConnectedEnvironmentsCertificatesOperations
operations
:vartype connected_environments_certificates:
azure.mgmt.appcontainers.operations.ConnectedEnvironmentsCertificatesOperations
:ivar connected_environments_dapr_components: ConnectedEnvironmentsDaprComponentsOperations
operations
:vartype connected_environments_dapr_components:
azure.mgmt.appcontainers.operations.ConnectedEnvironmentsDaprComponentsOperations
:ivar connected_environments_storages: ConnectedEnvironmentsStoragesOperations operations
:vartype connected_environments_storages:
azure.mgmt.appcontainers.operations.ConnectedEnvironmentsStoragesOperations
:ivar container_apps: ContainerAppsOperations operations
:vartype container_apps: azure.mgmt.appcontainers.operations.ContainerAppsOperations
:ivar container_apps_revisions: ContainerAppsRevisionsOperations operations
Expand All @@ -57,8 +77,6 @@ class ContainerAppsAPIClient: # pylint: disable=client-accepts-api-version-keyw
:ivar container_apps_revision_replicas: ContainerAppsRevisionReplicasOperations operations
:vartype container_apps_revision_replicas:
azure.mgmt.appcontainers.operations.ContainerAppsRevisionReplicasOperations
:ivar dapr_components: DaprComponentsOperations operations
:vartype dapr_components: azure.mgmt.appcontainers.operations.DaprComponentsOperations
:ivar container_apps_diagnostics: ContainerAppsDiagnosticsOperations operations
:vartype container_apps_diagnostics:
azure.mgmt.appcontainers.operations.ContainerAppsDiagnosticsOperations
Expand All @@ -75,40 +93,26 @@ class ContainerAppsAPIClient: # pylint: disable=client-accepts-api-version-keyw
azure.mgmt.appcontainers.operations.ManagedEnvironmentsOperations
:ivar certificates: CertificatesOperations operations
:vartype certificates: azure.mgmt.appcontainers.operations.CertificatesOperations
:ivar managed_certificates: ManagedCertificatesOperations operations
:vartype managed_certificates:
azure.mgmt.appcontainers.operations.ManagedCertificatesOperations
:ivar namespaces: NamespacesOperations operations
:vartype namespaces: azure.mgmt.appcontainers.operations.NamespacesOperations
:ivar dapr_components: DaprComponentsOperations operations
:vartype dapr_components: azure.mgmt.appcontainers.operations.DaprComponentsOperations
:ivar managed_environments_storages: ManagedEnvironmentsStoragesOperations operations
:vartype managed_environments_storages:
azure.mgmt.appcontainers.operations.ManagedEnvironmentsStoragesOperations
:ivar container_apps_source_controls: ContainerAppsSourceControlsOperations operations
:vartype container_apps_source_controls:
azure.mgmt.appcontainers.operations.ContainerAppsSourceControlsOperations
:ivar connected_environments: ConnectedEnvironmentsOperations operations
:vartype connected_environments:
azure.mgmt.appcontainers.operations.ConnectedEnvironmentsOperations
:ivar connected_environments_certificates: ConnectedEnvironmentsCertificatesOperations
operations
:vartype connected_environments_certificates:
azure.mgmt.appcontainers.operations.ConnectedEnvironmentsCertificatesOperations
:ivar connected_environments_dapr_components: ConnectedEnvironmentsDaprComponentsOperations
operations
:vartype connected_environments_dapr_components:
azure.mgmt.appcontainers.operations.ConnectedEnvironmentsDaprComponentsOperations
:ivar connected_environments_storages: ConnectedEnvironmentsStoragesOperations operations
:vartype connected_environments_storages:
azure.mgmt.appcontainers.operations.ConnectedEnvironmentsStoragesOperations
:ivar available_workload_profiles: AvailableWorkloadProfilesOperations operations
:vartype available_workload_profiles:
azure.mgmt.appcontainers.operations.AvailableWorkloadProfilesOperations
:ivar billing_meters: BillingMetersOperations operations
:vartype billing_meters: azure.mgmt.appcontainers.operations.BillingMetersOperations
: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.
: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 "2022-06-01-preview". Note that overriding
:keyword api_version: Api Version. Default value is "2022-11-01-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
Expand All @@ -134,14 +138,29 @@ def __init__(
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.connected_environments = ConnectedEnvironmentsOperations(
self._client, self._config, self._serialize, self._deserialize
)
self.connected_environments_certificates = ConnectedEnvironmentsCertificatesOperations(
self._client, self._config, self._serialize, self._deserialize
)
self.connected_environments_dapr_components = ConnectedEnvironmentsDaprComponentsOperations(
self._client, self._config, self._serialize, self._deserialize
)
self.connected_environments_storages = ConnectedEnvironmentsStoragesOperations(
self._client, self._config, self._serialize, self._deserialize
)
self.container_apps = ContainerAppsOperations(self._client, self._config, self._serialize, self._deserialize)
self.container_apps_revisions = ContainerAppsRevisionsOperations(
self._client, self._config, self._serialize, self._deserialize
)
self.container_apps_revision_replicas = ContainerAppsRevisionReplicasOperations(
self._client, self._config, self._serialize, self._deserialize
)
self.dapr_components = DaprComponentsOperations(self._client, self._config, self._serialize, self._deserialize)
self.container_apps_diagnostics = ContainerAppsDiagnosticsOperations(
self._client, self._config, self._serialize, self._deserialize
)
Expand All @@ -156,29 +175,17 @@ def __init__(
self._client, self._config, self._serialize, self._deserialize
)
self.certificates = CertificatesOperations(self._client, self._config, self._serialize, self._deserialize)
self.managed_certificates = ManagedCertificatesOperations(
self._client, self._config, self._serialize, self._deserialize
)
self.namespaces = NamespacesOperations(self._client, self._config, self._serialize, self._deserialize)
self.dapr_components = DaprComponentsOperations(self._client, self._config, self._serialize, self._deserialize)
self.managed_environments_storages = ManagedEnvironmentsStoragesOperations(
self._client, self._config, self._serialize, self._deserialize
)
self.container_apps_source_controls = ContainerAppsSourceControlsOperations(
self._client, self._config, self._serialize, self._deserialize
)
self.connected_environments = ConnectedEnvironmentsOperations(
self._client, self._config, self._serialize, self._deserialize
)
self.connected_environments_certificates = ConnectedEnvironmentsCertificatesOperations(
self._client, self._config, self._serialize, self._deserialize
)
self.connected_environments_dapr_components = ConnectedEnvironmentsDaprComponentsOperations(
self._client, self._config, self._serialize, self._deserialize
)
self.connected_environments_storages = ConnectedEnvironmentsStoragesOperations(
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)

def _send_request(self, request: HttpRequest, **kwargs: Any) -> HttpResponse:
"""Runs the network request through the client's chained policies.
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 = "2.0.0b1"
VERSION = "1.0.0b1"
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,14 @@ class ContainerAppsAPIClientConfiguration(Configuration): # pylint: disable=too
:type credential: ~azure.core.credentials_async.AsyncTokenCredential
:param subscription_id: The ID of the target subscription. Required.
:type subscription_id: str
:keyword api_version: Api Version. Default value is "2022-06-01-preview". Note that overriding
:keyword api_version: Api Version. Default value is "2022-11-01-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:
super(ContainerAppsAPIClientConfiguration, self).__init__(**kwargs)
api_version = kwargs.pop("api_version", "2022-06-01-preview") # type: str
api_version = kwargs.pop("api_version", "2022-11-01-preview") # type: str

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