Skip to content

Commit 5aae123

Browse files
SDKAutosunny27710Sunny Patelakning-msthisisdevanshu-ms
committed
CodeGen from PR 18551 in Azure/azure-rest-api-specs
[Hub Generated] Publish private branch 'dev-orbital-Microsoft.Orbital-2021-04-04-preview' (Azure#18551) * New Swagger Spec File * New Swagger Example Spec File * New Readme Config File * New Azure AZ Readme Config File * New Azure CLI Readme Config File * New Go Language Readme Config File * New Python Language Readme Config File * New Typescript Language Readme Config File * New C# Language Readme Config File * Orbital sdk 2021 04 04 preview (#5253) * New Readme Config File * New Go Language Readme Config File * New Typescript Language Readme Config File * New Python Language Readme Config File * New C# Language Readme Config File * New Ruby Language Readme Config File * New Swagger Spec File * New Swagger Example Spec File * Added orbital.json file * Passed linting using AutoRest for 2020-09-01 Azure Orbital Private Privew * Updated Operation object under Azure Orbital 2020-09-01 preview. * Updated Operation object under Azure Orbital 2020-09-01 preview. * Updated Satellites object for Azure Orbital 2020-09-01 preview * Updated examples for Azure Orbital Private Preview 2020-09-01 * Updated examples for Azure Orbital Private Preview 2020-09-01 * Updated examples for Azure Orbital Private Preview 2020-09-01 * Addressed feedback from ARMChangesRequested * Updated the GetAvailableContacts api to add long running operation * Updated the api version * Updated the objects based on discussion with PM. * list available ground station made a POST request (#2521) * list available ground station made a POST request * Swagger LintDiff fix Co-authored-by: Devanshu Singh <[email protected]> * swagger specs for version-20210404-preview * removed cross version references. Copied over unchanged examples from the previous API version 2021-09-01-preview * removed availableGroundStations API * New Readme Config File New Go Language Readme Config File New Typescript Language Readme Config File New Python Language Readme Config File New C# Language Readme Config File New Ruby Language Readme Config File New Swagger Spec File New Swagger Example Spec File Added orbital.json file Passed linting using AutoRest for 2020-09-01 Azure Orbital Private Privew Updated Operation object under Azure Orbital 2020-09-01 preview. Updated Operation object under Azure Orbital 2020-09-01 preview. Updated Satellites object for Azure Orbital 2020-09-01 preview Updated examples for Azure Orbital Private Preview 2020-09-01 Updated examples for Azure Orbital Private Preview 2020-09-01 Updated examples for Azure Orbital Private Preview 2020-09-01 Addressed feedback from ARMChangesRequested Updated the GetAvailableContacts api to add long running operation Updated the api version Updated the objects based on discussion with PM. list available ground station made a POST request (#2521) * list available ground station made a POST request * Swagger LintDiff fix Co-authored-by: Devanshu Singh <[email protected]> * validation check changes. Avocado, SpellCheck and prettier * validation checks changes * Modify readme.md for sdk generation * added system data * sdk pre namer validation changes * lintdiff warning changes * add comms scenario swagger (#3794) * add comms scenario swagger * remove unused example * fix some validation errors * fix style issues * update spec based on feedback * add updated example files * fix CI errors * change endpoints/connections list APIs to posts from gets * connections lists from endpoints return resource IDs rather than full objects. * update examples files for endpoints connections list APIs * fix operationIds and add descriptions * fix more op ids and add descriptions for real * fix typos, add constraints, and remove kbps/gbps from bandwidth (#4023) * Updates to Resource Types (Modifications and Renames) (#4294) * update orbital.json * update examples * prettier fix * unfix old api version * fix ci issues * make more fields immutable * update provisioning states * swagger specs for Available groundstation APIs, version 2021-preview (#4920) * swagger specs for Available groundstation APIs, version 2021-preview * npm prettier check * added type object * removed capability and global comms info from responses * prettier fix * changed AP id response * changes to schema to follow ARM format, resource id update * Spelling check fix * Ground Station spell check * added groundstation to custom words * Revert "added groundstation to custom words" This reverts commit 0d7e18217de98836dcb8ba991685e15436004836. * Revert "Ground Station spell check" This reverts commit ef85b3b26f9ddf81dc1f50a9b677f9d8f115c4cf. * Revert "Spelling check fix" This reverts commit 6bd95c6e013889b6d488703846bbe87bbbb9c494. * word addition * type in response * type definition in swagger * readonly add Co-authored-by: Akanksha Bhattacharyya <[email protected]> * removed comms APIs * readme updated * fixed Swagger Avocado errors * swagger lintDiff fix 1 * swagger lintDiff fix 2 * swagger lintDiff fix 3 Co-authored-by: Sunny Patel <[email protected]> Co-authored-by: Sunny Patel <[email protected]> Co-authored-by: Arthur Ning <[email protected]> Co-authored-by: Devanshu Singh <[email protected]> Co-authored-by: Zhenglai Zhang <[email protected]> Co-authored-by: Jim Harris <[email protected]> Co-authored-by: Akanksha Bhattacharyya <[email protected]> Co-authored-by: Akanksha Bhattacharyya <[email protected]> * operation IDs updated (#5461) Co-authored-by: Devanshu Singh <[email protected]> * Dev orbital microsoft.orbital 2021 04 04 preview (#5491) * operation IDs updated * updated OperationListResult definition * review points implemented Co-authored-by: Devanshu Singh <[email protected]> * Azure Orbital - Review points implemented (#5507) * operation IDs updated * updated OperationListResult definition * review points implemented * referencing CloudError, ApiVersionParameter, ResourceGroupNameParameter, SubscriptionIdParameter from common-types * reverting cloudError refs * prettify json * reorder some parameters Co-authored-by: Devanshu Singh <[email protected]> Co-authored-by: ArcturusZhang <[email protected]> * Removed Empty allOf (#5510) * operation IDs updated * updated OperationListResult definition * review points implemented * referencing CloudError, ApiVersionParameter, ResourceGroupNameParameter, SubscriptionIdParameter from common-types * reverting cloudError refs * prettify json * removed empty allOf * validation checks Co-authored-by: Devanshu Singh <[email protected]> * readme.go.md fixed (#5512) * operation IDs updated * updated OperationListResult definition * review points implemented * referencing CloudError, ApiVersionParameter, ResourceGroupNameParameter, SubscriptionIdParameter from common-types * reverting cloudError refs * prettify json * removed empty allOf * validation checks * readme.go.md fixed Co-authored-by: Devanshu Singh <[email protected]> * Remove last empty allOf (#5513) * operation IDs updated * updated OperationListResult definition * review points implemented * referencing CloudError, ApiVersionParameter, ResourceGroupNameParameter, SubscriptionIdParameter from common-types * reverting cloudError refs * prettify json * removed empty allOf * validation checks * readme.go.md fixed * remove one last empty allOf Co-authored-by: Devanshu Singh <[email protected]> * stable API version 2022-03-01 * valid json * lint diff fix * lint diff fix 2 * avocado fix * lint diff warninga 1 * lint diff warnings 2 * prettier fix * readme.me updated 2022-03-01 * Update readme.python.md Co-authored-by: Sunny Patel <[email protected]> Co-authored-by: Sunny Patel <[email protected]> Co-authored-by: Arthur Ning <[email protected]> Co-authored-by: Devanshu Singh <[email protected]> Co-authored-by: Zhenglai Zhang <[email protected]> Co-authored-by: Jim Harris <[email protected]> Co-authored-by: Akanksha Bhattacharyya <[email protected]> Co-authored-by: Akanksha Bhattacharyya <[email protected]> Co-authored-by: ArcturusZhang <[email protected]> Co-authored-by: Yuchao Yan <[email protected]>
1 parent ffdee53 commit 5aae123

29 files changed

+5018
-3267
lines changed
Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
{
2-
"autorest": "3.4.5",
2+
"autorest": "3.7.2",
33
"use": [
4-
"@autorest/python@5.8.4",
5-
"@autorest/[email protected].2"
4+
"@autorest/python@5.13.0",
5+
"@autorest/[email protected].3"
66
],
7-
"commit": "8c7612b823f693c6d7bc607594ed30b5ecb72730",
7+
"commit": "a5cd8e4c6a799a60d90a2f4a190ea930ea509d9d",
88
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
9-
"autorest_command": "autorest specification/orbital/resource-manager/readme.md --multiapi --python --python-mode=update --python-sdks-folder=/home/vsts/work/1/s/azure-sdk-for-python/sdk --track2 --use=@autorest/python@5.8.4 --use=@autorest/[email protected].2 --version=3.4.5",
9+
"autorest_command": "autorest specification/orbital/resource-manager/readme.md --multiapi --python --python-sdks-folder=/mnt/vss/_work/1/s/azure-sdk-for-python/sdk --python3-only --use=@autorest/python@5.13.0 --use=@autorest/[email protected].3 --version=3.7.2",
1010
"readme": "specification/orbital/resource-manager/readme.md"
1111
}

sdk/orbital/azure-mgmt-orbital/azure/mgmt/orbital/__init__.py

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,7 @@
1212
__version__ = VERSION
1313
__all__ = ['AzureOrbital']
1414

15-
try:
16-
from ._patch import patch_sdk # type: ignore
17-
patch_sdk()
18-
except ImportError:
19-
pass
15+
# `._patch.py` is used for handwritten extensions to the generated code
16+
# Example: https://github.com/Azure/azure-sdk-for-python/blob/main/doc/dev/customize_code/how-to-patch-sdk-code.md
17+
from ._patch import patch_sdk
18+
patch_sdk()

sdk/orbital/azure-mgmt-orbital/azure/mgmt/orbital/_azure_orbital.py

Lines changed: 60 additions & 56 deletions
Original file line numberDiff line numberDiff line change
@@ -6,94 +6,98 @@
66
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
77
# --------------------------------------------------------------------------
88

9-
from typing import TYPE_CHECKING
9+
from copy import deepcopy
10+
from typing import Any, TYPE_CHECKING
1011

11-
from azure.mgmt.core import ARMPipelineClient
1212
from msrest import Deserializer, Serializer
1313

14-
if TYPE_CHECKING:
15-
# pylint: disable=unused-import,ungrouped-imports
16-
from typing import Any, Optional
17-
18-
from azure.core.credentials import TokenCredential
19-
from azure.core.pipeline.transport import HttpRequest, HttpResponse
14+
from azure.core.rest import HttpRequest, HttpResponse
15+
from azure.mgmt.core import ARMPipelineClient
2016

21-
from ._configuration import AzureOrbitalConfiguration
22-
from .operations import Operations
23-
from .operations import SpacecraftsOperations
24-
from .operations import ContactsOperations
25-
from .operations import ContactProfilesOperations
26-
from .operations import AvailableGroundStationsOperations
2717
from . import models
18+
from ._configuration import AzureOrbitalConfiguration
19+
from .operations import AvailableGroundStationsOperations, ContactProfilesOperations, ContactsOperations, Operations, OperationsResultsOperations, SpacecraftsOperations
2820

21+
if TYPE_CHECKING:
22+
# pylint: disable=unused-import,ungrouped-imports
23+
from azure.core.credentials import TokenCredential
2924

30-
class AzureOrbital(object):
25+
class AzureOrbital:
3126
"""Azure Orbital service.
3227
3328
:ivar operations: Operations operations
34-
:vartype operations: azure_orbital.operations.Operations
29+
:vartype operations: azure.mgmt.orbital.operations.Operations
3530
:ivar spacecrafts: SpacecraftsOperations operations
36-
:vartype spacecrafts: azure_orbital.operations.SpacecraftsOperations
31+
:vartype spacecrafts: azure.mgmt.orbital.operations.SpacecraftsOperations
3732
:ivar contacts: ContactsOperations operations
38-
:vartype contacts: azure_orbital.operations.ContactsOperations
33+
:vartype contacts: azure.mgmt.orbital.operations.ContactsOperations
3934
:ivar contact_profiles: ContactProfilesOperations operations
40-
:vartype contact_profiles: azure_orbital.operations.ContactProfilesOperations
35+
:vartype contact_profiles: azure.mgmt.orbital.operations.ContactProfilesOperations
4136
:ivar available_ground_stations: AvailableGroundStationsOperations operations
42-
:vartype available_ground_stations: azure_orbital.operations.AvailableGroundStationsOperations
37+
:vartype available_ground_stations:
38+
azure.mgmt.orbital.operations.AvailableGroundStationsOperations
39+
:ivar operations_results: OperationsResultsOperations operations
40+
:vartype operations_results: azure.mgmt.orbital.operations.OperationsResultsOperations
4341
:param credential: Credential needed for the client to connect to Azure.
4442
:type credential: ~azure.core.credentials.TokenCredential
4543
:param subscription_id: The ID of the target subscription.
4644
:type subscription_id: str
47-
:param str base_url: Service URL
48-
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.
45+
:param base_url: Service URL. Default value is "https://management.azure.com".
46+
:type base_url: str
47+
:keyword api_version: Api Version. Default value is "2022-03-01". Note that overriding this
48+
default value may result in unsupported behavior.
49+
:paramtype api_version: str
50+
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no
51+
Retry-After header is present.
4952
"""
5053

5154
def __init__(
5255
self,
53-
credential, # type: "TokenCredential"
54-
subscription_id, # type: str
55-
base_url=None, # type: Optional[str]
56-
**kwargs # type: Any
57-
):
58-
# type: (...) -> None
59-
if not base_url:
60-
base_url = 'https://management.azure.com'
61-
self._config = AzureOrbitalConfiguration(credential, subscription_id, **kwargs)
56+
credential: "TokenCredential",
57+
subscription_id: str,
58+
base_url: str = "https://management.azure.com",
59+
**kwargs: Any
60+
) -> None:
61+
self._config = AzureOrbitalConfiguration(credential=credential, subscription_id=subscription_id, **kwargs)
6262
self._client = ARMPipelineClient(base_url=base_url, config=self._config, **kwargs)
6363

