DomainsOperations Class

DomainsOperations operations.

Inheritance
builtins.object
DomainsOperations

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
str

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
str

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'>