azure-native.frontdoor.NetworkExperimentProfile
Explore with Pulumi AI
Defines an Network Experiment Profile and lists of Experiments
Uses Azure REST API version 2019-11-01.
Create NetworkExperimentProfile Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new NetworkExperimentProfile(name: string, args: NetworkExperimentProfileArgs, opts?: CustomResourceOptions);
@overload
def NetworkExperimentProfile(resource_name: str,
args: NetworkExperimentProfileArgs,
opts: Optional[ResourceOptions] = None)
@overload
def NetworkExperimentProfile(resource_name: str,
opts: Optional[ResourceOptions] = None,
resource_group_name: Optional[str] = None,
enabled_state: Optional[Union[str, State]] = None,
location: Optional[str] = None,
name: Optional[str] = None,
profile_name: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None)
func NewNetworkExperimentProfile(ctx *Context, name string, args NetworkExperimentProfileArgs, opts ...ResourceOption) (*NetworkExperimentProfile, error)
public NetworkExperimentProfile(string name, NetworkExperimentProfileArgs args, CustomResourceOptions? opts = null)
public NetworkExperimentProfile(String name, NetworkExperimentProfileArgs args)
public NetworkExperimentProfile(String name, NetworkExperimentProfileArgs args, CustomResourceOptions options)
type: azure-native:frontdoor:NetworkExperimentProfile
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name
This property is required. string - The unique name of the resource.
- args
This property is required. NetworkExperimentProfileArgs - The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name
This property is required. str - The unique name of the resource.
- args
This property is required. NetworkExperimentProfileArgs - The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name
This property is required. string - The unique name of the resource.
- args
This property is required. NetworkExperimentProfileArgs - The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name
This property is required. string - The unique name of the resource.
- args
This property is required. NetworkExperimentProfileArgs - The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name
This property is required. String - The unique name of the resource.
- args
This property is required. NetworkExperimentProfileArgs - 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 networkExperimentProfileResource = new AzureNative.FrontDoor.NetworkExperimentProfile("networkExperimentProfileResource", new()
{
ResourceGroupName = "string",
EnabledState = "string",
Location = "string",
Name = "string",
ProfileName = "string",
Tags =
{
{ "string", "string" },
},
});
example, err := frontdoor.NewNetworkExperimentProfile(ctx, "networkExperimentProfileResource", &frontdoor.NetworkExperimentProfileArgs{
ResourceGroupName: pulumi.String("string"),
EnabledState: pulumi.String("string"),
Location: pulumi.String("string"),
Name: pulumi.String("string"),
ProfileName: pulumi.String("string"),
Tags: pulumi.StringMap{
"string": pulumi.String("string"),
},
})
var networkExperimentProfileResource = new NetworkExperimentProfile("networkExperimentProfileResource", NetworkExperimentProfileArgs.builder()
.resourceGroupName("string")
.enabledState("string")
.location("string")
.name("string")
.profileName("string")
.tags(Map.of("string", "string"))
.build());
network_experiment_profile_resource = azure_native.frontdoor.NetworkExperimentProfile("networkExperimentProfileResource",
resource_group_name="string",
enabled_state="string",
location="string",
name="string",
profile_name="string",
tags={
"string": "string",
})
const networkExperimentProfileResource = new azure_native.frontdoor.NetworkExperimentProfile("networkExperimentProfileResource", {
resourceGroupName: "string",
enabledState: "string",
location: "string",
name: "string",
profileName: "string",
tags: {
string: "string",
},
});
type: azure-native:frontdoor:NetworkExperimentProfile
properties:
enabledState: string
location: string
name: string
profileName: string
resourceGroupName: string
tags:
string: string
NetworkExperimentProfile 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 NetworkExperimentProfile resource accepts the following input properties:
- Resource
Group Name This property is required. Changes to this property will trigger replacement.
- Name of the Resource group within the Azure subscription.
- Enabled
State string | Pulumi.Azure Native. Front Door. State - The state of the Experiment
- Location string
- Resource location.
- Name string
- The name of the Profile
- Profile
Name Changes to this property will trigger replacement.
- The Profile identifier associated with the Tenant and Partner
- Dictionary<string, string>
- Resource tags.
- Resource
Group Name This property is required. Changes to this property will trigger replacement.
- Name of the Resource group within the Azure subscription.
- Enabled
State string | State - The state of the Experiment
- Location string
- Resource location.
- Name string
- The name of the Profile
- Profile
Name Changes to this property will trigger replacement.
- The Profile identifier associated with the Tenant and Partner
- map[string]string
- Resource tags.
- resource
Group Name This property is required. Changes to this property will trigger replacement.
- Name of the Resource group within the Azure subscription.
- enabled
State String | State - The state of the Experiment
- location String
- Resource location.
- name String
- The name of the Profile
- profile
Name Changes to this property will trigger replacement.
- The Profile identifier associated with the Tenant and Partner
- Map<String,String>
- Resource tags.
- resource
Group Name This property is required. Changes to this property will trigger replacement.
- Name of the Resource group within the Azure subscription.
- enabled
State string | State - The state of the Experiment
- location string
- Resource location.
- name string
- The name of the Profile
- profile
Name Changes to this property will trigger replacement.
- The Profile identifier associated with the Tenant and Partner
- {[key: string]: string}
- Resource tags.
- resource_
group_ name This property is required. Changes to this property will trigger replacement.
- Name of the Resource group within the Azure subscription.
- enabled_
state str | State - The state of the Experiment
- location str
- Resource location.
- name str
- The name of the Profile
- profile_
name Changes to this property will trigger replacement.
- The Profile identifier associated with the Tenant and Partner
- Mapping[str, str]
- Resource tags.
- resource
Group Name This property is required. Changes to this property will trigger replacement.
- Name of the Resource group within the Azure subscription.
- enabled
State String | "Enabled" | "Disabled" - The state of the Experiment
- location String
- Resource location.
- name String
- The name of the Profile
- profile
Name Changes to this property will trigger replacement.
- The Profile identifier associated with the Tenant and Partner
- Map<String>
- Resource tags.
Outputs
All input properties are implicitly available as output properties. Additionally, the NetworkExperimentProfile 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.
- Resource
State string - Resource status.
- Type string
- Resource type.
- Etag string
- Gets a unique read-only string that changes whenever the resource is updated.
- Azure
Api stringVersion - The Azure API version of the resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- Resource
State string - Resource status.
- Type string
- Resource type.
- Etag string
- Gets a unique read-only string that changes whenever the resource is updated.
- azure
Api StringVersion - The Azure API version of the resource.
- id String
- The provider-assigned unique ID for this managed resource.
- resource
State String - Resource status.
- type String
- Resource type.
- etag String
- Gets a unique read-only string that changes whenever the resource is updated.
- azure
Api stringVersion - The Azure API version of the resource.
- id string
- The provider-assigned unique ID for this managed resource.
- resource
State string - Resource status.
- type string
- Resource type.
- etag string
- Gets a unique read-only string that changes whenever the resource is updated.
- azure_
api_ strversion - The Azure API version of the resource.
- id str
- The provider-assigned unique ID for this managed resource.
- resource_
state str - Resource status.
- type str
- Resource type.
- etag str
- Gets a unique read-only string that changes whenever the resource is updated.
- azure
Api StringVersion - The Azure API version of the resource.
- id String
- The provider-assigned unique ID for this managed resource.
- resource
State String - Resource status.
- type String
- Resource type.
- etag String
- Gets a unique read-only string that changes whenever the resource is updated.
Supporting Types
State, StateArgs
- Enabled
- Enabled
- Disabled
- Disabled
- State
Enabled - Enabled
- State
Disabled - Disabled
- Enabled
- Enabled
- Disabled
- Disabled
- Enabled
- Enabled
- Disabled
- Disabled
- ENABLED
- Enabled
- DISABLED
- Disabled
- "Enabled"
- Enabled
- "Disabled"
- Disabled
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:frontdoor:NetworkExperimentProfile MyProfile /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/NetworkExperimentProfiles/{profileName}
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0