6464
client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)}
6565
self._serialize = Serializer(client_models)
66-
self._serialize.client_side_validation = False
6766
self._deserialize = Deserializer(client_models)
67+
self._serialize.client_side_validation = False
68+
self.operations = Operations(self._client, self._config, self._serialize, self._deserialize)
69+
self.spacecrafts = SpacecraftsOperations(self._client, self._config, self._serialize, self._deserialize)
70+
self.contacts = ContactsOperations(self._client, self._config, self._serialize, self._deserialize)
71+
self.contact_profiles = ContactProfilesOperations(self._client, self._config, self._serialize, self._deserialize)
72+
self.available_ground_stations = AvailableGroundStationsOperations(self._client, self._config, self._serialize, self._deserialize)
73+
self.operations_results = OperationsResultsOperations(self._client, self._config, self._serialize, self._deserialize)
74+
6875

69-
self.operations = Operations(
70-
self._client, self._config, self._serialize, self._deserialize)
71-
self.spacecrafts = SpacecraftsOperations(
72-
self._client, self._config, self._serialize, self._deserialize)
73-
self.contacts = ContactsOperations(
74-
self._client, self._config, self._serialize, self._deserialize)
75-
self.contact_profiles = ContactProfilesOperations(
76-
self._client, self._config, self._serialize, self._deserialize)
77-
self.available_ground_stations = AvailableGroundStationsOperations(
78-
self._client, self._config, self._serialize, self._deserialize)
79-
80-
def _send_request(self, http_request, **kwargs):
81-
# type: (HttpRequest, Any) -> HttpResponse
76+
def _send_request(
77+
self,
78+
request: HttpRequest,
79+
**kwargs: Any
80+
) -> HttpResponse:
8281
"""Runs the network request through the client's chained policies.
8382
84-
:param http_request: The network request you want to make. Required.
85-
:type http_request: ~azure.core.pipeline.transport.HttpRequest
86-
:keyword bool stream: Whether the response payload will be streamed. Defaults to True.
83+
>>> from azure.core.rest import HttpRequest
84+
>>> request = HttpRequest("GET", "https://www.example.org/")
85+
<HttpRequest [GET], url: 'https://www.example.org/'>
86+
>>> response = client._send_request(request)
87+
<HttpResponse: 200 OK>
88+
89+
For more information on this code flow, see https://aka.ms/azsdk/python/protocol/quickstart
90+
91+
:param request: The network request you want to make. Required.
92+
:type request: ~azure.core.rest.HttpRequest
93+
:keyword bool stream: Whether the response payload will be streamed. Defaults to False.
8794
:return: The response of your network call. Does not do error handling on your response.
88-
:rtype: ~azure.core.pipeline.transport.HttpResponse
95+
:rtype: ~azure.core.rest.HttpResponse
8996
"""
90-
path_format_arguments = {
91-
'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1),
92-
}
93-
http_request.url = self._client.format_url(http_request.url, **path_format_arguments)
94-
stream = kwargs.pop("stream", True)
95-
pipeline_response = self._client._pipeline.run(http_request, stream=stream, **kwargs)
96-
return pipeline_response.http_response
97+
98+
request_copy = deepcopy(request)
99+
request_copy.url = self._client.format_url(request_copy.url)
100+
return self._client.send_request(request_copy, **kwargs)
97101

