MediaServicesAccountResource Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A Class representing a MediaServicesAccount along with the instance operations that can be performed on it. If you have a Azure.Core.ResourceIdentifier you can construct a MediaServicesAccountResource from an instance of Azure.ResourceManager.ArmClient using the GetMediaServicesAccountResource method. Otherwise you can get one from its parent resource Azure.ResourceManager.Resources.ResourceGroupResource using the GetMediaServicesAccount method.
public class MediaServicesAccountResource : Azure.ResourceManager.ArmResource, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Media.MediaServicesAccountData>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Media.MediaServicesAccountData>
type MediaServicesAccountResource = class
inherit ArmResource
interface IJsonModel<MediaServicesAccountData>
interface IPersistableModel<MediaServicesAccountData>
Public Class MediaServicesAccountResource
Inherits ArmResource
Implements IJsonModel(Of MediaServicesAccountData), IPersistableModel(Of MediaServicesAccountData)
- Inheritance
-
Azure.ResourceManager.ArmResourceMediaServicesAccountResource
- Implements
-
System.ClientModel.Primitives.IJsonModel<MediaServicesAccountData> System.ClientModel.Primitives.IPersistableModel<MediaServicesAccountData> System.ClientModel.Primitives.IPersistableModel<T>
Constructors
MediaServicesAccountResource() |
Initializes a new instance of the MediaServicesAccountResource 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
AddTag(String, String, CancellationToken) |
Add a tag to the current resource.
|
AddTagAsync(String, String, CancellationToken) |
Add a tag to the current resource.
|
CreateResourceIdentifier(String, String, String) |
Generate the resource identifier of a MediaServicesAccountResource instance. |
Delete(WaitUntil, CancellationToken) |
Deletes a Media Services account
|
DeleteAsync(WaitUntil, CancellationToken) |
Deletes a Media Services account
|
Get(CancellationToken) |
Get the details of a Media Services account
|
GetAsync(CancellationToken) |
Get the details of a Media Services account
|
GetContentKeyPolicies() |
Gets a collection of ContentKeyPolicyResources in the MediaServicesAccount. |
GetContentKeyPolicy(String, CancellationToken) |
Get the details of a Content Key Policy in the Media Services account
|
GetContentKeyPolicyAsync(String, CancellationToken) |
Get the details of a Content Key Policy in the Media Services account
|
GetEdgePolicies(EdgePoliciesRequestContent, CancellationToken) |
List all the media edge policies associated with the Media Services account.
|
GetEdgePoliciesAsync(EdgePoliciesRequestContent, CancellationToken) |
List all the media edge policies associated with the Media Services account.
|
GetMediaAsset(String, CancellationToken) |
Get the details of an Asset in the Media Services account
|
GetMediaAssetAsync(String, CancellationToken) |
Get the details of an Asset in the Media Services account
|
GetMediaAssets() |
Gets a collection of MediaAssetResources in the MediaServicesAccount. |
GetMediaLiveEvent(String, CancellationToken) |
Gets properties of a live event.
|
GetMediaLiveEventAsync(String, CancellationToken) |
Gets properties of a live event.
|
GetMediaLiveEvents() |
Gets a collection of MediaLiveEventResources in the MediaServicesAccount. |
GetMediaServicesAccountFilter(String, CancellationToken) |
Get the details of an Account Filter in the Media Services account.
|
GetMediaServicesAccountFilterAsync(String, CancellationToken) |
Get the details of an Account Filter in the Media Services account.
|
GetMediaServicesAccountFilters() |
Gets a collection of MediaServicesAccountFilterResources in the MediaServicesAccount. |
GetMediaServicesPrivateEndpointConnection(String, CancellationToken) |
Get the details of a private endpoint connection.
|
GetMediaServicesPrivateEndpointConnectionAsync(String, CancellationToken) |
Get the details of a private endpoint connection.
|
GetMediaServicesPrivateEndpointConnections() |
Gets a collection of MediaServicesPrivateEndpointConnectionResources in the MediaServicesAccount. |
GetMediaServicesPrivateLinkResource(String, CancellationToken) |
Get details of a group ID.
|
GetMediaServicesPrivateLinkResourceAsync(String, CancellationToken) |
Get details of a group ID.
|
GetMediaServicesPrivateLinkResources() |
Gets a collection of MediaServicesPrivateLinkResources in the MediaServicesAccount. |
GetMediaTransform(String, CancellationToken) |
Gets a Transform.
|
GetMediaTransformAsync(String, CancellationToken) |
Gets a Transform.
|
GetMediaTransforms() |
Gets a collection of MediaTransformResources in the MediaServicesAccount. |
GetStreamingEndpoint(String, CancellationToken) |
Gets a streaming endpoint.
|
GetStreamingEndpointAsync(String, CancellationToken) |
Gets a streaming endpoint.
|
GetStreamingEndpoints() |
Gets a collection of StreamingEndpointResources in the MediaServicesAccount. |
GetStreamingLocator(String, CancellationToken) |
Get the details of a Streaming Locator in the Media Services account
|
GetStreamingLocatorAsync(String, CancellationToken) |
Get the details of a Streaming Locator in the Media Services account
|
GetStreamingLocators() |
Gets a collection of StreamingLocatorResources in the MediaServicesAccount. |
GetStreamingPolicies() |
Gets a collection of StreamingPolicyResources in the MediaServicesAccount. |
GetStreamingPolicy(String, CancellationToken) |
Get the details of a Streaming Policy in the Media Services account
|
GetStreamingPolicyAsync(String, CancellationToken) |
Get the details of a Streaming Policy in the Media Services account
|
RemoveTag(String, CancellationToken) |
Removes a tag by key from the resource.
|
RemoveTagAsync(String, CancellationToken) |
Removes a tag by key from the resource.
|
SetTags(IDictionary<String,String>, CancellationToken) |
Replace the tags on the resource with the given set.
|
SetTagsAsync(IDictionary<String,String>, CancellationToken) |
Replace the tags on the resource with the given set.
|
SyncStorageKeys(SyncStorageKeysContent, CancellationToken) |
Synchronizes storage account keys for a storage account associated with the Media Service account.
|
SyncStorageKeysAsync(SyncStorageKeysContent, CancellationToken) |
Synchronizes storage account keys for a storage account associated with the Media Service account.
|
Update(WaitUntil, MediaServicesAccountPatch, CancellationToken) |
Updates an existing Media Services account
|
UpdateAsync(WaitUntil, MediaServicesAccountPatch, CancellationToken) |
Updates an existing Media Services account
|
Explicit Interface Implementations
IJsonModel<MediaServicesAccountData>.Create(Utf8JsonReader, ModelReaderWriterOptions) |
Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model. |
IJsonModel<MediaServicesAccountData>.Write(Utf8JsonWriter, ModelReaderWriterOptions) |
Writes the model to the provided System.Text.Json.Utf8JsonWriter. |
IPersistableModel<MediaServicesAccountData>.Create(BinaryData, ModelReaderWriterOptions) |
Converts the provided System.BinaryData into a model. |
IPersistableModel<MediaServicesAccountData>.GetFormatFromOptions(ModelReaderWriterOptions) |
Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service. |
IPersistableModel<MediaServicesAccountData>.Write(ModelReaderWriterOptions) |
Writes the model into a System.BinaryData. |