PrivateEndpointConnectionsOperations Class

Warning

DO NOT instantiate this class directly.

Instead, you should access the following operations through

AzureMediaServices's

<xref:private_endpoint_connections> attribute.

Inheritance
builtins.object
PrivateEndpointConnectionsOperations

Constructor

PrivateEndpointConnectionsOperations(*args, **kwargs)

Methods

create_or_update

Update a private endpoint connection.

Update an existing private endpoint connection.

delete

Delete a private endpoint connection.

Deletes a private endpoint connection.

get

Get private endpoint connection.

Get the details of a private endpoint connection.

list

List private endpoint connections.

List all private endpoint connections.

create_or_update

Update a private endpoint connection.

Update an existing private endpoint connection.

create_or_update(resource_group_name: str, account_name: str, name: str, parameters: _models.PrivateEndpointConnection, *, content_type: str = 'application/json', **kwargs: Any) -> _models.PrivateEndpointConnection

Parameters

Name Description
resource_group_name
Required
str

The name of the resource group within the Azure subscription. Required.

account_name
Required
str

The Media Services account name. Required.

name
Required
str

Required.

parameters
Required

The request parameters. Is either a model type or a IO type. Required.

Keyword-Only Parameters

Name Description
content_type
str

Body Parameter content-type. Known values are: 'application/json'. Default value is None.

cls

A custom type or function that will be passed the direct response

Returns

Type Description

PrivateEndpointConnection or the result of cls(response)

Exceptions

Type Description

delete

Delete a private endpoint connection.

Deletes a private endpoint connection.

delete(resource_group_name: str, account_name: str, name: str, **kwargs: Any) -> None

Parameters

Name Description
resource_group_name
Required
str

The name of the resource group within the Azure subscription. Required.

account_name
Required
str

The Media Services account name. Required.

name
Required
str

Required.

Keyword-Only Parameters

Name Description
cls

A custom type or function that will be passed the direct response

Returns

Type Description

None or the result of cls(response)

Exceptions

Type Description

get

Get private endpoint connection.

Get the details of a private endpoint connection.

get(resource_group_name: str, account_name: str, name: str, **kwargs: Any) -> PrivateEndpointConnection

Parameters

Name Description
resource_group_name
Required
str

The name of the resource group within the Azure subscription. Required.

account_name
Required
str

The Media Services account name. Required.

name
Required
str

Required.

Keyword-Only Parameters

Name Description
cls

A custom type or function that will be passed the direct response

Returns

Type Description

PrivateEndpointConnection or the result of cls(response)

Exceptions

Type Description

list

List private endpoint connections.

List all private endpoint connections.

list(resource_group_name: str, account_name: str, **kwargs: Any) -> PrivateEndpointConnectionListResult

Parameters

Name Description
resource_group_name
Required
str

The name of the resource group within the Azure subscription. Required.

account_name
Required
str

The Media Services account name. Required.

Keyword-Only Parameters

Name Description
cls

A custom type or function that will be passed the direct response

Returns

Type Description

PrivateEndpointConnectionListResult or the result of cls(response)

Exceptions

Type Description

Attributes

models

models = <module 'azure.mgmt.media.models' from 'C:\\hostedtoolcache\\windows\\Python\\3.11.9\\x64\\Lib\\site-packages\\azure\\mgmt\\media\\models\\__init__.py'>