98102
def close(self):
99103
# type: () -> None

sdk/orbital/azure-mgmt-orbital/azure/mgmt/orbital/_configuration.py

Lines changed: 15 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -6,22 +6,20 @@
66
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
77
# --------------------------------------------------------------------------
88

9-
from typing import TYPE_CHECKING
9+
from typing import Any, TYPE_CHECKING
1010

1111
from azure.core.configuration import Configuration
1212
from azure.core.pipeline import policies
13-
from azure.mgmt.core.policies import ARMHttpLoggingPolicy
13+
from azure.mgmt.core.policies import ARMChallengeAuthenticationPolicy, ARMHttpLoggingPolicy
1414

1515
from ._version import VERSION
1616

1717
if TYPE_CHECKING:
1818
# pylint: disable=unused-import,ungrouped-imports
19-
from typing import Any
20-
2119
from azure.core.credentials import TokenCredential
2220

2321

24-
class AzureOrbitalConfiguration(Configuration):
22+
class AzureOrbitalConfiguration(Configuration): # pylint: disable=too-many-instance-attributes
2523
"""Configuration for AzureOrbital.
2624
2725
Note that all parameters used to create this instance are saved as instance
@@ -31,24 +29,28 @@ class AzureOrbitalConfiguration(Configuration):
3129
:type credential: ~azure.core.credentials.TokenCredential
3230
:param subscription_id: The ID of the target subscription.
3331
:type subscription_id: str
32+
:keyword api_version: Api Version. Default value is "2022-03-01". Note that overriding this
33+
default value may result in unsupported behavior.
34+
:paramtype api_version: str
3435
"""
3536

