Asset Interface

public interface Asset

An immutable client-side representation of Asset.

Method Summary

Modifier and Type Method and Description
abstract String alternateId()

Gets the alternateId property: The alternate ID of the Asset.

abstract UUID assetId()

Gets the assetId property: The Asset ID.

abstract String container()

Gets the container property: The name of the asset blob container.

abstract OffsetDateTime created()

Gets the created property: The creation date of the Asset.

abstract String description()

Gets the description property: The Asset description.

abstract StorageEncryptedAssetDecryptionData getEncryptionKey()

Gets the Asset storage key

abstract Response<StorageEncryptedAssetDecryptionData> getEncryptionKeyWithResponse(Context context)

Gets the Asset storage key

abstract String id()

Gets the id property: Fully qualified resource Id for the resource.

abstract AssetInner innerModel()

Gets the inner com.azure.resourcemanager.mediaservices.fluent.models.AssetInner object.

abstract OffsetDateTime lastModified()

Gets the lastModified property: The last modified date of the Asset.

abstract AssetContainerSas listContainerSas(ListContainerSasInput parameters)

List the Asset URLs

abstract Response<AssetContainerSas> listContainerSasWithResponse(ListContainerSasInput parameters, Context context)

List the Asset URLs

abstract ListStreamingLocatorsResponse listStreamingLocators()

List Streaming Locators

abstract Response<ListStreamingLocatorsResponse> listStreamingLocatorsWithResponse(Context context)

List Streaming Locators

abstract String name()

Gets the name property: The name of the resource.

abstract Asset refresh()

Refreshes the resource to sync with Azure.

abstract Asset refresh(Context context)

Refreshes the resource to sync with Azure.

abstract String resourceGroupName()

Gets the name of the resource group.

abstract String storageAccountName()

Gets the storageAccountName property: The name of the storage account.

abstract AssetStorageEncryptionFormat storageEncryptionFormat()

Gets the storageEncryptionFormat property: The Asset encryption format.

abstract SystemData systemData()

Gets the systemData property: The system metadata relating to this resource.

abstract String type()

Gets the type property: The type of the resource.

abstract Update update()

Begins update for the Asset resource.

Method Details

alternateId

public abstract String alternateId()

Gets the alternateId property: The alternate ID of the Asset.

Returns:

the alternateId value.

assetId

public abstract UUID assetId()

Gets the assetId property: The Asset ID.

Returns:

the assetId value.

container

public abstract String container()

Gets the container property: The name of the asset blob container.

Returns:

the container value.

created

public abstract OffsetDateTime created()

Gets the created property: The creation date of the Asset.

Returns:

the created value.

description

public abstract String description()

Gets the description property: The Asset description.

Returns:

the description value.

getEncryptionKey

public abstract StorageEncryptedAssetDecryptionData getEncryptionKey()

Gets the Asset storage key

Gets the Asset storage encryption keys used to decrypt content created by version 2 of the Media Services API.

Returns:

the Asset storage encryption keys used to decrypt content created by version 2 of the Media Services API.

getEncryptionKeyWithResponse

public abstract Response getEncryptionKeyWithResponse(Context context)

Gets the Asset storage key

Gets the Asset storage encryption keys used to decrypt content created by version 2 of the Media Services API.

Parameters:

context - The context to associate with this operation.

Returns:

the Asset storage encryption keys used to decrypt content created by version 2 of the Media Services API along with Response<T>.

id

public abstract String id()

Gets the id property: Fully qualified resource Id for the resource.

Returns:

the id value.

innerModel

public abstract AssetInner innerModel()

Gets the inner com.azure.resourcemanager.mediaservices.fluent.models.AssetInner object.

Returns:

the inner object.

lastModified

public abstract OffsetDateTime lastModified()

Gets the lastModified property: The last modified date of the Asset.

Returns:

the lastModified value.

listContainerSas

public abstract AssetContainerSas listContainerSas(ListContainerSasInput parameters)

List the Asset URLs

Lists storage container URLs with shared access signatures (SAS) for uploading and downloading Asset content. The signatures are derived from the storage account keys.

Parameters:

parameters - The request parameters.

Returns:

the Asset Storage container SAS URLs.

listContainerSasWithResponse

public abstract Response listContainerSasWithResponse(ListContainerSasInput parameters, Context context)

List the Asset URLs

Lists storage container URLs with shared access signatures (SAS) for uploading and downloading Asset content. The signatures are derived from the storage account keys.

Parameters:

parameters - The request parameters.
context - The context to associate with this operation.

Returns:

the Asset Storage container SAS URLs along with Response<T>.

listStreamingLocators

public abstract ListStreamingLocatorsResponse listStreamingLocators()

List Streaming Locators

Lists Streaming Locators which are associated with this asset.

Returns:

the Streaming Locators associated with this Asset.

listStreamingLocatorsWithResponse

public abstract Response listStreamingLocatorsWithResponse(Context context)

List Streaming Locators

Lists Streaming Locators which are associated with this asset.

Parameters:

context - The context to associate with this operation.

Returns:

the Streaming Locators associated with this Asset along with Response<T>.

name

public abstract String name()

Gets the name property: The name of the resource.

Returns:

the name value.

refresh

public abstract Asset refresh()

Refreshes the resource to sync with Azure.

Returns:

the refreshed resource.

refresh

public abstract Asset refresh(Context context)

Refreshes the resource to sync with Azure.

Parameters:

context - The context to associate with this operation.

Returns:

the refreshed resource.

resourceGroupName

public abstract String resourceGroupName()

Gets the name of the resource group.

Returns:

the name of the resource group.

storageAccountName

public abstract String storageAccountName()

Gets the storageAccountName property: The name of the storage account.

Returns:

the storageAccountName value.

storageEncryptionFormat

public abstract AssetStorageEncryptionFormat storageEncryptionFormat()

Gets the storageEncryptionFormat property: The Asset encryption format. One of None or MediaStorageEncryption.

Returns:

the storageEncryptionFormat value.

systemData

public abstract SystemData systemData()

Gets the systemData property: The system metadata relating to this resource.

Returns:

the systemData value.

type

public abstract String type()

Gets the type property: The type of the resource.

Returns:

the type value.

update

public abstract Asset.Update update()

Begins update for the Asset resource.

Returns:

the stage of resource update.

Applies to