Skip to content

Commit

Permalink
CodeGen from PR 22456 in Azure/azure-rest-api-specs
Browse files Browse the repository at this point in the history
Merge c4d2c2a669a3286e177fbf30151622190ccc0a81 into 3ac5f3fd862e65896da938a0702c65eff28b00e0
  • Loading branch information
SDKAuto committed Feb 22, 2023
1 parent 9648e21 commit 966105e
Show file tree
Hide file tree
Showing 154 changed files with 42,095 additions and 5,958 deletions.
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"commit": "b32e1896f30e6ea155449cb49719a6286e32b961",
"commit": "bd16cdae49b3568a9fcbc16b3d2c828d2b308292",
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
"autorest": "3.9.2",
"use": [
"@autorest/python@6.2.7",
"@autorest/python@6.4.0",
"@autorest/modelerfour@4.24.3"
],
"autorest_command": "autorest specification/machinelearningservices/resource-manager/readme.md --generate-sample=True --include-x-ms-examples-original-file=True --python --python-sdks-folder=/home/vsts/work/1/azure-sdk-for-python/sdk --use=@autorest/python@6.2.7 --use=@autorest/modelerfour@4.24.3 --version=3.9.2 --version-tolerant=False",
"autorest_command": "autorest specification/machinelearningservices/resource-manager/readme.md --generate-sample=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.4.0 --use=@autorest/modelerfour@4.24.3 --version=3.9.2 --version-tolerant=False",
"readme": "specification/machinelearningservices/resource-manager/readme.md"
}
Original file line number Diff line number Diff line change
Expand Up @@ -35,14 +35,14 @@ class MachineLearningServicesMgmtClientConfiguration(Configuration): # pylint:
: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-10-01". Note that overriding this
default value may result in unsupported behavior.
:keyword api_version: Api Version. Default value is "2023-02-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(MachineLearningServicesMgmtClientConfiguration, self).__init__(**kwargs)
api_version: Literal["2022-10-01"] = kwargs.pop("api_version", "2022-10-01")
api_version: Literal["2023-02-01-preview"] = kwargs.pop("api_version", "2023-02-01-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 @@ -28,7 +28,12 @@
DatastoresOperations,
EnvironmentContainersOperations,
EnvironmentVersionsOperations,
FeaturesetContainersOperations,
FeaturesetVersionsOperations,
FeaturestoreEntityContainersOperations,
FeaturestoreEntityVersionsOperations,
JobsOperations,
LabelingJobsOperations,
ModelContainersOperations,
ModelVersionsOperations,
OnlineDeploymentsOperations,
Expand All @@ -37,6 +42,17 @@
PrivateEndpointConnectionsOperations,
PrivateLinkResourcesOperations,
QuotasOperations,
RegistriesOperations,
RegistryCodeContainersOperations,
RegistryCodeVersionsOperations,
RegistryComponentContainersOperations,
RegistryComponentVersionsOperations,
RegistryDataContainersOperations,
RegistryDataVersionsOperations,
RegistryEnvironmentContainersOperations,
RegistryEnvironmentVersionsOperations,
RegistryModelContainersOperations,
RegistryModelVersionsOperations,
SchedulesOperations,
UsagesOperations,
VirtualMachineSizesOperations,
Expand Down Expand Up @@ -75,6 +91,36 @@ class MachineLearningServicesMgmtClient: # pylint: disable=client-accepts-api-v
:ivar workspace_connections: WorkspaceConnectionsOperations operations
:vartype workspace_connections:
azure.mgmt.machinelearningservices.operations.WorkspaceConnectionsOperations
:ivar registry_code_containers: RegistryCodeContainersOperations operations
:vartype registry_code_containers:
azure.mgmt.machinelearningservices.operations.RegistryCodeContainersOperations
:ivar registry_code_versions: RegistryCodeVersionsOperations operations
:vartype registry_code_versions:
azure.mgmt.machinelearningservices.operations.RegistryCodeVersionsOperations
:ivar registry_component_containers: RegistryComponentContainersOperations operations
:vartype registry_component_containers:
azure.mgmt.machinelearningservices.operations.RegistryComponentContainersOperations
:ivar registry_component_versions: RegistryComponentVersionsOperations operations
:vartype registry_component_versions:
azure.mgmt.machinelearningservices.operations.RegistryComponentVersionsOperations
:ivar registry_data_containers: RegistryDataContainersOperations operations
:vartype registry_data_containers:
azure.mgmt.machinelearningservices.operations.RegistryDataContainersOperations
:ivar registry_data_versions: RegistryDataVersionsOperations operations
:vartype registry_data_versions:
azure.mgmt.machinelearningservices.operations.RegistryDataVersionsOperations
:ivar registry_environment_containers: RegistryEnvironmentContainersOperations operations
:vartype registry_environment_containers:
azure.mgmt.machinelearningservices.operations.RegistryEnvironmentContainersOperations
:ivar registry_environment_versions: RegistryEnvironmentVersionsOperations operations
:vartype registry_environment_versions:
azure.mgmt.machinelearningservices.operations.RegistryEnvironmentVersionsOperations
:ivar registry_model_containers: RegistryModelContainersOperations operations
:vartype registry_model_containers:
azure.mgmt.machinelearningservices.operations.RegistryModelContainersOperations
:ivar registry_model_versions: RegistryModelVersionsOperations operations
:vartype registry_model_versions:
azure.mgmt.machinelearningservices.operations.RegistryModelVersionsOperations
:ivar batch_endpoints: BatchEndpointsOperations operations
:vartype batch_endpoints:
azure.mgmt.machinelearningservices.operations.BatchEndpointsOperations
Expand Down Expand Up @@ -105,8 +151,22 @@ class MachineLearningServicesMgmtClient: # pylint: disable=client-accepts-api-v
:ivar environment_versions: EnvironmentVersionsOperations operations
:vartype environment_versions:
azure.mgmt.machinelearningservices.operations.EnvironmentVersionsOperations
:ivar featureset_containers: FeaturesetContainersOperations operations
:vartype featureset_containers:
azure.mgmt.machinelearningservices.operations.FeaturesetContainersOperations
:ivar featureset_versions: FeaturesetVersionsOperations operations
:vartype featureset_versions:
azure.mgmt.machinelearningservices.operations.FeaturesetVersionsOperations
:ivar featurestore_entity_containers: FeaturestoreEntityContainersOperations operations
:vartype featurestore_entity_containers:
azure.mgmt.machinelearningservices.operations.FeaturestoreEntityContainersOperations
:ivar featurestore_entity_versions: FeaturestoreEntityVersionsOperations operations
:vartype featurestore_entity_versions:
azure.mgmt.machinelearningservices.operations.FeaturestoreEntityVersionsOperations
:ivar jobs: JobsOperations operations
:vartype jobs: azure.mgmt.machinelearningservices.operations.JobsOperations
:ivar labeling_jobs: LabelingJobsOperations operations
:vartype labeling_jobs: azure.mgmt.machinelearningservices.operations.LabelingJobsOperations
:ivar model_containers: ModelContainersOperations operations
:vartype model_containers:
azure.mgmt.machinelearningservices.operations.ModelContainersOperations
Expand All @@ -120,6 +180,8 @@ class MachineLearningServicesMgmtClient: # pylint: disable=client-accepts-api-v
azure.mgmt.machinelearningservices.operations.OnlineDeploymentsOperations
:ivar schedules: SchedulesOperations operations
:vartype schedules: azure.mgmt.machinelearningservices.operations.SchedulesOperations
:ivar registries: RegistriesOperations operations
:vartype registries: azure.mgmt.machinelearningservices.operations.RegistriesOperations
:ivar workspace_features: WorkspaceFeaturesOperations operations
:vartype workspace_features:
azure.mgmt.machinelearningservices.operations.WorkspaceFeaturesOperations
Expand All @@ -129,8 +191,8 @@ class MachineLearningServicesMgmtClient: # pylint: disable=client-accepts-api-v
: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-10-01". Note that overriding this
default value may result in unsupported behavior.
:keyword api_version: Api Version. Default value is "2023-02-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
Retry-After header is present.
Expand Down Expand Up @@ -169,6 +231,36 @@ def __init__(
self.workspace_connections = WorkspaceConnectionsOperations(
self._client, self._config, self._serialize, self._deserialize
)
self.registry_code_containers = RegistryCodeContainersOperations(
self._client, self._config, self._serialize, self._deserialize
)
self.registry_code_versions = RegistryCodeVersionsOperations(
self._client, self._config, self._serialize, self._deserialize
)
self.registry_component_containers = RegistryComponentContainersOperations(
self._client, self._config, self._serialize, self._deserialize
)
self.registry_component_versions = RegistryComponentVersionsOperations(
self._client, self._config, self._serialize, self._deserialize
)
self.registry_data_containers = RegistryDataContainersOperations(
self._client, self._config, self._serialize, self._deserialize
)
self.registry_data_versions = RegistryDataVersionsOperations(
self._client, self._config, self._serialize, self._deserialize
)
self.registry_environment_containers = RegistryEnvironmentContainersOperations(
self._client, self._config, self._serialize, self._deserialize
)
self.registry_environment_versions = RegistryEnvironmentVersionsOperations(
self._client, self._config, self._serialize, self._deserialize
)
self.registry_model_containers = RegistryModelContainersOperations(
self._client, self._config, self._serialize, self._deserialize
)
self.registry_model_versions = RegistryModelVersionsOperations(
self._client, self._config, self._serialize, self._deserialize
)
self.batch_endpoints = BatchEndpointsOperations(self._client, self._config, self._serialize, self._deserialize)
self.batch_deployments = BatchDeploymentsOperations(
self._client, self._config, self._serialize, self._deserialize
Expand All @@ -190,7 +282,20 @@ def __init__(
self.environment_versions = EnvironmentVersionsOperations(
self._client, self._config, self._serialize, self._deserialize
)
self.featureset_containers = FeaturesetContainersOperations(
self._client, self._config, self._serialize, self._deserialize
)
self.featureset_versions = FeaturesetVersionsOperations(
self._client, self._config, self._serialize, self._deserialize
)
self.featurestore_entity_containers = FeaturestoreEntityContainersOperations(
self._client, self._config, self._serialize, self._deserialize
)
self.featurestore_entity_versions = FeaturestoreEntityVersionsOperations(
self._client, self._config, self._serialize, self._deserialize
)
self.jobs = JobsOperations(self._client, self._config, self._serialize, self._deserialize)
self.labeling_jobs = LabelingJobsOperations(self._client, self._config, self._serialize, self._deserialize)
self.model_containers = ModelContainersOperations(
self._client, self._config, self._serialize, self._deserialize
)
Expand All @@ -202,6 +307,7 @@ def __init__(
self._client, self._config, self._serialize, self._deserialize
)
self.schedules = SchedulesOperations(self._client, self._config, self._serialize, self._deserialize)
self.registries = RegistriesOperations(self._client, self._config, self._serialize, self._deserialize)
self.workspace_features = WorkspaceFeaturesOperations(
self._client, self._config, self._serialize, self._deserialize
)
Expand Down Expand Up @@ -235,5 +341,5 @@ def __enter__(self) -> "MachineLearningServicesMgmtClient":
self._client.__enter__()
return self

def __exit__(self, *exc_details) -> None:
def __exit__(self, *exc_details: Any) -> None:
self._client.__exit__(*exc_details)
Loading

0 comments on commit 966105e

Please sign in to comment.