DscpConfigurationOperations Class
Warning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
<xref:dscp_configuration> attribute.
- Inheritance
-
builtins.objectDscpConfigurationOperations
Constructor
DscpConfigurationOperations(*args, **kwargs)
Methods
begin_create_or_update |
Creates or updates a DSCP Configuration. |
begin_delete |
Deletes a DSCP Configuration. |
get |
Gets a DSCP Configuration. |
list |
Gets a DSCP Configuration. |
list_all |
Gets all dscp configurations in a subscription. |
begin_create_or_update
Creates or updates a DSCP Configuration.
begin_create_or_update(resource_group_name: str, dscp_configuration_name: str, parameters: _models.DscpConfiguration, *, content_type: str = 'application/json', **kwargs: Any) -> LROPoller[_models.DscpConfiguration]
Parameters
Name | Description |
---|---|
resource_group_name
Required
|
The name of the resource group. Required. |
dscp_configuration_name
Required
|
The name of the resource. Required. |
parameters
Required
|
Parameters supplied to the create or update dscp configuration operation. Is either a DscpConfiguration type or a IO[bytes] type. Required. |
Returns
Type | Description |
---|---|
An instance of LROPoller that returns either DscpConfiguration or the result of cls(response) |
Exceptions
Type | Description |
---|---|
begin_delete
Deletes a DSCP Configuration.
begin_delete(resource_group_name: str, dscp_configuration_name: str, **kwargs: Any) -> LROPoller[None]
Parameters
Name | Description |
---|---|
resource_group_name
Required
|
The name of the resource group. Required. |
dscp_configuration_name
Required
|
The name of the resource. Required. |
Returns
Type | Description |
---|---|
An instance of LROPoller that returns either None or the result of cls(response) |
Exceptions
Type | Description |
---|---|
get
Gets a DSCP Configuration.
get(resource_group_name: str, dscp_configuration_name: str, **kwargs: Any) -> DscpConfiguration
Parameters
Name | Description |
---|---|
resource_group_name
Required
|
The name of the resource group. Required. |
dscp_configuration_name
Required
|
The name of the resource. Required. |
Returns
Type | Description |
---|---|
DscpConfiguration or the result of cls(response) |
Exceptions
Type | Description |
---|---|
list
Gets a DSCP Configuration.
list(resource_group_name: str, **kwargs: Any) -> Iterable[DscpConfiguration]
Parameters
Name | Description |
---|---|
resource_group_name
Required
|
The name of the resource group. Required. |
Returns
Type | Description |
---|---|
An iterator like instance of either DscpConfiguration or the result of cls(response) |
Exceptions
Type | Description |
---|---|
list_all
Gets all dscp configurations in a subscription.
list_all(**kwargs: Any) -> Iterable[DscpConfiguration]
Returns
Type | Description |
---|---|
An iterator like instance of either DscpConfiguration or the result of cls(response) |
Exceptions
Type | Description |
---|---|
Attributes
models
models = <module 'azure.mgmt.network.models' from 'C:\\hostedtoolcache\\windows\\Python\\3.11.9\\x64\\Lib\\site-packages\\azure\\mgmt\\network\\models\\__init__.py'>
Azure SDK for Python