CustomLocations Class
The customLocations Rest API spec.
This ready contains multiple API versions, to help you deal with all of the Azure clouds (Azure Stack, Azure Government, Azure China, etc.). By default, it uses the latest API version available on public Azure. For production, you should stick to a particular api-version and/or profile. The profile sets a mapping between an operation group and its API version. The api-version parameter sets the default API version if the operation group is not described in the profile.
- Inheritance
-
CustomLocationsazure.mgmt.extendedlocation.aio._custom_locations._SDKClientCustomLocations
Constructor
CustomLocations(credential: AsyncTokenCredential, subscription_id: str, api_version: Optional[str] = None, base_url: str = 'https://management.azure.com', profile: azure.profiles.KnownProfiles = <KnownProfiles.default: <azure.profiles.DefaultProfile object>>, **kwargs)
Parameters
- api_version
- str
API version to use if no profile is provided, or if missing in profile.
- profile
- KnownProfiles
A profile definition, from KnownProfiles to dict.
- polling_interval
- int
Default waiting time between two polls for LRO operations if no Retry-After header is present.
Methods
| close | |
| models |
Module depends on the API version: |
close
async close()
models
Module depends on the API version:
models(api_version='2021-08-15')
Parameters
- cls
- api_version
Attributes
custom_locations
Instance depends on the API version:
2021-03-15-preview: CustomLocationsOperations
2021-08-15: CustomLocationsOperations
2021-08-31-preview: CustomLocationsOperations
resource_sync_rules
Instance depends on the API version:
- 2021-08-31-preview: ResourceSyncRulesOperations
DEFAULT_API_VERSION
DEFAULT_API_VERSION = '2021-08-15'
LATEST_PROFILE
LATEST_PROFILE = azure.mgmt.extendedlocation.CustomLocations latest
Feedback
Submit and view feedback for