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 alternate |
abstract UUID |
assetId()
Gets the asset |
abstract String |
container()
Gets the container property: The name of the asset blob container. |
abstract
Offset |
created()
Gets the created property: The creation date of the Asset. |
abstract String |
description()
Gets the description property: The Asset description. |
abstract
Storage |
getEncryptionKey()
Gets the Asset storage key |
abstract
Response<Storage |
getEncryptionKeyWithResponse(Context context)
Gets the Asset storage key |
abstract String |
id()
Gets the id property: Fully qualified resource Id for the resource. |
abstract
Asset |
innerModel()
Gets the inner com. |
abstract
Offset |
lastModified()
Gets the last |
abstract
Asset |
listContainerSas(ListContainerSasInput parameters)
List the Asset URLs |
abstract
Response<Asset |
listContainerSasWithResponse(ListContainerSasInput parameters, Context context)
List the Asset URLs |
abstract
List |
listStreamingLocators()
List Streaming Locators |
abstract
Response<List |
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 storage |
abstract
Asset |
storageEncryptionFormat()
Gets the storage |
abstract
System |
systemData()
Gets the system |
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:
assetId
public abstract UUID assetId()
Gets the assetId property: The Asset ID.
Returns:
container
public abstract String container()
Gets the container property: The name of the asset blob container.
Returns:
created
public abstract OffsetDateTime created()
Gets the created property: The creation date of the Asset.
Returns:
description
public abstract String description()
Gets the description property: The Asset description.
Returns:
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:
getEncryptionKeyWithResponse
public abstract Response
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:
Returns:
id
public abstract String id()
Gets the id property: Fully qualified resource Id for the resource.
Returns:
innerModel
public abstract AssetInner innerModel()
Gets the inner com.azure.resourcemanager.mediaservices.fluent.models.AssetInner object.
Returns:
lastModified
public abstract OffsetDateTime lastModified()
Gets the lastModified property: The last modified date of the Asset.
Returns:
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:
Returns:
listContainerSasWithResponse
public abstract Response
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:
Returns:
listStreamingLocators
public abstract ListStreamingLocatorsResponse listStreamingLocators()
List Streaming Locators
Lists Streaming Locators which are associated with this asset.
Returns:
listStreamingLocatorsWithResponse
public abstract Response
List Streaming Locators
Lists Streaming Locators which are associated with this asset.
Parameters:
Returns:
name
public abstract String name()
Gets the name property: The name of the resource.
Returns:
refresh
public abstract Asset refresh()
Refreshes the resource to sync with Azure.
Returns:
refresh
public abstract Asset refresh(Context context)
Refreshes the resource to sync with Azure.
Parameters:
Returns:
resourceGroupName
public abstract String resourceGroupName()
Gets the name of the resource group.
Returns:
storageAccountName
public abstract String storageAccountName()
Gets the storageAccountName property: The name of the storage account.
Returns:
storageEncryptionFormat
public abstract AssetStorageEncryptionFormat storageEncryptionFormat()
Gets the storageEncryptionFormat property: The Asset encryption format. One of None or MediaStorageEncryption.
Returns:
systemData
public abstract SystemData systemData()
Gets the systemData property: The system metadata relating to this resource.
Returns:
type
public abstract String type()
Gets the type property: The type of the resource.
Returns:
update
public abstract Asset.Update update()
Begins update for the Asset resource.
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for