Concrete tracked resource types can be created by aliasing this type using a specific property type.
Uses Azure REST API version 2025-09-01-preview.
Other available API versions: 2024-07-22-preview, 2025-12-01-preview. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native cdn [ApiVersion]. See the version guide for details.
Example Usage
CreateEdgeActionVersion
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var edgeActionVersion = new AzureNative.Cdn.EdgeActionVersion("edgeActionVersion", new()
{
DeploymentType = AzureNative.Cdn.EdgeActionVersionDeploymentType.Zip,
EdgeActionName = "edgeAction1",
IsDefaultVersion = AzureNative.Cdn.EdgeActionIsDefaultVersion.True,
Location = "global",
ResourceGroupName = "testrg",
Version = "version2",
});
});
package main
import (
cdn "github.com/pulumi/pulumi-azure-native-sdk/cdn/v3"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := cdn.NewEdgeActionVersion(ctx, "edgeActionVersion", &cdn.EdgeActionVersionArgs{
DeploymentType: pulumi.String(cdn.EdgeActionVersionDeploymentTypeZip),
EdgeActionName: pulumi.String("edgeAction1"),
IsDefaultVersion: pulumi.String(cdn.EdgeActionIsDefaultVersionTrue),
Location: pulumi.String("global"),
ResourceGroupName: pulumi.String("testrg"),
Version: pulumi.String("version2"),
})
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.cdn.EdgeActionVersion;
import com.pulumi.azurenative.cdn.EdgeActionVersionArgs;
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 edgeActionVersion = new EdgeActionVersion("edgeActionVersion", EdgeActionVersionArgs.builder()
.deploymentType("zip")
.edgeActionName("edgeAction1")
.isDefaultVersion("True")
.location("global")
.resourceGroupName("testrg")
.version("version2")
.build());
}
}
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const edgeActionVersion = new azure_native.cdn.EdgeActionVersion("edgeActionVersion", {
deploymentType: azure_native.cdn.EdgeActionVersionDeploymentType.Zip,
edgeActionName: "edgeAction1",
isDefaultVersion: azure_native.cdn.EdgeActionIsDefaultVersion.True,
location: "global",
resourceGroupName: "testrg",
version: "version2",
});
import pulumi
import pulumi_azure_native as azure_native
edge_action_version = azure_native.cdn.EdgeActionVersion("edgeActionVersion",
deployment_type=azure_native.cdn.EdgeActionVersionDeploymentType.ZIP,
edge_action_name="edgeAction1",
is_default_version=azure_native.cdn.EdgeActionIsDefaultVersion.TRUE,
location="global",
resource_group_name="testrg",
version="version2")
resources:
edgeActionVersion:
type: azure-native:cdn:EdgeActionVersion
properties:
deploymentType: zip
edgeActionName: edgeAction1
isDefaultVersion: True
location: global
resourceGroupName: testrg
version: version2
Create EdgeActionVersion Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new EdgeActionVersion(name: string, args: EdgeActionVersionArgs, opts?: CustomResourceOptions);@overload
def EdgeActionVersion(resource_name: str,
args: EdgeActionVersionArgs,
opts: Optional[ResourceOptions] = None)
@overload
def EdgeActionVersion(resource_name: str,
opts: Optional[ResourceOptions] = None,
deployment_type: Optional[Union[str, EdgeActionVersionDeploymentType]] = None,
edge_action_name: Optional[str] = None,
is_default_version: Optional[Union[str, EdgeActionIsDefaultVersion]] = None,
resource_group_name: Optional[str] = None,
location: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None,
version: Optional[str] = None)func NewEdgeActionVersion(ctx *Context, name string, args EdgeActionVersionArgs, opts ...ResourceOption) (*EdgeActionVersion, error)public EdgeActionVersion(string name, EdgeActionVersionArgs args, CustomResourceOptions? opts = null)
public EdgeActionVersion(String name, EdgeActionVersionArgs args)
public EdgeActionVersion(String name, EdgeActionVersionArgs args, CustomResourceOptions options)
type: azure-native:cdn:EdgeActionVersion
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 EdgeActionVersionArgs
- 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 EdgeActionVersionArgs
- 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 EdgeActionVersionArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args EdgeActionVersionArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args EdgeActionVersionArgs
- 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 edgeActionVersionResource = new AzureNative.Cdn.EdgeActionVersion("edgeActionVersionResource", new()
{
DeploymentType = "string",
EdgeActionName = "string",
IsDefaultVersion = "string",
ResourceGroupName = "string",
Location = "string",
Tags =
{
{ "string", "string" },
},
Version = "string",
});
example, err := cdn.NewEdgeActionVersion(ctx, "edgeActionVersionResource", &cdn.EdgeActionVersionArgs{
DeploymentType: pulumi.String("string"),
EdgeActionName: pulumi.String("string"),
IsDefaultVersion: pulumi.String("string"),
ResourceGroupName: pulumi.String("string"),
Location: pulumi.String("string"),
Tags: pulumi.StringMap{
"string": pulumi.String("string"),
},
Version: pulumi.String("string"),
})
var edgeActionVersionResource = new EdgeActionVersion("edgeActionVersionResource", EdgeActionVersionArgs.builder()
.deploymentType("string")
.edgeActionName("string")
.isDefaultVersion("string")
.resourceGroupName("string")
.location("string")
.tags(Map.of("string", "string"))
.version("string")
.build());
edge_action_version_resource = azure_native.cdn.EdgeActionVersion("edgeActionVersionResource",
deployment_type="string",
edge_action_name="string",
is_default_version="string",
resource_group_name="string",
location="string",
tags={
"string": "string",
},
version="string")
const edgeActionVersionResource = new azure_native.cdn.EdgeActionVersion("edgeActionVersionResource", {
deploymentType: "string",
edgeActionName: "string",
isDefaultVersion: "string",
resourceGroupName: "string",
location: "string",
tags: {
string: "string",
},
version: "string",
});
type: azure-native:cdn:EdgeActionVersion
properties:
deploymentType: string
edgeActionName: string
isDefaultVersion: string
location: string
resourceGroupName: string
tags:
string: string
version: string
EdgeActionVersion 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 EdgeActionVersion resource accepts the following input properties:
- Deployment
Type string | Pulumi.Azure Native. Cdn. Edge Action Version Deployment Type - The deployment type
- Edge
Action stringName - The name of the Edge Action
- Is
Default string | Pulumi.Version Azure Native. Cdn. Edge Action Is Default Version - The active state
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Location string
- The geo-location where the resource lives
- Dictionary<string, string>
- Resource tags.
- Version string
- The name of the Edge Action version
- Deployment
Type string | EdgeAction Version Deployment Type - The deployment type
- Edge
Action stringName - The name of the Edge Action
- Is
Default string | EdgeVersion Action Is Default Version - The active state
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Location string
- The geo-location where the resource lives
- map[string]string
- Resource tags.
- Version string
- The name of the Edge Action version
- deployment
Type String | EdgeAction Version Deployment Type - The deployment type
- edge
Action StringName - The name of the Edge Action
- is
Default String | EdgeVersion Action Is Default Version - The active state
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- location String
- The geo-location where the resource lives
- Map<String,String>
- Resource tags.
- version String
- The name of the Edge Action version
- deployment
Type string | EdgeAction Version Deployment Type - The deployment type
- edge
Action stringName - The name of the Edge Action
- is
Default string | EdgeVersion Action Is Default Version - The active state
- resource
Group stringName - The name of the resource group. The name is case insensitive.
- location string
- The geo-location where the resource lives
- {[key: string]: string}
- Resource tags.
- version string
- The name of the Edge Action version
- deployment_
type str | EdgeAction Version Deployment Type - The deployment type
- edge_
action_ strname - The name of the Edge Action
- is_
default_ str | Edgeversion Action Is Default Version - The active state
- resource_
group_ strname - The name of the resource group. The name is case insensitive.
- location str
- The geo-location where the resource lives
- Mapping[str, str]
- Resource tags.
- version str
- The name of the Edge Action version
- deployment
Type String | "zip" | "file" | "others" - The deployment type
- edge
Action StringName - The name of the Edge Action
- is
Default String | "True" | "False"Version - The active state
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- location String
- The geo-location where the resource lives
- Map<String>
- Resource tags.
- version String
- The name of the Edge Action version
Outputs
All input properties are implicitly available as output properties. Additionally, the EdgeActionVersion resource produces the following output properties:
- Azure
Api stringVersion - The Azure API version of the resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- Last
Package stringUpdate Time - The last update time in UTC for package update
- Name string
- The name of the resource
- Provisioning
State string - The provisioning state
- System
Data Pulumi.Azure Native. Cdn. Outputs. System Data Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- Validation
Status string - The validation status
- Azure
Api stringVersion - The Azure API version of the resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- Last
Package stringUpdate Time - The last update time in UTC for package update
- Name string
- The name of the resource
- Provisioning
State string - The provisioning state
- System
Data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- Validation
Status string - The validation status
- azure
Api StringVersion - The Azure API version of the resource.
- id String
- The provider-assigned unique ID for this managed resource.
- last
Package StringUpdate Time - The last update time in UTC for package update
- name String
- The name of the resource
- provisioning
State String - The provisioning state
- system
Data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- validation
Status String - The validation status
- azure
Api stringVersion - The Azure API version of the resource.
- id string
- The provider-assigned unique ID for this managed resource.
- last
Package stringUpdate Time - The last update time in UTC for package update
- name string
- The name of the resource
- provisioning
State string - The provisioning state
- system
Data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- validation
Status string - The validation status
- azure_
api_ strversion - The Azure API version of the resource.
- id str
- The provider-assigned unique ID for this managed resource.
- last_
package_ strupdate_ time - The last update time in UTC for package update
- name str
- The name of the resource
- provisioning_
state str - The provisioning state
- system_
data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type str
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- validation_
status str - The validation status
- azure
Api StringVersion - The Azure API version of the resource.
- id String
- The provider-assigned unique ID for this managed resource.
- last
Package StringUpdate Time - The last update time in UTC for package update
- name String
- The name of the resource
- provisioning
State String - The provisioning state
- system
Data Property Map - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- validation
Status String - The validation status
Supporting Types
EdgeActionIsDefaultVersion, EdgeActionIsDefaultVersionArgs
- True
TrueThis is the default version- False
FalseThis is not the default version
- Edge
Action Is Default Version True TrueThis is the default version- Edge
Action Is Default Version False FalseThis is not the default version
- True
TrueThis is the default version- False
FalseThis is not the default version
- True
TrueThis is the default version- False
FalseThis is not the default version
- TRUE
TrueThis is the default version- FALSE
FalseThis is not the default version
- "True"
TrueThis is the default version- "False"
FalseThis is not the default version
EdgeActionVersionDeploymentType, EdgeActionVersionDeploymentTypeArgs
- Zip
zipZIP file deployment- File
fileSingle file deployment- Others
othersOther deployment types
- Edge
Action Version Deployment Type Zip zipZIP file deployment- Edge
Action Version Deployment Type File fileSingle file deployment- Edge
Action Version Deployment Type Others othersOther deployment types
- Zip
zipZIP file deployment- File
fileSingle file deployment- Others
othersOther deployment types
- Zip
zipZIP file deployment- File
fileSingle file deployment- Others
othersOther deployment types
- ZIP
zipZIP file deployment- FILE
fileSingle file deployment- OTHERS
othersOther deployment types
- "zip"
zipZIP file deployment- "file"
fileSingle file deployment- "others"
othersOther deployment types
SystemDataResponse, SystemDataResponseArgs
Metadata pertaining to creation and last modification of 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 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:cdn:EdgeActionVersion version2 /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/edgeActions/{edgeActionName}/versions/{version}
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0
