azure-native.frontdoor.Experiment
Explore with Pulumi AI
Defines the properties of an Experiment
Uses Azure REST API version 2019-11-01.
Create Experiment Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Experiment(name: string, args: ExperimentArgs, opts?: CustomResourceOptions);
@overload
def Experiment(resource_name: str,
args: ExperimentArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Experiment(resource_name: str,
opts: Optional[ResourceOptions] = None,
profile_name: Optional[str] = None,
resource_group_name: Optional[str] = None,
description: Optional[str] = None,
enabled_state: Optional[Union[str, State]] = None,
endpoint_a: Optional[EndpointArgs] = None,
endpoint_b: Optional[EndpointArgs] = None,
experiment_name: Optional[str] = None,
location: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None)
func NewExperiment(ctx *Context, name string, args ExperimentArgs, opts ...ResourceOption) (*Experiment, error)
public Experiment(string name, ExperimentArgs args, CustomResourceOptions? opts = null)
public Experiment(String name, ExperimentArgs args)
public Experiment(String name, ExperimentArgs args, CustomResourceOptions options)
type: azure-native:frontdoor:Experiment
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. ExperimentArgs - 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. ExperimentArgs - 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. ExperimentArgs - 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. ExperimentArgs - 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. ExperimentArgs - 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 azure_nativeExperimentResource = new AzureNative.FrontDoor.Experiment("azure-nativeExperimentResource", new()
{
ProfileName = "string",
ResourceGroupName = "string",
Description = "string",
EnabledState = "string",
EndpointA = new AzureNative.FrontDoor.Inputs.EndpointArgs
{
Endpoint = "string",
Name = "string",
},
EndpointB = new AzureNative.FrontDoor.Inputs.EndpointArgs
{
Endpoint = "string",
Name = "string",
},
ExperimentName = "string",
Location = "string",
Tags =
{
{ "string", "string" },
},
});
example, err := frontdoor.NewExperiment(ctx, "azure-nativeExperimentResource", &frontdoor.ExperimentArgs{
ProfileName: pulumi.String("string"),
ResourceGroupName: pulumi.String("string"),
Description: pulumi.String("string"),
EnabledState: pulumi.String("string"),
EndpointA: &frontdoor.EndpointArgs{
Endpoint: pulumi.String("string"),
Name: pulumi.String("string"),
},
EndpointB: &frontdoor.EndpointArgs{
Endpoint: pulumi.String("string"),
Name: pulumi.String("string"),
},
ExperimentName: pulumi.String("string"),
Location: pulumi.String("string"),
Tags: pulumi.StringMap{
"string": pulumi.String("string"),
},
})
var azure_nativeExperimentResource = new Experiment("azure-nativeExperimentResource", ExperimentArgs.builder()
.profileName("string")
.resourceGroupName("string")
.description("string")
.enabledState("string")
.endpointA(EndpointArgs.builder()
.endpoint("string")
.name("string")
.build())
.endpointB(EndpointArgs.builder()
.endpoint("string")
.name("string")
.build())
.experimentName("string")
.location("string")
.tags(Map.of("string", "string"))
.build());
azure_native_experiment_resource = azure_native.frontdoor.Experiment("azure-nativeExperimentResource",
profile_name="string",
resource_group_name="string",
description="string",
enabled_state="string",
endpoint_a={
"endpoint": "string",
"name": "string",
},
endpoint_b={
"endpoint": "string",
"name": "string",
},
experiment_name="string",
location="string",
tags={
"string": "string",
})
const azure_nativeExperimentResource = new azure_native.frontdoor.Experiment("azure-nativeExperimentResource", {
profileName: "string",
resourceGroupName: "string",
description: "string",
enabledState: "string",
endpointA: {
endpoint: "string",
name: "string",
},
endpointB: {
endpoint: "string",
name: "string",
},
experimentName: "string",
location: "string",
tags: {
string: "string",
},
});
type: azure-native:frontdoor:Experiment
properties:
description: string
enabledState: string
endpointA:
endpoint: string
name: string
endpointB:
endpoint: string
name: string
experimentName: string
location: string
profileName: string
resourceGroupName: string
tags:
string: string
Experiment 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 Experiment resource accepts the following input properties:
- Profile
Name This property is required. Changes to this property will trigger replacement.
- The Profile identifier associated with the Tenant and Partner
- Resource
Group Name This property is required. Changes to this property will trigger replacement.
- Name of the Resource group within the Azure subscription.
- Description string
- The description of the details or intents of the Experiment
- Enabled
State string | Pulumi.Azure Native. Front Door. State - The state of the Experiment
- Endpoint
A Pulumi.Azure Native. Front Door. Inputs. Endpoint - The endpoint A of an experiment
- Endpoint
B Pulumi.Azure Native. Front Door. Inputs. Endpoint - The endpoint B of an experiment
- Experiment
Name Changes to this property will trigger replacement.
- The Experiment identifier associated with the Experiment
- Location string
- Resource location.
- Dictionary<string, string>
- Resource tags.
- Profile
Name This property is required. Changes to this property will trigger replacement.
- The Profile identifier associated with the Tenant and Partner
- Resource
Group Name This property is required. Changes to this property will trigger replacement.
- Name of the Resource group within the Azure subscription.
- Description string
- The description of the details or intents of the Experiment
- Enabled
State string | State - The state of the Experiment
- Endpoint
A EndpointArgs - The endpoint A of an experiment
- Endpoint
B EndpointArgs - The endpoint B of an experiment
- Experiment
Name Changes to this property will trigger replacement.
- The Experiment identifier associated with the Experiment
- Location string
- Resource location.
- map[string]string
- Resource tags.
- profile
Name This property is required. Changes to this property will trigger replacement.
- The Profile identifier associated with the Tenant and Partner
- resource
Group Name This property is required. Changes to this property will trigger replacement.
- Name of the Resource group within the Azure subscription.
- description String
- The description of the details or intents of the Experiment
- enabled
State String | State - The state of the Experiment
- endpoint
A Endpoint - The endpoint A of an experiment
- endpoint
B Endpoint - The endpoint B of an experiment
- experiment
Name Changes to this property will trigger replacement.
- The Experiment identifier associated with the Experiment
- location String
- Resource location.
- Map<String,String>
- Resource tags.
- profile
Name This property is required. Changes to this property will trigger replacement.
- The Profile identifier associated with the Tenant and Partner
- resource
Group Name This property is required. Changes to this property will trigger replacement.
- Name of the Resource group within the Azure subscription.
- description string
- The description of the details or intents of the Experiment
- enabled
State string | State - The state of the Experiment
- endpoint
A Endpoint - The endpoint A of an experiment
- endpoint
B Endpoint - The endpoint B of an experiment
- experiment
Name Changes to this property will trigger replacement.
- The Experiment identifier associated with the Experiment
- location string
- Resource location.
- {[key: string]: string}
- Resource tags.
- profile_
name This property is required. Changes to this property will trigger replacement.
- The Profile identifier associated with the Tenant and Partner
- resource_
group_ name This property is required. Changes to this property will trigger replacement.
- Name of the Resource group within the Azure subscription.
- description str
- The description of the details or intents of the Experiment
- enabled_
state str | State - The state of the Experiment
- endpoint_
a EndpointArgs - The endpoint A of an experiment
- endpoint_
b EndpointArgs - The endpoint B of an experiment
- experiment_
name Changes to this property will trigger replacement.
- The Experiment identifier associated with the Experiment
- location str
- Resource location.
- Mapping[str, str]
- Resource tags.
- profile
Name This property is required. Changes to this property will trigger replacement.
- The Profile identifier associated with the Tenant and Partner
- resource
Group Name This property is required. Changes to this property will trigger replacement.
- Name of the Resource group within the Azure subscription.
- description String
- The description of the details or intents of the Experiment
- enabled
State String | "Enabled" | "Disabled" - The state of the Experiment
- endpoint
A Property Map - The endpoint A of an experiment
- endpoint
B Property Map - The endpoint B of an experiment
- experiment
Name Changes to this property will trigger replacement.
- The Experiment identifier associated with the Experiment
- location String
- Resource location.
- Map<String>
- Resource tags.
Outputs
All input properties are implicitly available as output properties. Additionally, the Experiment 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.
- Name string
- Resource name.
- Resource
State string - Resource status.
- Script
File stringUri - The uri to the Script used in the Experiment
- Status string
- The description of Experiment status from the server side
- Type string
- Resource type.
- Azure
Api stringVersion - The Azure API version of the resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- Resource name.
- Resource
State string - Resource status.
- Script
File stringUri - The uri to the Script used in the Experiment
- Status string
- The description of Experiment status from the server side
- Type string
- Resource type.
- azure
Api StringVersion - The Azure API version of the resource.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- Resource name.
- resource
State String - Resource status.
- script
File StringUri - The uri to the Script used in the Experiment
- status String
- The description of Experiment status from the server side
- type String
- Resource type.
- azure
Api stringVersion - The Azure API version of the resource.
- id string
- The provider-assigned unique ID for this managed resource.
- name string
- Resource name.
- resource
State string - Resource status.
- script
File stringUri - The uri to the Script used in the Experiment
- status string
- The description of Experiment status from the server side
- type string
- Resource type.
- azure_
api_ strversion - The Azure API version of the resource.
- id str
- The provider-assigned unique ID for this managed resource.
- name str
- Resource name.
- resource_
state str - Resource status.
- script_
file_ struri - The uri to the Script used in the Experiment
- status str
- The description of Experiment status from the server side
- type str
- Resource type.
- azure
Api StringVersion - The Azure API version of the resource.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- Resource name.
- resource
State String - Resource status.
- script
File StringUri - The uri to the Script used in the Experiment
- status String
- The description of Experiment status from the server side
- type String
- Resource type.
Supporting Types
Endpoint, EndpointArgs
EndpointResponse, EndpointResponseArgs
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:Experiment MyExperiment /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/NetworkExperimentProfiles/{profileName}/Experiments/{experimentName}
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0