1. Packages
  2. Azure Native v1
  3. API Docs
  4. media
  5. getMediaService
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi

azure-native.media.getMediaService

Explore with Pulumi AI

azure-native-v1 logo
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi

    Get the details of a Media Services account API Version: 2020-05-01.

    Using getMediaService

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getMediaService(args: GetMediaServiceArgs, opts?: InvokeOptions): Promise<GetMediaServiceResult>
    function getMediaServiceOutput(args: GetMediaServiceOutputArgs, opts?: InvokeOptions): Output<GetMediaServiceResult>
    def get_media_service(account_name: Optional[str] = None,
                          resource_group_name: Optional[str] = None,
                          opts: Optional[InvokeOptions] = None) -> GetMediaServiceResult
    def get_media_service_output(account_name: Optional[pulumi.Input[str]] = None,
                          resource_group_name: Optional[pulumi.Input[str]] = None,
                          opts: Optional[InvokeOptions] = None) -> Output[GetMediaServiceResult]
    func LookupMediaService(ctx *Context, args *LookupMediaServiceArgs, opts ...InvokeOption) (*LookupMediaServiceResult, error)
    func LookupMediaServiceOutput(ctx *Context, args *LookupMediaServiceOutputArgs, opts ...InvokeOption) LookupMediaServiceResultOutput

    > Note: This function is named LookupMediaService in the Go SDK.

    public static class GetMediaService 
    {
        public static Task<GetMediaServiceResult> InvokeAsync(GetMediaServiceArgs args, InvokeOptions? opts = null)
        public static Output<GetMediaServiceResult> Invoke(GetMediaServiceInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetMediaServiceResult> getMediaService(GetMediaServiceArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: azure-native:media:getMediaService
      arguments:
        # arguments dictionary

    The following arguments are supported:

    AccountName string
    The Media Services account name.
    ResourceGroupName string
    The name of the resource group within the Azure subscription.
    AccountName string
    The Media Services account name.
    ResourceGroupName string
    The name of the resource group within the Azure subscription.
    accountName String
    The Media Services account name.
    resourceGroupName String
    The name of the resource group within the Azure subscription.
    accountName string
    The Media Services account name.
    resourceGroupName string
    The name of the resource group within the Azure subscription.
    account_name str
    The Media Services account name.
    resource_group_name str
    The name of the resource group within the Azure subscription.
    accountName String
    The Media Services account name.
    resourceGroupName String
    The name of the resource group within the Azure subscription.

    getMediaService Result

    The following output properties are available:

    Id string
    Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
    Location string
    The geo-location where the resource lives
    MediaServiceId string
    The Media Services account ID.
    Name string
    The name of the resource
    SystemData Pulumi.AzureNative.Media.Outputs.SystemDataResponse
    The system metadata relating to this resource.
    Type string
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    Encryption Pulumi.AzureNative.Media.Outputs.AccountEncryptionResponse
    The account encryption properties.
    Identity Pulumi.AzureNative.Media.Outputs.MediaServiceIdentityResponse
    The Managed Identity for the Media Services account.
    StorageAccounts List<Pulumi.AzureNative.Media.Outputs.StorageAccountResponse>
    The storage accounts for this resource.
    StorageAuthentication string
    Tags Dictionary<string, string>
    Resource tags.
    Id string
    Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
    Location string
    The geo-location where the resource lives
    MediaServiceId string
    The Media Services account ID.
    Name string
    The name of the resource
    SystemData SystemDataResponse
    The system metadata relating to this resource.
    Type string
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    Encryption AccountEncryptionResponse
    The account encryption properties.
    Identity MediaServiceIdentityResponse
    The Managed Identity for the Media Services account.
    StorageAccounts []StorageAccountResponse
    The storage accounts for this resource.
    StorageAuthentication string
    Tags map[string]string
    Resource tags.
    id String
    Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
    location String
    The geo-location where the resource lives
    mediaServiceId String
    The Media Services account ID.
    name String
    The name of the resource
    systemData SystemDataResponse
    The system metadata relating to this resource.
    type String
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    encryption AccountEncryptionResponse
    The account encryption properties.
    identity MediaServiceIdentityResponse
    The Managed Identity for the Media Services account.
    storageAccounts List<StorageAccountResponse>
    The storage accounts for this resource.
    storageAuthentication String
    tags Map<String,String>
    Resource tags.
    id string
    Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
    location string
    The geo-location where the resource lives
    mediaServiceId string
    The Media Services account ID.
    name string
    The name of the resource
    systemData SystemDataResponse
    The system metadata relating to this resource.
    type string
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    encryption AccountEncryptionResponse
    The account encryption properties.
    identity MediaServiceIdentityResponse
    The Managed Identity for the Media Services account.
    storageAccounts StorageAccountResponse[]
    The storage accounts for this resource.
    storageAuthentication string
    tags {[key: string]: string}
    Resource tags.
    id str
    Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
    location str
    The geo-location where the resource lives
    media_service_id str
    The Media Services account ID.
    name str
    The name of the resource
    system_data SystemDataResponse
    The system metadata relating to this resource.
    type str
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    encryption AccountEncryptionResponse
    The account encryption properties.
    identity MediaServiceIdentityResponse
    The Managed Identity for the Media Services account.
    storage_accounts Sequence[StorageAccountResponse]
    The storage accounts for this resource.
    storage_authentication str
    tags Mapping[str, str]
    Resource tags.
    id String
    Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
    location String
    The geo-location where the resource lives
    mediaServiceId String
    The Media Services account ID.
    name String
    The name of the resource
    systemData Property Map
    The system metadata relating to this resource.
    type String
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    encryption Property Map
    The account encryption properties.
    identity Property Map
    The Managed Identity for the Media Services account.
    storageAccounts List<Property Map>
    The storage accounts for this resource.
    storageAuthentication String
    tags Map<String>
    Resource tags.

    Supporting Types

    AccountEncryptionResponse

    Type string
    The type of key used to encrypt the Account Key.
    KeyVaultProperties Pulumi.AzureNative.Media.Inputs.KeyVaultPropertiesResponse
    The properties of the key used to encrypt the account.
    Type string
    The type of key used to encrypt the Account Key.
    KeyVaultProperties KeyVaultPropertiesResponse
    The properties of the key used to encrypt the account.
    type String
    The type of key used to encrypt the Account Key.
    keyVaultProperties KeyVaultPropertiesResponse
    The properties of the key used to encrypt the account.
    type string
    The type of key used to encrypt the Account Key.
    keyVaultProperties KeyVaultPropertiesResponse
    The properties of the key used to encrypt the account.
    type str
    The type of key used to encrypt the Account Key.
    key_vault_properties KeyVaultPropertiesResponse
    The properties of the key used to encrypt the account.
    type String
    The type of key used to encrypt the Account Key.
    keyVaultProperties Property Map
    The properties of the key used to encrypt the account.

    KeyVaultPropertiesResponse

    CurrentKeyIdentifier string
    The current key used to encrypt the Media Services account, including the key version.
    KeyIdentifier string
    The URL of the Key Vault key used to encrypt the account. The key may either be versioned (for example https://vault/keys/mykey/version1) or reference a key without a version (for example https://vault/keys/mykey).
    CurrentKeyIdentifier string
    The current key used to encrypt the Media Services account, including the key version.
    KeyIdentifier string
    The URL of the Key Vault key used to encrypt the account. The key may either be versioned (for example https://vault/keys/mykey/version1) or reference a key without a version (for example https://vault/keys/mykey).
    currentKeyIdentifier String
    The current key used to encrypt the Media Services account, including the key version.
    keyIdentifier String
    The URL of the Key Vault key used to encrypt the account. The key may either be versioned (for example https://vault/keys/mykey/version1) or reference a key without a version (for example https://vault/keys/mykey).
    currentKeyIdentifier string
    The current key used to encrypt the Media Services account, including the key version.
    keyIdentifier string
    The URL of the Key Vault key used to encrypt the account. The key may either be versioned (for example https://vault/keys/mykey/version1) or reference a key without a version (for example https://vault/keys/mykey).
    current_key_identifier str
    The current key used to encrypt the Media Services account, including the key version.
    key_identifier str
    The URL of the Key Vault key used to encrypt the account. The key may either be versioned (for example https://vault/keys/mykey/version1) or reference a key without a version (for example https://vault/keys/mykey).
    currentKeyIdentifier String
    The current key used to encrypt the Media Services account, including the key version.
    keyIdentifier String
    The URL of the Key Vault key used to encrypt the account. The key may either be versioned (for example https://vault/keys/mykey/version1) or reference a key without a version (for example https://vault/keys/mykey).

    MediaServiceIdentityResponse

    PrincipalId string
    The Principal ID of the identity.
    TenantId string
    The Tenant ID of the identity.
    Type string
    The identity type.
    PrincipalId string
    The Principal ID of the identity.
    TenantId string
    The Tenant ID of the identity.
    Type string
    The identity type.
    principalId String
    The Principal ID of the identity.
    tenantId String
    The Tenant ID of the identity.
    type String
    The identity type.
    principalId string
    The Principal ID of the identity.
    tenantId string
    The Tenant ID of the identity.
    type string
    The identity type.
    principal_id str
    The Principal ID of the identity.
    tenant_id str
    The Tenant ID of the identity.
    type str
    The identity type.
    principalId String
    The Principal ID of the identity.
    tenantId String
    The Tenant ID of the identity.
    type String
    The identity type.

    StorageAccountResponse

    Type string
    The type of the storage account.
    Id string
    The ID of the storage account resource. Media Services relies on tables and queues as well as blobs, so the primary storage account must be a Standard Storage account (either Microsoft.ClassicStorage or Microsoft.Storage). Blob only storage accounts can be added as secondary storage accounts.
    Type string
    The type of the storage account.
    Id string
    The ID of the storage account resource. Media Services relies on tables and queues as well as blobs, so the primary storage account must be a Standard Storage account (either Microsoft.ClassicStorage or Microsoft.Storage). Blob only storage accounts can be added as secondary storage accounts.
    type String
    The type of the storage account.
    id String
    The ID of the storage account resource. Media Services relies on tables and queues as well as blobs, so the primary storage account must be a Standard Storage account (either Microsoft.ClassicStorage or Microsoft.Storage). Blob only storage accounts can be added as secondary storage accounts.
    type string
    The type of the storage account.
    id string
    The ID of the storage account resource. Media Services relies on tables and queues as well as blobs, so the primary storage account must be a Standard Storage account (either Microsoft.ClassicStorage or Microsoft.Storage). Blob only storage accounts can be added as secondary storage accounts.
    type str
    The type of the storage account.
    id str
    The ID of the storage account resource. Media Services relies on tables and queues as well as blobs, so the primary storage account must be a Standard Storage account (either Microsoft.ClassicStorage or Microsoft.Storage). Blob only storage accounts can be added as secondary storage accounts.
    type String
    The type of the storage account.
    id String
    The ID of the storage account resource. Media Services relies on tables and queues as well as blobs, so the primary storage account must be a Standard Storage account (either Microsoft.ClassicStorage or Microsoft.Storage). Blob only storage accounts can be added as secondary storage accounts.

    SystemDataResponse

    CreatedAt string
    The timestamp of resource creation (UTC).
    CreatedBy string
    The identity that created the resource.
    CreatedByType string
    The type of identity that created the resource.
    LastModifiedAt string
    The timestamp of resource last modification (UTC)
    LastModifiedBy string
    The identity that last modified the resource.
    LastModifiedByType string
    The type of identity that last modified the resource.
    CreatedAt string
    The timestamp of resource creation (UTC).
    CreatedBy string
    The identity that created the resource.
    CreatedByType string
    The type of identity that created the resource.
    LastModifiedAt string
    The timestamp of resource last modification (UTC)
    LastModifiedBy string
    The identity that last modified the resource.
    LastModifiedByType string
    The type of identity that last modified the resource.
    createdAt String
    The timestamp of resource creation (UTC).
    createdBy String
    The identity that created the resource.
    createdByType String
    The type of identity that created the resource.
    lastModifiedAt String
    The timestamp of resource last modification (UTC)
    lastModifiedBy String
    The identity that last modified the resource.
    lastModifiedByType String
    The type of identity that last modified the resource.
    createdAt string
    The timestamp of resource creation (UTC).
    createdBy string
    The identity that created the resource.
    createdByType string
    The type of identity that created the resource.
    lastModifiedAt string
    The timestamp of resource last modification (UTC)
    lastModifiedBy string
    The identity that last modified the resource.
    lastModifiedByType string
    The type of identity that last modified the resource.
    created_at str
    The timestamp of resource creation (UTC).
    created_by str
    The identity that created the resource.
    created_by_type str
    The type of identity that created the resource.
    last_modified_at str
    The timestamp of resource last modification (UTC)
    last_modified_by str
    The identity that last modified the resource.
    last_modified_by_type str
    The type of identity that last modified the resource.
    createdAt String
    The timestamp of resource creation (UTC).
    createdBy String
    The identity that created the resource.
    createdByType String
    The type of identity that created the resource.
    lastModifiedAt String
    The timestamp of resource last modification (UTC)
    lastModifiedBy String
    The identity that last modified the resource.
    lastModifiedByType String
    The type of identity that last modified the resource.

    Package Details

    Repository
    azure-native-v1 pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native-v1 logo
    These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
    Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi