azure-native.network.NetworkExperimentProfile
Explore with Pulumi AI
Defines an Network Experiment Profile and lists of Experiments API Version: 2019-11-01.
Example Usage
Creates an NetworkExperiment Profile in a Resource Group
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var networkExperimentProfile = new AzureNative.Network.NetworkExperimentProfile("networkExperimentProfile", new()
{
EnabledState = "Enabled",
Location = "WestUs",
ProfileName = "MyProfile",
ResourceGroupName = "MyResourceGroup",
});
});
package main
import (
network "github.com/pulumi/pulumi-azure-native-sdk/network"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := network.NewNetworkExperimentProfile(ctx, "networkExperimentProfile", &network.NetworkExperimentProfileArgs{
EnabledState: pulumi.String("Enabled"),
Location: pulumi.String("WestUs"),
ProfileName: pulumi.String("MyProfile"),
ResourceGroupName: pulumi.String("MyResourceGroup"),
})
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.network.NetworkExperimentProfile;
import com.pulumi.azurenative.network.NetworkExperimentProfileArgs;
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 networkExperimentProfile = new NetworkExperimentProfile("networkExperimentProfile", NetworkExperimentProfileArgs.builder()
.enabledState("Enabled")
.location("WestUs")
.profileName("MyProfile")
.resourceGroupName("MyResourceGroup")
.build());
}
}
import pulumi
import pulumi_azure_native as azure_native
network_experiment_profile = azure_native.network.NetworkExperimentProfile("networkExperimentProfile",
enabled_state="Enabled",
location="WestUs",
profile_name="MyProfile",
resource_group_name="MyResourceGroup")
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const networkExperimentProfile = new azure_native.network.NetworkExperimentProfile("networkExperimentProfile", {
enabledState: "Enabled",
location: "WestUs",
profileName: "MyProfile",
resourceGroupName: "MyResourceGroup",
});
resources:
networkExperimentProfile:
type: azure-native:network:NetworkExperimentProfile
properties:
enabledState: Enabled
location: WestUs
profileName: MyProfile
resourceGroupName: MyResourceGroup
Create NetworkExperimentProfile Resource
new NetworkExperimentProfile(name: string, args: NetworkExperimentProfileArgs, opts?: CustomResourceOptions);
@overload
def NetworkExperimentProfile(resource_name: str,
opts: Optional[ResourceOptions] = None,
enabled_state: Optional[Union[str, State]] = None,
location: Optional[str] = None,
name: Optional[str] = None,
profile_name: Optional[str] = None,
resource_group_name: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None)
@overload
def NetworkExperimentProfile(resource_name: str,
args: NetworkExperimentProfileArgs,
opts: Optional[ResourceOptions] = 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:network:NetworkExperimentProfile
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args NetworkExperimentProfileArgs
- 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 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 string
- The unique name of the resource.
- args NetworkExperimentProfileArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args NetworkExperimentProfileArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args NetworkExperimentProfileArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
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
The NetworkExperimentProfile resource accepts the following input properties:
- Resource
Group stringName Name of the Resource group within the Azure subscription.
- Enabled
State string | Pulumi.Azure Native. Network. State The state of the Experiment
- Location string
Resource location.
- Name string
The name of the Profile
- Profile
Name string The Profile identifier associated with the Tenant and Partner
- Dictionary<string, string>
Resource tags.
- Resource
Group stringName 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 string The Profile identifier associated with the Tenant and Partner
- map[string]string
Resource tags.
- resource
Group StringName 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 String The Profile identifier associated with the Tenant and Partner
- Map<String,String>
Resource tags.
- resource
Group stringName 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 string The Profile identifier associated with the Tenant and Partner
- {[key: string]: string}
Resource tags.
- resource_
group_ strname 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 str The Profile identifier associated with the Tenant and Partner
- Mapping[str, str]
Resource tags.
- resource
Group StringName 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 String 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:
- 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.
- 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.
- 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.
- 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.
- 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.
- 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
- 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:network:NetworkExperimentProfile MyProfile /subscriptions/subid/resourceGroups/MyResourceGroup/providers/Microsoft.Network/NetworkExperimentProfiles/MyProfile
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0