3637
def __init__(
3738
self,
38-
credential, # type: "TokenCredential"
39-
subscription_id, # type: str
40-
**kwargs # type: Any
41-
):
42-
# type: (...) -> None
39+
credential: "TokenCredential",
40+
subscription_id: str,
41+
**kwargs: Any
42+
) -> None:
43+
super(AzureOrbitalConfiguration, self).__init__(**kwargs)
44+
api_version = kwargs.pop('api_version', "2022-03-01") # type: str
45+
4346
if credential is None:
4447
raise ValueError("Parameter 'credential' must not be None.")
4548
if subscription_id is None:
4649
raise ValueError("Parameter 'subscription_id' must not be None.")
47-
super(AzureOrbitalConfiguration, self).__init__(**kwargs)
4850

4951
self.credential = credential
5052
self.subscription_id = subscription_id
51-
self.api_version = "2021-04-04-preview"
53+
self.api_version = api_version
5254
self.credential_scopes = kwargs.pop('credential_scopes', ['https://management.azure.com/.default'])
5355
kwargs.setdefault('sdk_moniker', 'mgmt-orbital/{}'.format(VERSION))
5456
self._configure(**kwargs)
@@ -68,4 +70,4 @@ def _configure(
6870
self.redirect_policy = kwargs.get('redirect_policy') or policies.RedirectPolicy(**kwargs)
6971
self.authentication_policy = kwargs.get('authentication_policy')
7072
if self.credential and not self.authentication_policy:
71-
self.authentication_policy = policies.BearerTokenCredentialPolicy(self.credential, *self.credential_scopes, **kwargs)
73+
self.authentication_policy = ARMChallengeAuthenticationPolicy(self.credential, *self.credential_scopes, **kwargs)

sdk/orbital/azure-mgmt-orbital/azure/mgmt/orbital/_metadata.json

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
{
2-
"chosen_version": "2021-04-04-preview",
3-
"total_api_version_list": ["2021-04-04-preview"],
2+
"chosen_version": "2022-03-01",
3+
"total_api_version_list": ["2022-03-01"],
44
"client": {
55
"name": "AzureOrbital",
66
"filename": "_azure_orbital",
77
"description": "Azure Orbital service.",
8-
"base_url": "\u0027https://management.azure.com\u0027",
9-
"custom_base_url": null,
8+
"host_value": "\"https://management.azure.com\"",
9+
"parameterized_host_template": null,
1010
"azure_arm": true,
1111
"has_lro_operations": true,
1212
"client_side_validation": false,
13-
"sync_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials\": [\"TokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"ARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"AzureOrbitalConfiguration\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}, \"azurecore\": {\"azure.core.pipeline.transport\": [\"HttpRequest\", \"HttpResponse\"]}}}",
14-
"async_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials_async\": [\"AsyncTokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"AsyncARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"AzureOrbitalConfiguration\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}, \"azurecore\": {\"azure.core.pipeline.transport\": [\"AsyncHttpResponse\", \"HttpRequest\"]}}}"
13+
"sync_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials\": [\"TokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"azure.mgmt.core\": [\"ARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"AzureOrbitalConfiguration\"]}, \"thirdparty\": {\"msrest\": [\"Deserializer\", \"Serializer\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}}}",
14+
"async_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials_async\": [\"AsyncTokenCredential\"], \"azure.core.credentials\": [\"TokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"azure.mgmt.core\": [\"AsyncARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"AzureOrbitalConfiguration\"]}, \"thirdparty\": {\"msrest\": [\"Deserializer\", \"Serializer\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}}}"
1515
},
1616
"global_parameters": {
1717
"sync": {
@@ -54,7 +54,7 @@
5454
"required": false
5555
},
5656
"base_url": {
57-
"signature": "base_url=None, # type: Optional[str]",
57+
"signature": "base_url=\"https://management.azure.com\", # type: str",
5858
"description": "Service URL",
5959
"docstring_type": "str",
6060
"required": false
@@ -74,7 +74,7 @@
7474
"required": false
7575
},
7676
"base_url": {
77-
"signature": "base_url: Optional[str] = None,",
77+
"signature": "base_url: str = \"https://management.azure.com\",",
7878
"description": "Service URL",
7979
"docstring_type": "str",
8080
"required": false
@@ -91,17 +91,17 @@
9191
"config": {
9292
"credential": true,
9393
"credential_scopes": ["https://management.azure.com/.default"],
94-
"credential_default_policy_type": "BearerTokenCredentialPolicy",
95-
"credential_default_policy_type_has_async_version": true,
96-
"credential_key_header_name": null,
97-
"sync_imports": "{\"regular\": {\"azurecore\": {\"azure.core.configuration\": [\"Configuration\"], \"azure.core.pipeline\": [\"policies\"], \"azure.mgmt.core.policies\": [\"ARMHttpLoggingPolicy\"]}, \"local\": {\"._version\": [\"VERSION\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\"]}}, \"typing\": {\"azurecore\": {\"azure.core.credentials\": [\"TokenCredential\"]}}}",
98-
"async_imports": "{\"regular\": {\"azurecore\": {\"azure.core.configuration\": [\"Configuration\"], \"azure.core.pipeline\": [\"policies\"], \"azure.mgmt.core.policies\": [\"ARMHttpLoggingPolicy\"]}, \"local\": {\".._version\": [\"VERSION\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\"]}}, \"typing\": {\"azurecore\": {\"azure.core.credentials_async\": [\"AsyncTokenCredential\"]}}}"
94+
"credential_call_sync": "ARMChallengeAuthenticationPolicy(self.credential, *self.credential_scopes, **kwargs)",
95+
"credential_call_async": "AsyncARMChallengeAuthenticationPolicy(self.credential, *self.credential_scopes, **kwargs)",
96+
"sync_imports": "{\"regular\": {\"azurecore\": {\"azure.core.configuration\": [\"Configuration\"], \"azure.core.pipeline\": [\"policies\"], \"azure.mgmt.core.policies\": [\"ARMChallengeAuthenticationPolicy\", \"ARMHttpLoggingPolicy\"]}, \"local\": {\"._version\": [\"VERSION\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\"]}}, \"typing\": {\"azurecore\": {\"azure.core.credentials\": [\"TokenCredential\"]}}}",
97+
"async_imports": "{\"regular\": {\"azurecore\": {\"azure.core.configuration\": [\"Configuration\"], \"azure.core.pipeline\": [\"policies\"], \"azure.mgmt.core.policies\": [\"ARMHttpLoggingPolicy\", \"AsyncARMChallengeAuthenticationPolicy\"]}, \"local\": {\".._version\": [\"VERSION\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\"]}}, \"typing\": {\"azurecore\": {\"azure.core.credentials_async\": [\"AsyncTokenCredential\"]}}}"
9998
},
10099
"operation_groups": {
101100
"operations": "Operations",
102101
"spacecrafts": "SpacecraftsOperations",
103102
"contacts": "ContactsOperations",
104103
"contact_profiles": "ContactProfilesOperations",
105-
"available_ground_stations": "AvailableGroundStationsOperations"
104+
"available_ground_stations": "AvailableGroundStationsOperations",
105+
"operations_results": "OperationsResultsOperations"
106106
}
107107
}

0 commit comments

Comments
 (0)