DomainsOperations Class
DomainsOperations operations.
- Inheritance
-
builtins.objectDomainsOperations
Constructor
DomainsOperations(client, config, serializer, deserializer)
Parameters
Name | Description |
---|---|
client
Required
|
Client for service requests. |
config
Required
|
Configuration of service client. |
serializer
Required
|
An object model serializer. |
deserializer
Required
|
An object model deserializer. |
Variables
Name | Description |
---|---|
api_version
|
Client API version. Constant value: "1.6". |
Methods
get |
Gets a specific domain in the current tenant. |
list |
Gets a list of domains for the current tenant. |
get
Gets a specific domain in the current tenant.
get(domain_name, custom_headers=None, raw=False, **operation_config)
Parameters
Name | Description |
---|---|
domain_name
Required
|
name of the domain. |
custom_headers
|
headers that will be added to the request default value: None
|
raw
|
returns the direct response alongside the deserialized response default value: False
|
operation_config
Required
|
Operation configuration overrides. |
Returns
Type | Description |
---|---|
<xref:msrest.pipeline.ClientRawResponse>
|
Domain or ClientRawResponse if raw=true |
Exceptions
Type | Description |
---|---|
msrestazure.azure_exceptions.CloudError
|
list
Gets a list of domains for the current tenant.
list(filter=None, custom_headers=None, raw=False, **operation_config)
Parameters
Name | Description |
---|---|
filter
|
The filter to apply to the operation. default value: None
|
custom_headers
|
headers that will be added to the request default value: None
|
raw
|
returns the direct response alongside the deserialized response default value: False
|
operation_config
Required
|
Operation configuration overrides. |
Returns
Type | Description |
---|---|
An iterator like instance of Domain |
Exceptions
Type | Description |
---|---|
msrestazure.azure_exceptions.CloudError
|
Attributes
models
models = <module 'azure.graphrbac.models' from 'C:\\hostedtoolcache\\windows\\Python\\3.11.9\\x64\\Lib\\site-packages\\azure\\graphrbac\\models\\__init__.py'>
Azure SDK for Python
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for