azure-native.extendedlocation.ResourceSyncRule
Explore with Pulumi AI
Resource Sync Rules definition. Azure REST API version: 2021-08-31-preview. Prior API version in Azure Native 1.x: 2021-08-31-preview.
Example Usage
Create/Update Resource Sync Rule
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() => 
{
    var resourceSyncRule = new AzureNative.ExtendedLocation.ResourceSyncRule("resourceSyncRule", new()
    {
        ChildResourceName = "resourceSyncRule01",
        Location = "West US",
        Priority = 999,
        ResourceGroupName = "testresourcegroup",
        ResourceName = "customLocation01",
        Selector = new AzureNative.ExtendedLocation.Inputs.ResourceSyncRulePropertiesSelectorArgs
        {
            MatchLabels = 
            {
                { "key1", "value1" },
            },
        },
        TargetResourceGroup = "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/testresourcegroup",
    });
});
package main
import (
	extendedlocation "github.com/pulumi/pulumi-azure-native-sdk/extendedlocation/v2"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := extendedlocation.NewResourceSyncRule(ctx, "resourceSyncRule", &extendedlocation.ResourceSyncRuleArgs{
			ChildResourceName: pulumi.String("resourceSyncRule01"),
			Location:          pulumi.String("West US"),
			Priority:          pulumi.Int(999),
			ResourceGroupName: pulumi.String("testresourcegroup"),
			ResourceName:      pulumi.String("customLocation01"),
			Selector: &extendedlocation.ResourceSyncRulePropertiesSelectorArgs{
				MatchLabels: pulumi.StringMap{
					"key1": pulumi.String("value1"),
				},
			},
			TargetResourceGroup: pulumi.String("/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/testresourcegroup"),
		})
		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.extendedlocation.ResourceSyncRule;
import com.pulumi.azurenative.extendedlocation.ResourceSyncRuleArgs;
import com.pulumi.azurenative.extendedlocation.inputs.ResourceSyncRulePropertiesSelectorArgs;
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 resourceSyncRule = new ResourceSyncRule("resourceSyncRule", ResourceSyncRuleArgs.builder()
            .childResourceName("resourceSyncRule01")
            .location("West US")
            .priority(999)
            .resourceGroupName("testresourcegroup")
            .resourceName("customLocation01")
            .selector(ResourceSyncRulePropertiesSelectorArgs.builder()
                .matchLabels(Map.of("key1", "value1"))
                .build())
            .targetResourceGroup("/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/testresourcegroup")
            .build());
    }
}
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const resourceSyncRule = new azure_native.extendedlocation.ResourceSyncRule("resourceSyncRule", {
    childResourceName: "resourceSyncRule01",
    location: "West US",
    priority: 999,
    resourceGroupName: "testresourcegroup",
    resourceName: "customLocation01",
    selector: {
        matchLabels: {
            key1: "value1",
        },
    },
    targetResourceGroup: "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/testresourcegroup",
});
import pulumi
import pulumi_azure_native as azure_native
resource_sync_rule = azure_native.extendedlocation.ResourceSyncRule("resourceSyncRule",
    child_resource_name="resourceSyncRule01",
    location="West US",
    priority=999,
    resource_group_name="testresourcegroup",
    resource_name_="customLocation01",
    selector={
        "match_labels": {
            "key1": "value1",
        },
    },
    target_resource_group="/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/testresourcegroup")
resources:
  resourceSyncRule:
    type: azure-native:extendedlocation:ResourceSyncRule
    properties:
      childResourceName: resourceSyncRule01
      location: West US
      priority: 999
      resourceGroupName: testresourcegroup
      resourceName: customLocation01
      selector:
        matchLabels:
          key1: value1
      targetResourceGroup: /subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/testresourcegroup
Create ResourceSyncRule Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ResourceSyncRule(name: string, args: ResourceSyncRuleArgs, opts?: CustomResourceOptions);@overload
def ResourceSyncRule(resource_name: str,
                     args: ResourceSyncRuleArgs,
                     opts: Optional[ResourceOptions] = None)
@overload
def ResourceSyncRule(resource_name: str,
                     opts: Optional[ResourceOptions] = None,
                     resource_group_name: Optional[str] = None,
                     resource_name_: Optional[str] = None,
                     child_resource_name: Optional[str] = None,
                     location: Optional[str] = None,
                     priority: Optional[int] = None,
                     selector: Optional[ResourceSyncRulePropertiesSelectorArgs] = None,
                     tags: Optional[Mapping[str, str]] = None,
                     target_resource_group: Optional[str] = None)func NewResourceSyncRule(ctx *Context, name string, args ResourceSyncRuleArgs, opts ...ResourceOption) (*ResourceSyncRule, error)public ResourceSyncRule(string name, ResourceSyncRuleArgs args, CustomResourceOptions? opts = null)
public ResourceSyncRule(String name, ResourceSyncRuleArgs args)
public ResourceSyncRule(String name, ResourceSyncRuleArgs args, CustomResourceOptions options)
type: azure-native:extendedlocation:ResourceSyncRule
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 ResourceSyncRuleArgs
- 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 ResourceSyncRuleArgs
- 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 ResourceSyncRuleArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ResourceSyncRuleArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ResourceSyncRuleArgs
- 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 resourceSyncRuleResource = new AzureNative.ExtendedLocation.ResourceSyncRule("resourceSyncRuleResource", new()
{
    ResourceGroupName = "string",
    ResourceName = "string",
    ChildResourceName = "string",
    Location = "string",
    Priority = 0,
    Selector = new AzureNative.ExtendedLocation.Inputs.ResourceSyncRulePropertiesSelectorArgs
    {
        MatchLabels = 
        {
            { "string", "string" },
        },
    },
    Tags = 
    {
        { "string", "string" },
    },
    TargetResourceGroup = "string",
});
example, err := extendedlocation.NewResourceSyncRule(ctx, "resourceSyncRuleResource", &extendedlocation.ResourceSyncRuleArgs{
	ResourceGroupName: pulumi.String("string"),
	ResourceName:      pulumi.String("string"),
	ChildResourceName: pulumi.String("string"),
	Location:          pulumi.String("string"),
	Priority:          pulumi.Int(0),
	Selector: &extendedlocation.ResourceSyncRulePropertiesSelectorArgs{
		MatchLabels: pulumi.StringMap{
			"string": pulumi.String("string"),
		},
	},
	Tags: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
	TargetResourceGroup: pulumi.String("string"),
})
var resourceSyncRuleResource = new ResourceSyncRule("resourceSyncRuleResource", ResourceSyncRuleArgs.builder()
    .resourceGroupName("string")
    .resourceName("string")
    .childResourceName("string")
    .location("string")
    .priority(0)
    .selector(ResourceSyncRulePropertiesSelectorArgs.builder()
        .matchLabels(Map.of("string", "string"))
        .build())
    .tags(Map.of("string", "string"))
    .targetResourceGroup("string")
    .build());
resource_sync_rule_resource = azure_native.extendedlocation.ResourceSyncRule("resourceSyncRuleResource",
    resource_group_name="string",
    resource_name_="string",
    child_resource_name="string",
    location="string",
    priority=0,
    selector={
        "match_labels": {
            "string": "string",
        },
    },
    tags={
        "string": "string",
    },
    target_resource_group="string")
const resourceSyncRuleResource = new azure_native.extendedlocation.ResourceSyncRule("resourceSyncRuleResource", {
    resourceGroupName: "string",
    resourceName: "string",
    childResourceName: "string",
    location: "string",
    priority: 0,
    selector: {
        matchLabels: {
            string: "string",
        },
    },
    tags: {
        string: "string",
    },
    targetResourceGroup: "string",
});
type: azure-native:extendedlocation:ResourceSyncRule
properties:
    childResourceName: string
    location: string
    priority: 0
    resourceGroupName: string
    resourceName: string
    selector:
        matchLabels:
            string: string
    tags:
        string: string
    targetResourceGroup: string
ResourceSyncRule 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 ResourceSyncRule resource accepts the following input properties:
- ResourceGroup stringName 
- The name of the resource group. The name is case insensitive.
- ResourceName string
- Custom Locations name.
- ChildResource stringName 
- Resource Sync Rule name.
- Location string
- The geo-location where the resource lives
- Priority int
- Priority represents a priority of the Resource Sync Rule
- Selector
Pulumi.Azure Native. Extended Location. Inputs. Resource Sync Rule Properties Selector 
- A label selector is composed of two parts, matchLabels and matchExpressions. The first part, matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is 'key', the operator is 'In', and the values array contains only 'value'. The second part, matchExpressions is a list of resource selector requirements. Valid operators include In, NotIn, Exists, and DoesNotExist. The values set must be non-empty in the case of In and NotIn. The values set must be empty in the case of Exists and DoesNotExist. All of the requirements, from both matchLabels and matchExpressions must all be satisfied in order to match.
- Dictionary<string, string>
- Resource tags.
- TargetResource stringGroup 
- For an unmapped custom resource, its labels will be used to find matching resource sync rules. If this resource sync rule is one of the matching rules with highest priority, then the unmapped custom resource will be projected to the target resource group associated with this resource sync rule. The user creating this resource sync rule should have write permissions on the target resource group and this write permission will be validated when creating the resource sync rule.
- ResourceGroup stringName 
- The name of the resource group. The name is case insensitive.
- ResourceName string
- Custom Locations name.
- ChildResource stringName 
- Resource Sync Rule name.
- Location string
- The geo-location where the resource lives
- Priority int
- Priority represents a priority of the Resource Sync Rule
- Selector
ResourceSync Rule Properties Selector Args 
- A label selector is composed of two parts, matchLabels and matchExpressions. The first part, matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is 'key', the operator is 'In', and the values array contains only 'value'. The second part, matchExpressions is a list of resource selector requirements. Valid operators include In, NotIn, Exists, and DoesNotExist. The values set must be non-empty in the case of In and NotIn. The values set must be empty in the case of Exists and DoesNotExist. All of the requirements, from both matchLabels and matchExpressions must all be satisfied in order to match.
- map[string]string
- Resource tags.
- TargetResource stringGroup 
- For an unmapped custom resource, its labels will be used to find matching resource sync rules. If this resource sync rule is one of the matching rules with highest priority, then the unmapped custom resource will be projected to the target resource group associated with this resource sync rule. The user creating this resource sync rule should have write permissions on the target resource group and this write permission will be validated when creating the resource sync rule.
- resourceGroup StringName 
- The name of the resource group. The name is case insensitive.
- resourceName String
- Custom Locations name.
- childResource StringName 
- Resource Sync Rule name.
- location String
- The geo-location where the resource lives
- priority Integer
- Priority represents a priority of the Resource Sync Rule
- selector
ResourceSync Rule Properties Selector 
- A label selector is composed of two parts, matchLabels and matchExpressions. The first part, matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is 'key', the operator is 'In', and the values array contains only 'value'. The second part, matchExpressions is a list of resource selector requirements. Valid operators include In, NotIn, Exists, and DoesNotExist. The values set must be non-empty in the case of In and NotIn. The values set must be empty in the case of Exists and DoesNotExist. All of the requirements, from both matchLabels and matchExpressions must all be satisfied in order to match.
- Map<String,String>
- Resource tags.
- targetResource StringGroup 
- For an unmapped custom resource, its labels will be used to find matching resource sync rules. If this resource sync rule is one of the matching rules with highest priority, then the unmapped custom resource will be projected to the target resource group associated with this resource sync rule. The user creating this resource sync rule should have write permissions on the target resource group and this write permission will be validated when creating the resource sync rule.
- resourceGroup stringName 
- The name of the resource group. The name is case insensitive.
- resourceName string
- Custom Locations name.
- childResource stringName 
- Resource Sync Rule name.
- location string
- The geo-location where the resource lives
- priority number
- Priority represents a priority of the Resource Sync Rule
- selector
ResourceSync Rule Properties Selector 
- A label selector is composed of two parts, matchLabels and matchExpressions. The first part, matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is 'key', the operator is 'In', and the values array contains only 'value'. The second part, matchExpressions is a list of resource selector requirements. Valid operators include In, NotIn, Exists, and DoesNotExist. The values set must be non-empty in the case of In and NotIn. The values set must be empty in the case of Exists and DoesNotExist. All of the requirements, from both matchLabels and matchExpressions must all be satisfied in order to match.
- {[key: string]: string}
- Resource tags.
- targetResource stringGroup 
- For an unmapped custom resource, its labels will be used to find matching resource sync rules. If this resource sync rule is one of the matching rules with highest priority, then the unmapped custom resource will be projected to the target resource group associated with this resource sync rule. The user creating this resource sync rule should have write permissions on the target resource group and this write permission will be validated when creating the resource sync rule.
- resource_group_ strname 
- The name of the resource group. The name is case insensitive.
- resource_name str
- Custom Locations name.
- child_resource_ strname 
- Resource Sync Rule name.
- location str
- The geo-location where the resource lives
- priority int
- Priority represents a priority of the Resource Sync Rule
- selector
ResourceSync Rule Properties Selector Args 
- A label selector is composed of two parts, matchLabels and matchExpressions. The first part, matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is 'key', the operator is 'In', and the values array contains only 'value'. The second part, matchExpressions is a list of resource selector requirements. Valid operators include In, NotIn, Exists, and DoesNotExist. The values set must be non-empty in the case of In and NotIn. The values set must be empty in the case of Exists and DoesNotExist. All of the requirements, from both matchLabels and matchExpressions must all be satisfied in order to match.
- Mapping[str, str]
- Resource tags.
- target_resource_ strgroup 
- For an unmapped custom resource, its labels will be used to find matching resource sync rules. If this resource sync rule is one of the matching rules with highest priority, then the unmapped custom resource will be projected to the target resource group associated with this resource sync rule. The user creating this resource sync rule should have write permissions on the target resource group and this write permission will be validated when creating the resource sync rule.
- resourceGroup StringName 
- The name of the resource group. The name is case insensitive.
- resourceName String
- Custom Locations name.
- childResource StringName 
- Resource Sync Rule name.
- location String
- The geo-location where the resource lives
- priority Number
- Priority represents a priority of the Resource Sync Rule
- selector Property Map
- A label selector is composed of two parts, matchLabels and matchExpressions. The first part, matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is 'key', the operator is 'In', and the values array contains only 'value'. The second part, matchExpressions is a list of resource selector requirements. Valid operators include In, NotIn, Exists, and DoesNotExist. The values set must be non-empty in the case of In and NotIn. The values set must be empty in the case of Exists and DoesNotExist. All of the requirements, from both matchLabels and matchExpressions must all be satisfied in order to match.
- Map<String>
- Resource tags.
- targetResource StringGroup 
- For an unmapped custom resource, its labels will be used to find matching resource sync rules. If this resource sync rule is one of the matching rules with highest priority, then the unmapped custom resource will be projected to the target resource group associated with this resource sync rule. The user creating this resource sync rule should have write permissions on the target resource group and this write permission will be validated when creating the resource sync rule.
Outputs
All input properties are implicitly available as output properties. Additionally, the ResourceSyncRule resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- The name of the resource
- ProvisioningState string
- Provisioning State for the Resource Sync Rule.
- SystemData Pulumi.Azure Native. Extended Location. Outputs. System Data Response 
- Metadata pertaining to creation and last modification of the 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.
- Name string
- The name of the resource
- ProvisioningState string
- Provisioning State for the Resource Sync Rule.
- SystemData SystemData Response 
- Metadata pertaining to creation and last modification of the 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.
- name String
- The name of the resource
- provisioningState String
- Provisioning State for the Resource Sync Rule.
- systemData SystemData Response 
- Metadata pertaining to creation and last modification of the 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.
- name string
- The name of the resource
- provisioningState string
- Provisioning State for the Resource Sync Rule.
- systemData SystemData Response 
- Metadata pertaining to creation and last modification of the 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.
- name str
- The name of the resource
- provisioning_state str
- Provisioning State for the Resource Sync Rule.
- system_data SystemData Response 
- Metadata pertaining to creation and last modification of the 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.
- name String
- The name of the resource
- provisioningState String
- Provisioning State for the Resource Sync Rule.
- systemData Property Map
- Metadata pertaining to creation and last modification of the resource
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
Supporting Types
ResourceSyncRulePropertiesResponseSelector, ResourceSyncRulePropertiesResponseSelectorArgs            
- MatchLabels Dictionary<string, string>
- MatchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is 'key', the operator is 'In', and the values array contains only 'value'.
- MatchLabels map[string]string
- MatchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is 'key', the operator is 'In', and the values array contains only 'value'.
- matchLabels Map<String,String>
- MatchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is 'key', the operator is 'In', and the values array contains only 'value'.
- matchLabels {[key: string]: string}
- MatchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is 'key', the operator is 'In', and the values array contains only 'value'.
- match_labels Mapping[str, str]
- MatchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is 'key', the operator is 'In', and the values array contains only 'value'.
- matchLabels Map<String>
- MatchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is 'key', the operator is 'In', and the values array contains only 'value'.
ResourceSyncRulePropertiesSelector, ResourceSyncRulePropertiesSelectorArgs          
- MatchLabels Dictionary<string, string>
- MatchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is 'key', the operator is 'In', and the values array contains only 'value'.
- MatchLabels map[string]string
- MatchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is 'key', the operator is 'In', and the values array contains only 'value'.
- matchLabels Map<String,String>
- MatchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is 'key', the operator is 'In', and the values array contains only 'value'.
- matchLabels {[key: string]: string}
- MatchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is 'key', the operator is 'In', and the values array contains only 'value'.
- match_labels Mapping[str, str]
- MatchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is 'key', the operator is 'In', and the values array contains only 'value'.
- matchLabels Map<String>
- MatchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is 'key', the operator is 'In', and the values array contains only 'value'.
SystemDataResponse, SystemDataResponseArgs      
- CreatedAt string
- The timestamp of resource creation (UTC).
- CreatedBy string
- The identity that created the resource.
- CreatedBy stringType 
- The type of identity that created the resource.
- LastModified stringAt 
- The timestamp of resource last modification (UTC)
- LastModified stringBy 
- The identity that last modified the resource.
- LastModified stringBy Type 
- 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.
- CreatedBy stringType 
- The type of identity that created the resource.
- LastModified stringAt 
- The timestamp of resource last modification (UTC)
- LastModified stringBy 
- The identity that last modified the resource.
- LastModified stringBy Type 
- 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.
- createdBy StringType 
- The type of identity that created the resource.
- lastModified StringAt 
- The timestamp of resource last modification (UTC)
- lastModified StringBy 
- The identity that last modified the resource.
- lastModified StringBy Type 
- 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.
- createdBy stringType 
- The type of identity that created the resource.
- lastModified stringAt 
- The timestamp of resource last modification (UTC)
- lastModified stringBy 
- The identity that last modified the resource.
- lastModified 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.
- createdAt String
- The timestamp of resource creation (UTC).
- createdBy String
- The identity that created the resource.
- createdBy StringType 
- The type of identity that created the resource.
- lastModified StringAt 
- The timestamp of resource last modification (UTC)
- lastModified StringBy 
- The identity that last modified the resource.
- lastModified 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:extendedlocation:ResourceSyncRule resourceSyncRule01 /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ExtendedLocation/customLocations/{resourceName}/resourceSyncRules/{childResourceName} 
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0