bitmovin_api_sdk.encoding.live.encodings.dns_mappings package
Submodules
bitmovin_api_sdk.encoding.live.encodings.dns_mappings.dns_mapping_response_list_query_params module
bitmovin_api_sdk.encoding.live.encodings.dns_mappings.dns_mappings_api module
- class bitmovin_api_sdk.encoding.live.encodings.dns_mappings.dns_mappings_api.DnsMappingsApi(**kwargs)[source]
Bases:
BaseApi- create(encoding_id, dns_mapping_request, **kwargs)[source]
Create new DNS mapping for encoding
- Parameters:
encoding_id (string_types, required) – Id of the encoding.
dns_mapping_request (DnsMappingRequest, required) – The DNS mapping to be created
- Returns:
- Return type:
- delete(encoding_id, id, **kwargs)[source]
Delete DNS mapping
- Parameters:
encoding_id (string_types, required) – Id of the encoding.
id (string_types, required) – Id of the DNS mapping
- Returns:
Id of the DNS mapping that was deleted
- Return type:
- delete_all(encoding_id, **kwargs)[source]
Delete all DNS mappings for encoding
- Parameters:
encoding_id (string_types, required) – Id of the encoding.
- Returns:
List of ids of deleted DNS mappings
- Return type:
- get(encoding_id, id, **kwargs)[source]
DNS mapping details
- Parameters:
encoding_id (string_types, required) – Id of the encoding.
id (string_types, required) – Id of the DNS mapping
- Returns:
DNS mapping
- Return type:
- list(encoding_id, query_params=None, **kwargs)[source]
List DNS mappings for encoding
- Parameters:
encoding_id (string_types, required) – Id of the encoding.
query_params (DnsMappingResponseListQueryParams) – Query parameters
- Returns:
List of DNS mappings
- Return type: