Azure Native

Pulumi Official
Package maintained by Pulumi
v1.64.0 published on Wednesday, May 4, 2022 by Pulumi

RuleSet

Friendly RuleSet name mapping to the any RuleSet or secret related information. API Version: 2020-09-01.

Example Usage

RuleSets_Create

using Pulumi;
using AzureNative = Pulumi.AzureNative;

class MyStack : Stack
{
    public MyStack()
    {
        var ruleSet = new AzureNative.Cdn.RuleSet("ruleSet", new AzureNative.Cdn.RuleSetArgs
        {
            ProfileName = "profile1",
            ResourceGroupName = "RG",
            RuleSetName = "ruleSet1",
        });
    }

}
package main

import (
	cdn "github.com/pulumi/pulumi-azure-native/sdk/go/azure/cdn"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := cdn.NewRuleSet(ctx, "ruleSet", &cdn.RuleSetArgs{
			ProfileName:       pulumi.String("profile1"),
			ResourceGroupName: pulumi.String("RG"),
			RuleSetName:       pulumi.String("ruleSet1"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
package generated_program;

import java.util.*;
import java.io.*;
import java.nio.*;
import com.pulumi.*;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        var ruleSet = new RuleSet("ruleSet", RuleSetArgs.builder()        
            .profileName("profile1")
            .resourceGroupName("RG")
            .ruleSetName("ruleSet1")
            .build());

        }
}
import pulumi
import pulumi_azure_native as azure_native

rule_set = azure_native.cdn.RuleSet("ruleSet",
    profile_name="profile1",
    resource_group_name="RG",
    rule_set_name="ruleSet1")
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";

const ruleSet = new azure_native.cdn.RuleSet("ruleSet", {
    profileName: "profile1",
    resourceGroupName: "RG",
    ruleSetName: "ruleSet1",
});
resources:
  ruleSet:
    type: azure-native:cdn:RuleSet
    properties:
      profileName: profile1
      resourceGroupName: RG
      ruleSetName: ruleSet1

Create a RuleSet Resource

new RuleSet(name: string, args: RuleSetArgs, opts?: CustomResourceOptions);
@overload
def RuleSet(resource_name: str,
            opts: Optional[ResourceOptions] = None,
            profile_name: Optional[str] = None,
            resource_group_name: Optional[str] = None,
            rule_set_name: Optional[str] = None)
@overload
def RuleSet(resource_name: str,
            args: RuleSetArgs,
            opts: Optional[ResourceOptions] = None)
func NewRuleSet(ctx *Context, name string, args RuleSetArgs, opts ...ResourceOption) (*RuleSet, error)
public RuleSet(string name, RuleSetArgs args, CustomResourceOptions? opts = null)
public RuleSet(String name, RuleSetArgs args)
public RuleSet(String name, RuleSetArgs args, CustomResourceOptions options)
type: azure-native:cdn:RuleSet
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args RuleSetArgs
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 RuleSetArgs
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 RuleSetArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args RuleSetArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args RuleSetArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

RuleSet 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 RuleSet resource accepts the following input properties:

ProfileName string

Name of the CDN profile which is unique within the resource group.

ResourceGroupName string

Name of the Resource group within the Azure subscription.

RuleSetName string

Name of the rule set under the profile which is unique globally

ProfileName string

Name of the CDN profile which is unique within the resource group.

ResourceGroupName string

Name of the Resource group within the Azure subscription.

RuleSetName string

Name of the rule set under the profile which is unique globally

profileName String

Name of the CDN profile which is unique within the resource group.

resourceGroupName String

Name of the Resource group within the Azure subscription.

ruleSetName String

Name of the rule set under the profile which is unique globally

profileName string

Name of the CDN profile which is unique within the resource group.

resourceGroupName string

Name of the Resource group within the Azure subscription.

ruleSetName string

Name of the rule set under the profile which is unique globally

profile_name str

Name of the CDN profile which is unique within the resource group.

resource_group_name str

Name of the Resource group within the Azure subscription.

rule_set_name str

Name of the rule set under the profile which is unique globally

profileName String

Name of the CDN profile which is unique within the resource group.

resourceGroupName String

Name of the Resource group within the Azure subscription.

ruleSetName String

Name of the rule set under the profile which is unique globally

Outputs

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

DeploymentStatus string
Id string

The provider-assigned unique ID for this managed resource.

Name string

Resource name.

ProvisioningState string

Provisioning status

SystemData Pulumi.AzureNative.Cdn.Outputs.SystemDataResponse

Read only system data

Type string

Resource type.

DeploymentStatus string
Id string

The provider-assigned unique ID for this managed resource.

Name string

Resource name.

ProvisioningState string

Provisioning status

SystemData SystemDataResponse

Read only system data

Type string

Resource type.

deploymentStatus String
id String

The provider-assigned unique ID for this managed resource.

name String

Resource name.

provisioningState String

Provisioning status

systemData SystemDataResponse

Read only system data

type String

Resource type.

deploymentStatus string
id string

The provider-assigned unique ID for this managed resource.

name string

Resource name.

provisioningState string

Provisioning status

systemData SystemDataResponse

Read only system data

type string

Resource type.

deployment_status str
id str

The provider-assigned unique ID for this managed resource.

name str

Resource name.

provisioning_state str

Provisioning status

system_data SystemDataResponse

Read only system data

type str

Resource type.

deploymentStatus String
id String

The provider-assigned unique ID for this managed resource.

name String

Resource name.

provisioningState String

Provisioning status

systemData Property Map

Read only system data

type String

Resource type.

Supporting Types

SystemDataResponse

CreatedAt string

The timestamp of resource creation (UTC)

CreatedBy string

An identifier for 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

An identifier for 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

An identifier for 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

An identifier for 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

An identifier for 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

An identifier for 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

An identifier for 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

An identifier for 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

An identifier for 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

An identifier for 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

An identifier for 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

An identifier for 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:cdn:RuleSet ruleSet1 /subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1/rulesets/ruleSet1 

Package Details

Repository
https://github.com/pulumi/pulumi-azure-native
License
Apache-2.0