Share via


MediaServicesPrivateLinkResource Class

Definition

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

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

Constructors

MediaServicesPrivateLinkResource()

Initializes a new instance of the MediaServicesPrivateLinkResource 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 MediaServicesPrivateLinkResource instance.

Get(CancellationToken)

Get details of a group ID.

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

Get details of a group ID.

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

Explicit Interface Implementations

IJsonModel<MediaServicesPrivateLinkResourceData>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<MediaServicesPrivateLinkResourceData>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

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

IPersistableModel<MediaServicesPrivateLinkResourceData>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided System.BinaryData into a model.

IPersistableModel<MediaServicesPrivateLinkResourceData>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<MediaServicesPrivateLinkResourceData>.Write(ModelReaderWriterOptions)

Writes the model into a System.BinaryData.

Applies to