We recommend using Azure Native.
published on Monday, Mar 9, 2026 by Pulumi
We recommend using Azure Native.
published on Monday, Mar 9, 2026 by Pulumi
Manages a Media Services Account.
Example Usage
using Pulumi;
using Azure = Pulumi.Azure;
class MyStack : Stack
{
public MyStack()
{
var exampleResourceGroup = new Azure.Core.ResourceGroup("exampleResourceGroup", new Azure.Core.ResourceGroupArgs
{
Location = "West Europe",
});
var exampleAccount = new Azure.Storage.Account("exampleAccount", new Azure.Storage.AccountArgs
{
ResourceGroupName = exampleResourceGroup.Name,
Location = exampleResourceGroup.Location,
AccountTier = "Standard",
AccountReplicationType = "GRS",
});
var exampleServiceAccount = new Azure.Media.ServiceAccount("exampleServiceAccount", new Azure.Media.ServiceAccountArgs
{
Location = exampleResourceGroup.Location,
ResourceGroupName = exampleResourceGroup.Name,
StorageAccounts =
{
new Azure.Media.Inputs.ServiceAccountStorageAccountArgs
{
Id = exampleAccount.Id,
IsPrimary = true,
},
},
});
}
}
package main
import (
"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/media"
"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/storage"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{
Location: pulumi.String("West Europe"),
})
if err != nil {
return err
}
exampleAccount, err := storage.NewAccount(ctx, "exampleAccount", &storage.AccountArgs{
ResourceGroupName: exampleResourceGroup.Name,
Location: exampleResourceGroup.Location,
AccountTier: pulumi.String("Standard"),
AccountReplicationType: pulumi.String("GRS"),
})
if err != nil {
return err
}
_, err = media.NewServiceAccount(ctx, "exampleServiceAccount", &media.ServiceAccountArgs{
Location: exampleResourceGroup.Location,
ResourceGroupName: exampleResourceGroup.Name,
StorageAccounts: media.ServiceAccountStorageAccountArray{
&media.ServiceAccountStorageAccountArgs{
Id: exampleAccount.ID(),
IsPrimary: pulumi.Bool(true),
},
},
})
if err != nil {
return err
}
return nil
})
}
Example coming soon!
import * as pulumi from "@pulumi/pulumi";
import * as azure from "@pulumi/azure";
const exampleResourceGroup = new azure.core.ResourceGroup("exampleResourceGroup", {location: "West Europe"});
const exampleAccount = new azure.storage.Account("exampleAccount", {
resourceGroupName: exampleResourceGroup.name,
location: exampleResourceGroup.location,
accountTier: "Standard",
accountReplicationType: "GRS",
});
const exampleServiceAccount = new azure.media.ServiceAccount("exampleServiceAccount", {
location: exampleResourceGroup.location,
resourceGroupName: exampleResourceGroup.name,
storageAccounts: [{
id: exampleAccount.id,
isPrimary: true,
}],
});
import pulumi
import pulumi_azure as azure
example_resource_group = azure.core.ResourceGroup("exampleResourceGroup", location="West Europe")
example_account = azure.storage.Account("exampleAccount",
resource_group_name=example_resource_group.name,
location=example_resource_group.location,
account_tier="Standard",
account_replication_type="GRS")
example_service_account = azure.media.ServiceAccount("exampleServiceAccount",
location=example_resource_group.location,
resource_group_name=example_resource_group.name,
storage_accounts=[azure.media.ServiceAccountStorageAccountArgs(
id=example_account.id,
is_primary=True,
)])
Example coming soon!
Create ServiceAccount Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ServiceAccount(name: string, args: ServiceAccountArgs, opts?: CustomResourceOptions);@overload
def ServiceAccount(resource_name: str,
args: ServiceAccountArgs,
opts: Optional[ResourceOptions] = None)
@overload
def ServiceAccount(resource_name: str,
opts: Optional[ResourceOptions] = None,
resource_group_name: Optional[str] = None,
storage_accounts: Optional[Sequence[ServiceAccountStorageAccountArgs]] = None,
identity: Optional[ServiceAccountIdentityArgs] = None,
key_delivery_access_control: Optional[ServiceAccountKeyDeliveryAccessControlArgs] = None,
location: Optional[str] = None,
name: Optional[str] = None,
storage_authentication_type: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None)func NewServiceAccount(ctx *Context, name string, args ServiceAccountArgs, opts ...ResourceOption) (*ServiceAccount, error)public ServiceAccount(string name, ServiceAccountArgs args, CustomResourceOptions? opts = null)
public ServiceAccount(String name, ServiceAccountArgs args)
public ServiceAccount(String name, ServiceAccountArgs args, CustomResourceOptions options)
type: azure:media:ServiceAccount
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 ServiceAccountArgs
- 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 ServiceAccountArgs
- 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 ServiceAccountArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ServiceAccountArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ServiceAccountArgs
- 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 serviceAccountResource = new Azure.Media.ServiceAccount("serviceAccountResource", new()
{
ResourceGroupName = "string",
StorageAccounts = new[]
{
new Azure.Media.Inputs.ServiceAccountStorageAccountArgs
{
Id = "string",
IsPrimary = false,
},
},
Identity = new Azure.Media.Inputs.ServiceAccountIdentityArgs
{
Type = "string",
PrincipalId = "string",
TenantId = "string",
},
KeyDeliveryAccessControl = new Azure.Media.Inputs.ServiceAccountKeyDeliveryAccessControlArgs
{
DefaultAction = "string",
IpAllowLists = new[]
{
"string",
},
},
Location = "string",
Name = "string",
StorageAuthenticationType = "string",
Tags =
{
{ "string", "string" },
},
});
example, err := media.NewServiceAccount(ctx, "serviceAccountResource", &media.ServiceAccountArgs{
ResourceGroupName: pulumi.String("string"),
StorageAccounts: media.ServiceAccountStorageAccountArray{
&media.ServiceAccountStorageAccountArgs{
Id: pulumi.String("string"),
IsPrimary: pulumi.Bool(false),
},
},
Identity: &media.ServiceAccountIdentityArgs{
Type: pulumi.String("string"),
PrincipalId: pulumi.String("string"),
TenantId: pulumi.String("string"),
},
KeyDeliveryAccessControl: &media.ServiceAccountKeyDeliveryAccessControlArgs{
DefaultAction: pulumi.String("string"),
IpAllowLists: pulumi.StringArray{
pulumi.String("string"),
},
},
Location: pulumi.String("string"),
Name: pulumi.String("string"),
StorageAuthenticationType: pulumi.String("string"),
Tags: pulumi.StringMap{
"string": pulumi.String("string"),
},
})
var serviceAccountResource = new ServiceAccount("serviceAccountResource", ServiceAccountArgs.builder()
.resourceGroupName("string")
.storageAccounts(ServiceAccountStorageAccountArgs.builder()
.id("string")
.isPrimary(false)
.build())
.identity(ServiceAccountIdentityArgs.builder()
.type("string")
.principalId("string")
.tenantId("string")
.build())
.keyDeliveryAccessControl(ServiceAccountKeyDeliveryAccessControlArgs.builder()
.defaultAction("string")
.ipAllowLists("string")
.build())
.location("string")
.name("string")
.storageAuthenticationType("string")
.tags(Map.of("string", "string"))
.build());
service_account_resource = azure.media.ServiceAccount("serviceAccountResource",
resource_group_name="string",
storage_accounts=[{
"id": "string",
"is_primary": False,
}],
identity={
"type": "string",
"principal_id": "string",
"tenant_id": "string",
},
key_delivery_access_control={
"default_action": "string",
"ip_allow_lists": ["string"],
},
location="string",
name="string",
storage_authentication_type="string",
tags={
"string": "string",
})
const serviceAccountResource = new azure.media.ServiceAccount("serviceAccountResource", {
resourceGroupName: "string",
storageAccounts: [{
id: "string",
isPrimary: false,
}],
identity: {
type: "string",
principalId: "string",
tenantId: "string",
},
keyDeliveryAccessControl: {
defaultAction: "string",
ipAllowLists: ["string"],
},
location: "string",
name: "string",
storageAuthenticationType: "string",
tags: {
string: "string",
},
});
type: azure:media:ServiceAccount
properties:
identity:
principalId: string
tenantId: string
type: string
keyDeliveryAccessControl:
defaultAction: string
ipAllowLists:
- string
location: string
name: string
resourceGroupName: string
storageAccounts:
- id: string
isPrimary: false
storageAuthenticationType: string
tags:
string: string
ServiceAccount Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The ServiceAccount resource accepts the following input properties:
- Resource
Group stringName - The name of the resource group in which to create the Media Services Account. Changing this forces a new resource to be created.
- Storage
Accounts List<ServiceAccount Storage Account> - One or more
storage_accountblocks as defined below. - Identity
Service
Account Identity - An
identityblock as defined below. - Key
Delivery ServiceAccess Control Account Key Delivery Access Control - A
key_delivery_access_controlblock as defined below. - Location string
- Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
- Name string
- Specifies the name of the Media Services Account. Changing this forces a new resource to be created.
- Storage
Authentication stringType - Specifies the storage authentication type.
Possible value is
ManagedIdentityorSystem. - Dictionary<string, string>
- A mapping of tags assigned to the resource.
- Resource
Group stringName - The name of the resource group in which to create the Media Services Account. Changing this forces a new resource to be created.
- Storage
Accounts []ServiceAccount Storage Account Args - One or more
storage_accountblocks as defined below. - Identity
Service
Account Identity Args - An
identityblock as defined below. - Key
Delivery ServiceAccess Control Account Key Delivery Access Control Args - A
key_delivery_access_controlblock as defined below. - Location string
- Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
- Name string
- Specifies the name of the Media Services Account. Changing this forces a new resource to be created.
- Storage
Authentication stringType - Specifies the storage authentication type.
Possible value is
ManagedIdentityorSystem. - map[string]string
- A mapping of tags assigned to the resource.
- resource
Group StringName - The name of the resource group in which to create the Media Services Account. Changing this forces a new resource to be created.
- storage
Accounts List<ServiceAccount Storage Account> - One or more
storage_accountblocks as defined below. - identity
Service
Account Identity - An
identityblock as defined below. - key
Delivery ServiceAccess Control Account Key Delivery Access Control - A
key_delivery_access_controlblock as defined below. - location String
- Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
- name String
- Specifies the name of the Media Services Account. Changing this forces a new resource to be created.
- storage
Authentication StringType - Specifies the storage authentication type.
Possible value is
ManagedIdentityorSystem. - Map<String,String>
- A mapping of tags assigned to the resource.
- resource
Group stringName - The name of the resource group in which to create the Media Services Account. Changing this forces a new resource to be created.
- storage
Accounts ServiceAccount Storage Account[] - One or more
storage_accountblocks as defined below. - identity
Service
Account Identity - An
identityblock as defined below. - key
Delivery ServiceAccess Control Account Key Delivery Access Control - A
key_delivery_access_controlblock as defined below. - location string
- Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
- name string
- Specifies the name of the Media Services Account. Changing this forces a new resource to be created.
- storage
Authentication stringType - Specifies the storage authentication type.
Possible value is
ManagedIdentityorSystem. - {[key: string]: string}
- A mapping of tags assigned to the resource.
- resource_
group_ strname - The name of the resource group in which to create the Media Services Account. Changing this forces a new resource to be created.
- storage_
accounts Sequence[ServiceAccount Storage Account Args] - One or more
storage_accountblocks as defined below. - identity
Service
Account Identity Args - An
identityblock as defined below. - key_
delivery_ Serviceaccess_ control Account Key Delivery Access Control Args - A
key_delivery_access_controlblock as defined below. - location str
- Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
- name str
- Specifies the name of the Media Services Account. Changing this forces a new resource to be created.
- storage_
authentication_ strtype - Specifies the storage authentication type.
Possible value is
ManagedIdentityorSystem. - Mapping[str, str]
- A mapping of tags assigned to the resource.
- resource
Group StringName - The name of the resource group in which to create the Media Services Account. Changing this forces a new resource to be created.
- storage
Accounts List<Property Map> - One or more
storage_accountblocks as defined below. - identity Property Map
- An
identityblock as defined below. - key
Delivery Property MapAccess Control - A
key_delivery_access_controlblock as defined below. - location String
- Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
- name String
- Specifies the name of the Media Services Account. Changing this forces a new resource to be created.
- storage
Authentication StringType - Specifies the storage authentication type.
Possible value is
ManagedIdentityorSystem. - Map<String>
- A mapping of tags assigned to the resource.
Outputs
All input properties are implicitly available as output properties. Additionally, the ServiceAccount resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing ServiceAccount Resource
Get an existing ServiceAccount resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: ServiceAccountState, opts?: CustomResourceOptions): ServiceAccount@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
identity: Optional[ServiceAccountIdentityArgs] = None,
key_delivery_access_control: Optional[ServiceAccountKeyDeliveryAccessControlArgs] = None,
location: Optional[str] = None,
name: Optional[str] = None,
resource_group_name: Optional[str] = None,
storage_accounts: Optional[Sequence[ServiceAccountStorageAccountArgs]] = None,
storage_authentication_type: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None) -> ServiceAccountfunc GetServiceAccount(ctx *Context, name string, id IDInput, state *ServiceAccountState, opts ...ResourceOption) (*ServiceAccount, error)public static ServiceAccount Get(string name, Input<string> id, ServiceAccountState? state, CustomResourceOptions? opts = null)public static ServiceAccount get(String name, Output<String> id, ServiceAccountState state, CustomResourceOptions options)resources: _: type: azure:media:ServiceAccount get: id: ${id}- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Identity
Service
Account Identity - An
identityblock as defined below. - Key
Delivery ServiceAccess Control Account Key Delivery Access Control - A
key_delivery_access_controlblock as defined below. - Location string
- Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
- Name string
- Specifies the name of the Media Services Account. Changing this forces a new resource to be created.
- Resource
Group stringName - The name of the resource group in which to create the Media Services Account. Changing this forces a new resource to be created.
- Storage
Accounts List<ServiceAccount Storage Account> - One or more
storage_accountblocks as defined below. - Storage
Authentication stringType - Specifies the storage authentication type.
Possible value is
ManagedIdentityorSystem. - Dictionary<string, string>
- A mapping of tags assigned to the resource.
- Identity
Service
Account Identity Args - An
identityblock as defined below. - Key
Delivery ServiceAccess Control Account Key Delivery Access Control Args - A
key_delivery_access_controlblock as defined below. - Location string
- Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
- Name string
- Specifies the name of the Media Services Account. Changing this forces a new resource to be created.
- Resource
Group stringName - The name of the resource group in which to create the Media Services Account. Changing this forces a new resource to be created.
- Storage
Accounts []ServiceAccount Storage Account Args - One or more
storage_accountblocks as defined below. - Storage
Authentication stringType - Specifies the storage authentication type.
Possible value is
ManagedIdentityorSystem. - map[string]string
- A mapping of tags assigned to the resource.
- identity
Service
Account Identity - An
identityblock as defined below. - key
Delivery ServiceAccess Control Account Key Delivery Access Control - A
key_delivery_access_controlblock as defined below. - location String
- Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
- name String
- Specifies the name of the Media Services Account. Changing this forces a new resource to be created.
- resource
Group StringName - The name of the resource group in which to create the Media Services Account. Changing this forces a new resource to be created.
- storage
Accounts List<ServiceAccount Storage Account> - One or more
storage_accountblocks as defined below. - storage
Authentication StringType - Specifies the storage authentication type.
Possible value is
ManagedIdentityorSystem. - Map<String,String>
- A mapping of tags assigned to the resource.
- identity
Service
Account Identity - An
identityblock as defined below. - key
Delivery ServiceAccess Control Account Key Delivery Access Control - A
key_delivery_access_controlblock as defined below. - location string
- Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
- name string
- Specifies the name of the Media Services Account. Changing this forces a new resource to be created.
- resource
Group stringName - The name of the resource group in which to create the Media Services Account. Changing this forces a new resource to be created.
- storage
Accounts ServiceAccount Storage Account[] - One or more
storage_accountblocks as defined below. - storage
Authentication stringType - Specifies the storage authentication type.
Possible value is
ManagedIdentityorSystem. - {[key: string]: string}
- A mapping of tags assigned to the resource.
- identity
Service
Account Identity Args - An
identityblock as defined below. - key_
delivery_ Serviceaccess_ control Account Key Delivery Access Control Args - A
key_delivery_access_controlblock as defined below. - location str
- Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
- name str
- Specifies the name of the Media Services Account. Changing this forces a new resource to be created.
- resource_
group_ strname - The name of the resource group in which to create the Media Services Account. Changing this forces a new resource to be created.
- storage_
accounts Sequence[ServiceAccount Storage Account Args] - One or more
storage_accountblocks as defined below. - storage_
authentication_ strtype - Specifies the storage authentication type.
Possible value is
ManagedIdentityorSystem. - Mapping[str, str]
- A mapping of tags assigned to the resource.
- identity Property Map
- An
identityblock as defined below. - key
Delivery Property MapAccess Control - A
key_delivery_access_controlblock as defined below. - location String
- Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
- name String
- Specifies the name of the Media Services Account. Changing this forces a new resource to be created.
- resource
Group StringName - The name of the resource group in which to create the Media Services Account. Changing this forces a new resource to be created.
- storage
Accounts List<Property Map> - One or more
storage_accountblocks as defined below. - storage
Authentication StringType - Specifies the storage authentication type.
Possible value is
ManagedIdentityorSystem. - Map<String>
- A mapping of tags assigned to the resource.
Supporting Types
ServiceAccountIdentity, ServiceAccountIdentityArgs
- Type string
- Specifies the type of Managed Service Identity that should be configured on this Media Services Account. Possible value is
SystemAssigned. - Principal
Id string - The Principal ID associated with this Managed Service Identity.
- Tenant
Id string - The Tenant ID associated with this Managed Service Identity.
- Type string
- Specifies the type of Managed Service Identity that should be configured on this Media Services Account. Possible value is
SystemAssigned. - Principal
Id string - The Principal ID associated with this Managed Service Identity.
- Tenant
Id string - The Tenant ID associated with this Managed Service Identity.
- type String
- Specifies the type of Managed Service Identity that should be configured on this Media Services Account. Possible value is
SystemAssigned. - principal
Id String - The Principal ID associated with this Managed Service Identity.
- tenant
Id String - The Tenant ID associated with this Managed Service Identity.
- type string
- Specifies the type of Managed Service Identity that should be configured on this Media Services Account. Possible value is
SystemAssigned. - principal
Id string - The Principal ID associated with this Managed Service Identity.
- tenant
Id string - The Tenant ID associated with this Managed Service Identity.
- type str
- Specifies the type of Managed Service Identity that should be configured on this Media Services Account. Possible value is
SystemAssigned. - principal_
id str - The Principal ID associated with this Managed Service Identity.
- tenant_
id str - The Tenant ID associated with this Managed Service Identity.
- type String
- Specifies the type of Managed Service Identity that should be configured on this Media Services Account. Possible value is
SystemAssigned. - principal
Id String - The Principal ID associated with this Managed Service Identity.
- tenant
Id String - The Tenant ID associated with this Managed Service Identity.
ServiceAccountKeyDeliveryAccessControl, ServiceAccountKeyDeliveryAccessControlArgs
- Default
Action string - The Default Action to use when no rules match from
ip_allow_list. Possible values areAllowandDeny. - Ip
Allow List<string>Lists - One or more IP Addresses, or CIDR Blocks which should be able to access the Key Delivery.
- Default
Action string - The Default Action to use when no rules match from
ip_allow_list. Possible values areAllowandDeny. - Ip
Allow []stringLists - One or more IP Addresses, or CIDR Blocks which should be able to access the Key Delivery.
- default
Action String - The Default Action to use when no rules match from
ip_allow_list. Possible values areAllowandDeny. - ip
Allow List<String>Lists - One or more IP Addresses, or CIDR Blocks which should be able to access the Key Delivery.
- default
Action string - The Default Action to use when no rules match from
ip_allow_list. Possible values areAllowandDeny. - ip
Allow string[]Lists - One or more IP Addresses, or CIDR Blocks which should be able to access the Key Delivery.
- default_
action str - The Default Action to use when no rules match from
ip_allow_list. Possible values areAllowandDeny. - ip_
allow_ Sequence[str]lists - One or more IP Addresses, or CIDR Blocks which should be able to access the Key Delivery.
- default
Action String - The Default Action to use when no rules match from
ip_allow_list. Possible values areAllowandDeny. - ip
Allow List<String>Lists - One or more IP Addresses, or CIDR Blocks which should be able to access the Key Delivery.
ServiceAccountStorageAccount, ServiceAccountStorageAccountArgs
- id str
- Specifies the ID of the Storage Account that will be associated with the Media Services instance.
- is_
primary bool - Specifies whether the storage account should be the primary account or not. Defaults to
false.
Import
Media Services Accounts can be imported using the resource id, e.g.
$ pulumi import azure:media/serviceAccount:ServiceAccount account /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mygroup1/providers/Microsoft.Media/mediaservices/account1
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure Classic pulumi/pulumi-azure
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
azurermTerraform Provider.
We recommend using Azure Native.
published on Monday, Mar 9, 2026 by Pulumi