azure-native.media.MediaService
Explore with Pulumi AI
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:
- Resource
Group stringName - The name of the resource group within the Azure subscription.
- Account
Name string - The Media Services account name.
- Encryption
Pulumi.
Azure Native. Media. Inputs. Account Encryption - The account encryption properties.
- Identity
Pulumi.
Azure Native. Media. Inputs. Media Service Identity - The Managed Identity for the Media Services account.
- Location string
- The geo-location where the resource lives
- Storage
Accounts List<Pulumi.Azure Native. Media. Inputs. Storage Account> - The storage accounts for this resource.
- Storage
Authentication string | Pulumi.Azure Native. Media. Storage Authentication - Dictionary<string, string>
- Resource tags.
- Resource
Group stringName - The name of the resource group within the Azure subscription.
- Account
Name string - The Media Services account name.
- Encryption
Account
Encryption Args - The account encryption properties.
- Identity
Media
Service Identity Args - The Managed Identity for the Media Services account.
- Location string
- The geo-location where the resource lives
- Storage
Accounts []StorageAccount Args - The storage accounts for this resource.
- Storage
Authentication string | StorageAuthentication - map[string]string
- Resource tags.
- resource
Group StringName - The name of the resource group within the Azure subscription.
- account
Name String - The Media Services account name.
- encryption
Account
Encryption - The account encryption properties.
- identity
Media
Service Identity - The Managed Identity for the Media Services account.
- location String
- The geo-location where the resource lives
- storage
Accounts List<StorageAccount> - The storage accounts for this resource.
- storage
Authentication String | StorageAuthentication - Map<String,String>
- Resource tags.
- resource
Group stringName - The name of the resource group within the Azure subscription.
- account
Name string - The Media Services account name.
- encryption
Account
Encryption - The account encryption properties.
- identity
Media
Service Identity - The Managed Identity for the Media Services account.
- location string
- The geo-location where the resource lives
- storage
Accounts StorageAccount[] - The storage accounts for this resource.
- storage
Authentication string | StorageAuthentication - {[key: string]: string}
- Resource tags.
- resource_
group_ strname - The name of the resource group within the Azure subscription.
- account_
name str - The Media Services account name.
- encryption
Account
Encryption Args - The account encryption properties.
- identity
Media
Service Identity Args - The Managed Identity for the Media Services account.
- location str
- The geo-location where the resource lives
- storage_
accounts Sequence[StorageAccount Args] - The storage accounts for this resource.
- storage_
authentication str | StorageAuthentication - Mapping[str, str]
- Resource tags.
- resource
Group StringName - The name of the resource group within the Azure subscription.
- account
Name 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
- storage
Accounts List<Property Map> - The storage accounts for this resource.
- storage
Authentication String | "System" | "ManagedIdentity" - 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.
- Media
Service stringId - The Media Services account ID.
- Name string
- The name of the resource
- System
Data Pulumi.Azure Native. Media. Outputs. System Data Response - 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.
- Media
Service stringId - The Media Services account ID.
- Name string
- The name of the resource
- System
Data SystemData Response - 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.
- media
Service StringId - The Media Services account ID.
- name String
- The name of the resource
- system
Data SystemData Response - 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.
- media
Service stringId - The Media Services account ID.
- name string
- The name of the resource
- system
Data SystemData Response - 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_ strid - The Media Services account ID.
- name str
- The name of the resource
- system_
data SystemData Response - 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.
- media
Service StringId - The Media Services account ID.
- name String
- The name of the resource
- system
Data 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.
Azure Native. Media. Account Encryption Key Type - The type of key used to encrypt the Account Key.
- Key
Vault Pulumi.Properties Azure Native. Media. Inputs. Key Vault Properties - The properties of the key used to encrypt the account.
- Type
string | Account
Encryption Key Type - The type of key used to encrypt the Account Key.
- Key
Vault KeyProperties Vault Properties - The properties of the key used to encrypt the account.
- type
String | Account
Encryption Key Type - The type of key used to encrypt the Account Key.
- key
Vault KeyProperties Vault Properties - The properties of the key used to encrypt the account.
- type
string | Account
Encryption Key Type - The type of key used to encrypt the Account Key.
- key
Vault KeyProperties Vault Properties - The properties of the key used to encrypt the account.
- type
str | Account
Encryption Key Type - The type of key used to encrypt the Account Key.
- key_
vault_ Keyproperties Vault Properties - The properties of the key used to encrypt the account.
- type
String | "System
Key" | "Customer Key" - The type of key used to encrypt the Account Key.
- key
Vault Property MapProperties - The properties of the key used to encrypt the account.
AccountEncryptionKeyType, AccountEncryptionKeyTypeArgs
- System
Key - SystemKeyThe Account Key is encrypted with a System Key.
- Customer
Key - CustomerKeyThe Account Key is encrypted with a Customer Key.
- Account
Encryption Key Type System Key - SystemKeyThe Account Key is encrypted with a System Key.
- Account
Encryption Key Type Customer Key - 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.
- System
Key - SystemKeyThe Account Key is encrypted with a System Key.
- Customer
Key - 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.
- "System
Key" - SystemKeyThe Account Key is encrypted with a System Key.
- "Customer
Key" - CustomerKeyThe Account Key is encrypted with a Customer Key.
AccountEncryptionResponse, AccountEncryptionResponseArgs
- Type string
- The type of key used to encrypt the Account Key.
- Key
Vault Pulumi.Properties Azure Native. Media. Inputs. Key Vault Properties Response - The properties of the key used to encrypt the account.
- Type string
- The type of key used to encrypt the Account Key.
- Key
Vault KeyProperties Vault Properties Response - The properties of the key used to encrypt the account.
- type String
- The type of key used to encrypt the Account Key.
- key
Vault KeyProperties Vault Properties Response - The properties of the key used to encrypt the account.
- type string
- The type of key used to encrypt the Account Key.
- key
Vault KeyProperties Vault Properties Response - The properties of the key used to encrypt the account.
- type str
- The type of key used to encrypt the Account Key.
- key_
vault_ Keyproperties Vault Properties Response - The properties of the key used to encrypt the account.
- type String
- The type of key used to encrypt the Account Key.
- key
Vault Property MapProperties - The properties of the key used to encrypt the account.
KeyVaultProperties, KeyVaultPropertiesArgs
- Key
Identifier 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 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 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 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).
- key
Identifier 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
- Current
Key stringIdentifier - The current key used to encrypt the Media Services account, including the key version.
- Key
Identifier 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 stringIdentifier - The current key used to encrypt the Media Services account, including the key version.
- Key
Identifier 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 StringIdentifier - The current key used to encrypt the Media Services account, including the key version.
- key
Identifier 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 stringIdentifier - The current key used to encrypt the Media Services account, including the key version.
- key
Identifier 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_ stridentifier - 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).
- current
Key StringIdentifier - The current key used to encrypt the Media Services account, including the key version.
- key
Identifier 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
- System
Assigned - SystemAssignedA system-assigned managed identity.
- None
- NoneNo managed identity.
- Managed
Identity Type System Assigned - SystemAssignedA system-assigned managed identity.
- Managed
Identity Type None - NoneNo managed identity.
- System
Assigned - SystemAssignedA system-assigned managed identity.
- None
- NoneNo managed identity.
- System
Assigned - SystemAssignedA system-assigned managed identity.
- None
- NoneNo managed identity.
- SYSTEM_ASSIGNED
- SystemAssignedA system-assigned managed identity.
- NONE
- NoneNo managed identity.
- "System
Assigned" - SystemAssignedA system-assigned managed identity.
- "None"
- NoneNo managed identity.
MediaServiceIdentity, MediaServiceIdentityArgs
- Type
string | Pulumi.
Azure Native. Media. Managed Identity Type - The identity type.
- Type
string | Managed
Identity Type - The identity type.
- type
String | Managed
Identity Type - The identity type.
- type
string | Managed
Identity Type - The identity type.
- type
str | Managed
Identity Type - The identity type.
- type
String | "System
Assigned" | "None" - The identity type.
MediaServiceIdentityResponse, MediaServiceIdentityResponseArgs
- Principal
Id string - The Principal ID of the identity.
- Tenant
Id string - The Tenant ID of the identity.
- Type string
- The identity type.
- Principal
Id string - The Principal ID of the identity.
- Tenant
Id string - The Tenant ID of the identity.
- Type string
- The identity type.
- principal
Id String - The Principal ID of the identity.
- tenant
Id String - The Tenant ID of the identity.
- type String
- The identity type.
- principal
Id string - The Principal ID of the identity.
- tenant
Id 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.
- principal
Id String - The Principal ID of the identity.
- tenant
Id String - The Tenant ID of the identity.
- type String
- The identity type.
StorageAccount, StorageAccountArgs
- Type
string | Pulumi.
Azure Native. Media. Storage Account Type - 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 | Storage
Account Type - 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 | Storage
Account Type - 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 | Storage
Account Type - 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 | Storage
Account Type - 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.
- Storage
Account Type Primary - PrimaryThe primary storage account for the Media Services account.
- Storage
Account Type 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.
- "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.
- Managed
Identity - ManagedIdentityManaged Identity authentication.
- Storage
Authentication System - SystemSystem authentication.
- Storage
Authentication Managed Identity - ManagedIdentityManaged Identity authentication.
- System
- SystemSystem authentication.
- Managed
Identity - ManagedIdentityManaged Identity authentication.
- System
- SystemSystem authentication.
- Managed
Identity - ManagedIdentityManaged Identity authentication.
- SYSTEM
- SystemSystem authentication.
- MANAGED_IDENTITY
- ManagedIdentityManaged Identity authentication.
- "System"
- SystemSystem authentication.
- "Managed
Identity" - ManagedIdentityManaged Identity authentication.
SystemDataResponse, SystemDataResponseArgs
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
- created
At string - The timestamp of resource creation (UTC).
- created
By string - The identity that created the resource.
- created
By stringType - The type of identity that created the resource.
- last
Modified stringAt - The timestamp of resource last modification (UTC)
- last
Modified stringBy - The identity that last modified the resource.
- last
Modified stringBy Type - 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_ strtype - The type of identity that created the resource.
- last_
modified_ strat - The timestamp of resource last modification (UTC)
- last_
modified_ strby - The identity that last modified the resource.
- last_
modified_ strby_ type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - 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