Share via


MediaServicesPrivateEndpointConnectionResource Class

Definition

A Class representing a MediaServicesPrivateEndpointConnection along with the instance operations that can be performed on it. If you have a Azure.Core.ResourceIdentifier you can construct a MediaServicesPrivateEndpointConnectionResource from an instance of Azure.ResourceManager.ArmClient using the GetMediaServicesPrivateEndpointConnectionResource method. Otherwise you can get one from its parent resource MediaServicesAccountResource using the GetMediaServicesPrivateEndpointConnection method.

public class MediaServicesPrivateEndpointConnectionResource : Azure.ResourceManager.ArmResource, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Media.MediaServicesPrivateEndpointConnectionData>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Media.MediaServicesPrivateEndpointConnectionData>
type MediaServicesPrivateEndpointConnectionResource = class
    inherit ArmResource
    interface IJsonModel<MediaServicesPrivateEndpointConnectionData>
    interface IPersistableModel<MediaServicesPrivateEndpointConnectionData>
Public Class MediaServicesPrivateEndpointConnectionResource
Inherits ArmResource
Implements IJsonModel(Of MediaServicesPrivateEndpointConnectionData), IPersistableModel(Of MediaServicesPrivateEndpointConnectionData)
Inheritance
Azure.ResourceManager.ArmResource
MediaServicesPrivateEndpointConnectionResource
Implements
System.ClientModel.Primitives.IJsonModel<MediaServicesPrivateEndpointConnectionData> System.ClientModel.Primitives.IPersistableModel<MediaServicesPrivateEndpointConnectionData> System.ClientModel.Primitives.IPersistableModel<T>

Constructors

MediaServicesPrivateEndpointConnectionResource()

Initializes a new instance of the MediaServicesPrivateEndpointConnectionResource class for mocking.

Fields

ResourceType

Gets the resource type for the operations.

Properties

Data

Gets the data representing this Feature.

HasData

Gets whether or not the current instance has data.

Methods

CreateResourceIdentifier(String, String, String, String)

Generate the resource identifier of a MediaServicesPrivateEndpointConnectionResource instance.

Delete(WaitUntil, CancellationToken)

Deletes a private endpoint connection.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaservices/{accountName}/privateEndpointConnections/{name}
  • Operation Id: PrivateEndpointConnections_Delete
  • Default Api Version: 2023-01-01
  • Resource: MediaServicesPrivateEndpointConnectionResource
DeleteAsync(WaitUntil, CancellationToken)

Deletes a private endpoint connection.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaservices/{accountName}/privateEndpointConnections/{name}
  • Operation Id: PrivateEndpointConnections_Delete
  • Default Api Version: 2023-01-01
  • Resource: MediaServicesPrivateEndpointConnectionResource
Get(CancellationToken)

Get the details of a private endpoint connection.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaservices/{accountName}/privateEndpointConnections/{name}
  • Operation Id: PrivateEndpointConnections_Get
  • Default Api Version: 2023-01-01
  • Resource: MediaServicesPrivateEndpointConnectionResource
GetAsync(CancellationToken)

Get the details of a private endpoint connection.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaservices/{accountName}/privateEndpointConnections/{name}
  • Operation Id: PrivateEndpointConnections_Get
  • Default Api Version: 2023-01-01
  • Resource: MediaServicesPrivateEndpointConnectionResource
Update(WaitUntil, MediaServicesPrivateEndpointConnectionData, CancellationToken)

Update an existing private endpoint connection.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaservices/{accountName}/privateEndpointConnections/{name}
  • Operation Id: PrivateEndpointConnections_CreateOrUpdate
  • Default Api Version: 2023-01-01
  • Resource: MediaServicesPrivateEndpointConnectionResource
UpdateAsync(WaitUntil, MediaServicesPrivateEndpointConnectionData, CancellationToken)

Update an existing private endpoint connection.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaservices/{accountName}/privateEndpointConnections/{name}
  • Operation Id: PrivateEndpointConnections_CreateOrUpdate
  • Default Api Version: 2023-01-01
  • Resource: MediaServicesPrivateEndpointConnectionResource

Explicit Interface Implementations

IJsonModel<MediaServicesPrivateEndpointConnectionData>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<MediaServicesPrivateEndpointConnectionData>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided System.Text.Json.Utf8JsonWriter.

IPersistableModel<MediaServicesPrivateEndpointConnectionData>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided System.BinaryData into a model.

IPersistableModel<MediaServicesPrivateEndpointConnectionData>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<MediaServicesPrivateEndpointConnectionData>.Write(ModelReaderWriterOptions)

Writes the model into a System.BinaryData.

Applies to