1. Packages
  2. Azure Native v1
  3. API Docs
  4. media
  5. MediaService
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.MediaService

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

    A Media Services account. API Version: 2020-05-01.

    Example Usage

    Create a Media Services account

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var mediaService = new AzureNative.Media.MediaService("mediaService", new()
        {
            AccountName = "contososports",
            Location = "South Central US",
            ResourceGroupName = "contoso",
            StorageAccounts = new[]
            {
                new AzureNative.Media.Inputs.StorageAccountArgs
                {
                    Id = "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Storage/storageAccounts/contososportsstore",
                    Type = "Primary",
                },
            },
            Tags = 
            {
                { "key1", "value1" },
                { "key2", "value2" },
            },
        });
    
    });
    
    package main
    
    import (
    	media "github.com/pulumi/pulumi-azure-native-sdk/media"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := media.NewMediaService(ctx, "mediaService", &media.MediaServiceArgs{
    			AccountName:       pulumi.String("contososports"),
    			Location:          pulumi.String("South Central US"),
    			ResourceGroupName: pulumi.String("contoso"),
    			StorageAccounts: []media.StorageAccountArgs{
    				{
    					Id:   pulumi.String("/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Storage/storageAccounts/contososportsstore"),
    					Type: pulumi.String("Primary"),
    				},
    			},
    			Tags: pulumi.StringMap{
    				"key1": pulumi.String("value1"),
    				"key2": pulumi.String("value2"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.azurenative.media.MediaService;
    import com.pulumi.azurenative.media.MediaServiceArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var mediaService = new MediaService("mediaService", MediaServiceArgs.builder()        
                .accountName("contososports")
                .location("South Central US")
                .resourceGroupName("contoso")
                .storageAccounts(Map.ofEntries(
                    Map.entry("id", "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Storage/storageAccounts/contososportsstore"),
                    Map.entry("type", "Primary")
                ))
                .tags(Map.ofEntries(
                    Map.entry("key1", "value1"),
                    Map.entry("key2", "value2")
                ))
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    media_service = azure_native.media.MediaService("mediaService",
        account_name="contososports",
        location="South Central US",
        resource_group_name="contoso",
        storage_accounts=[azure_native.media.StorageAccountArgs(
            id="/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Storage/storageAccounts/contososportsstore",
            type="Primary",
        )],
        tags={
            "key1": "value1",
            "key2": "value2",
        })
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const mediaService = new azure_native.media.MediaService("mediaService", {
        accountName: "contososports",
        location: "South Central US",
        resourceGroupName: "contoso",
        storageAccounts: [{
            id: "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Storage/storageAccounts/contososportsstore",
            type: "Primary",
        }],
        tags: {
            key1: "value1",
            key2: "value2",
        },
    });
    
    resources:
      mediaService:
        type: azure-native:media:MediaService
        properties:
          accountName: contososports
          location: South Central US
          resourceGroupName: contoso
          storageAccounts:
            - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Storage/storageAccounts/contososportsstore
              type: Primary
          tags:
            key1: value1
            key2: value2
    

    Create MediaService Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new MediaService(name: string, args: MediaServiceArgs, opts?: CustomResourceOptions);
    @overload
    def MediaService(resource_name: str,
                     args: MediaServiceArgs,
                     opts: Optional[ResourceOptions] = None)
    
    @overload
    def MediaService(resource_name: str,
                     opts: Optional[ResourceOptions] = None,
                     resource_group_name: Optional[str] = None,
                     account_name: Optional[str] = None,
                     encryption: Optional[AccountEncryptionArgs] = None,
                     identity: Optional[MediaServiceIdentityArgs] = None,
                     location: Optional[str] = None,
                     storage_accounts: Optional[Sequence[StorageAccountArgs]] = None,
                     storage_authentication: Optional[Union[str, StorageAuthentication]] = None,
                     tags: Optional[Mapping[str, str]] = None)
    func NewMediaService(ctx *Context, name string, args MediaServiceArgs, opts ...ResourceOption) (*MediaService, error)
    public MediaService(string name, MediaServiceArgs args, CustomResourceOptions? opts = null)
    public MediaService(String name, MediaServiceArgs args)
    public MediaService(String name, MediaServiceArgs args, CustomResourceOptions options)
    
    type: azure-native:media:MediaService
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args MediaServiceArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args MediaServiceArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args MediaServiceArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args MediaServiceArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args MediaServiceArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var mediaServiceResource = new AzureNative.Media.MediaService("mediaServiceResource", new()
    {
        ResourceGroupName = "string",
        AccountName = "string",
        Encryption = 
        {
            { "type", "string" },
            { "keyVaultProperties", 
            {
                { "keyIdentifier", "string" },
            } },
        },
        Identity = 
        {
            { "type", "string" },
        },
        Location = "string",
        StorageAccounts = new[]
        {
            
            {
                { "type", "string" },
                { "id", "string" },
            },
        },
        StorageAuthentication = "string",
        Tags = 
        {
            { "string", "string" },
        },
    });
    
    example, err := media.NewMediaService(ctx, "mediaServiceResource", &media.MediaServiceArgs{
    	ResourceGroupName: "string",
    	AccountName:       "string",
    	Encryption: map[string]interface{}{
    		"type": "string",
    		"keyVaultProperties": map[string]interface{}{
    			"keyIdentifier": "string",
    		},
    	},
    	Identity: map[string]interface{}{
    		"type": "string",
    	},
    	Location: "string",
    	StorageAccounts: []map[string]interface{}{
    		map[string]interface{}{
    			"type": "string",
    			"id":   "string",
    		},
    	},
    	StorageAuthentication: "string",
    	Tags: map[string]interface{}{
    		"string": "string",
    	},
    })
    
    var mediaServiceResource = new MediaService("mediaServiceResource", MediaServiceArgs.builder()
        .resourceGroupName("string")
        .accountName("string")
        .encryption(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
        .identity(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
        .location("string")
        .storageAccounts(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
        .storageAuthentication("string")
        .tags(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
        .build());
    
    media_service_resource = azure_native.media.MediaService("mediaServiceResource",
        resource_group_name=string,
        account_name=string,
        encryption={
            type: string,
            keyVaultProperties: {
                keyIdentifier: string,
            },
        },
        identity={
            type: string,
        },
        location=string,
        storage_accounts=[{
            type: string,
            id: string,
        }],
        storage_authentication=string,
        tags={
            string: string,
        })
    
    const mediaServiceResource = new azure_native.media.MediaService("mediaServiceResource", {
        resourceGroupName: "string",
        accountName: "string",
        encryption: {
            type: "string",
            keyVaultProperties: {
                keyIdentifier: "string",
            },
        },
        identity: {
            type: "string",
        },
        location: "string",
        storageAccounts: [{
            type: "string",
            id: "string",
        }],
        storageAuthentication: "string",
        tags: {
            string: "string",
        },
    });
    
    type: azure-native:media:MediaService
    properties:
        accountName: string
        encryption:
            keyVaultProperties:
                keyIdentifier: string
            type: string
        identity:
            type: string
        location: string
        resourceGroupName: string
        storageAccounts:
            - id: string
              type: string
        storageAuthentication: string
        tags:
            string: string
    

    MediaService Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The MediaService resource accepts the following input properties:

    ResourceGroupName string
    The name of the resource group within the Azure subscription.
    AccountName string
    The Media Services account name.
    Encryption Pulumi.AzureNative.Media.Inputs.AccountEncryption
    The account encryption properties.
    Identity Pulumi.AzureNative.Media.Inputs.MediaServiceIdentity
    The Managed Identity for the Media Services account.
    Location string
    The geo-location where the resource lives
    StorageAccounts List<Pulumi.AzureNative.Media.Inputs.StorageAccount>
    The storage accounts for this resource.
    StorageAuthentication string | Pulumi.AzureNative.Media.StorageAuthentication
    Tags Dictionary<string, string>
    Resource tags.
    ResourceGroupName string
    The name of the resource group within the Azure subscription.
    AccountName string
    The Media Services account name.
    Encryption AccountEncryptionArgs
    The account encryption properties.
    Identity MediaServiceIdentityArgs
    The Managed Identity for the Media Services account.
    Location string
    The geo-location where the resource lives
    StorageAccounts []StorageAccountArgs
    The storage accounts for this resource.
    StorageAuthentication string | StorageAuthentication
    Tags map[string]string
    Resource tags.
    resourceGroupName String
    The name of the resource group within the Azure subscription.
    accountName String
    The Media Services account name.
    encryption AccountEncryption
    The account encryption properties.
    identity MediaServiceIdentity
    The Managed Identity for the Media Services account.
    location String
    The geo-location where the resource lives
    storageAccounts List<StorageAccount>
    The storage accounts for this resource.
    storageAuthentication String | StorageAuthentication
    tags Map<String,String>
    Resource tags.
    resourceGroupName string
    The name of the resource group within the Azure subscription.
    accountName string
    The Media Services account name.
    encryption AccountEncryption
    The account encryption properties.
    identity MediaServiceIdentity
    The Managed Identity for the Media Services account.
    location string
    The geo-location where the resource lives
    storageAccounts StorageAccount[]
    The storage accounts for this resource.
    storageAuthentication string | StorageAuthentication
    tags {[key: string]: string}
    Resource tags.
    resource_group_name str
    The name of the resource group within the Azure subscription.
    account_name str
    The Media Services account name.
    encryption AccountEncryptionArgs
    The account encryption properties.
    identity MediaServiceIdentityArgs
    The Managed Identity for the Media Services account.
    location str
    The geo-location where the resource lives
    storage_accounts Sequence[StorageAccountArgs]
    The storage accounts for this resource.
    storage_authentication str | StorageAuthentication
    tags Mapping[str, str]
    Resource tags.
    resourceGroupName String
    The name of the resource group within the Azure subscription.
    accountName String
    The Media Services account name.
    encryption Property Map
    The account encryption properties.
    identity Property Map
    The Managed Identity for the Media Services account.
    location String
    The geo-location where the resource lives
    storageAccounts List<Property Map>
    The storage accounts for this resource.
    storageAuthentication String | "System" | "ManagedIdentity"
    tags Map<String>
    Resource tags.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the MediaService resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    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"
    Id string
    The provider-assigned unique ID for this managed resource.
    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"
    id String
    The provider-assigned unique ID for this managed resource.
    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"
    id string
    The provider-assigned unique ID for this managed resource.
    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"
    id str
    The provider-assigned unique ID for this managed resource.
    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"
    id String
    The provider-assigned unique ID for this managed resource.
    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"

    Supporting Types

    AccountEncryption, AccountEncryptionArgs

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

    AccountEncryptionKeyType, AccountEncryptionKeyTypeArgs

    SystemKey
    SystemKeyThe Account Key is encrypted with a System Key.
    CustomerKey
    CustomerKeyThe Account Key is encrypted with a Customer Key.
    AccountEncryptionKeyTypeSystemKey
    SystemKeyThe Account Key is encrypted with a System Key.
    AccountEncryptionKeyTypeCustomerKey
    CustomerKeyThe Account Key is encrypted with a Customer Key.
    SystemKey
    SystemKeyThe Account Key is encrypted with a System Key.
    CustomerKey
    CustomerKeyThe Account Key is encrypted with a Customer Key.
    SystemKey
    SystemKeyThe Account Key is encrypted with a System Key.
    CustomerKey
    CustomerKeyThe Account Key is encrypted with a Customer Key.
    SYSTEM_KEY
    SystemKeyThe Account Key is encrypted with a System Key.
    CUSTOMER_KEY
    CustomerKeyThe Account Key is encrypted with a Customer Key.
    "SystemKey"
    SystemKeyThe Account Key is encrypted with a System Key.
    "CustomerKey"
    CustomerKeyThe Account Key is encrypted with a Customer Key.

    AccountEncryptionResponse, AccountEncryptionResponseArgs

    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.

    KeyVaultProperties, KeyVaultPropertiesArgs

    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).
    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).
    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).
    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).
    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).
    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).

    KeyVaultPropertiesResponse, KeyVaultPropertiesResponseArgs

    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).

    ManagedIdentityType, ManagedIdentityTypeArgs

    SystemAssigned
    SystemAssignedA system-assigned managed identity.
    None
    NoneNo managed identity.
    ManagedIdentityTypeSystemAssigned
    SystemAssignedA system-assigned managed identity.
    ManagedIdentityTypeNone
    NoneNo managed identity.
    SystemAssigned
    SystemAssignedA system-assigned managed identity.
    None
    NoneNo managed identity.
    SystemAssigned
    SystemAssignedA system-assigned managed identity.
    None
    NoneNo managed identity.
    SYSTEM_ASSIGNED
    SystemAssignedA system-assigned managed identity.
    NONE
    NoneNo managed identity.
    "SystemAssigned"
    SystemAssignedA system-assigned managed identity.
    "None"
    NoneNo managed identity.

    MediaServiceIdentity, MediaServiceIdentityArgs

    Type string | ManagedIdentityType
    The identity type.
    type String | ManagedIdentityType
    The identity type.
    type string | ManagedIdentityType
    The identity type.
    type str | ManagedIdentityType
    The identity type.
    type String | "SystemAssigned" | "None"
    The identity type.

    MediaServiceIdentityResponse, MediaServiceIdentityResponseArgs

    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.

    StorageAccount, StorageAccountArgs

    Type string | Pulumi.AzureNative.Media.StorageAccountType
    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 | StorageAccountType
    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 | StorageAccountType
    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 | StorageAccountType
    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 | StorageAccountType
    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 | "Primary" | "Secondary"
    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.

    StorageAccountResponse, StorageAccountResponseArgs

    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.

    StorageAccountType, StorageAccountTypeArgs

    Primary
    PrimaryThe primary storage account for the Media Services account.
    Secondary
    SecondaryA secondary storage account for the Media Services account.
    StorageAccountTypePrimary
    PrimaryThe primary storage account for the Media Services account.
    StorageAccountTypeSecondary
    SecondaryA secondary storage account for the Media Services account.
    Primary
    PrimaryThe primary storage account for the Media Services account.
    Secondary
    SecondaryA secondary storage account for the Media Services account.
    Primary
    PrimaryThe primary storage account for the Media Services account.
    Secondary
    SecondaryA secondary storage account for the Media Services account.
    PRIMARY
    PrimaryThe primary storage account for the Media Services account.
    SECONDARY
    SecondaryA secondary storage account for the Media Services account.
    "Primary"
    PrimaryThe primary storage account for the Media Services account.
    "Secondary"
    SecondaryA secondary storage account for the Media Services account.

    StorageAuthentication, StorageAuthenticationArgs

    System
    SystemSystem authentication.
    ManagedIdentity
    ManagedIdentityManaged Identity authentication.
    StorageAuthenticationSystem
    SystemSystem authentication.
    StorageAuthenticationManagedIdentity
    ManagedIdentityManaged Identity authentication.
    System
    SystemSystem authentication.
    ManagedIdentity
    ManagedIdentityManaged Identity authentication.
    System
    SystemSystem authentication.
    ManagedIdentity
    ManagedIdentityManaged Identity authentication.
    SYSTEM
    SystemSystem authentication.
    MANAGED_IDENTITY
    ManagedIdentityManaged Identity authentication.
    "System"
    SystemSystem authentication.
    "ManagedIdentity"
    ManagedIdentityManaged Identity authentication.

    SystemDataResponse, SystemDataResponseArgs

    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.

    Import

    An existing resource can be imported using its type token, name, and identifier, e.g.

    $ pulumi import azure-native:media:MediaService contososports /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Media/mediaservices/contososports 
    

    To learn more about importing existing cloud resources, see Importing resources.

    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