1. Packages
  2. Azure Native
  3. API Docs
  4. network
  5. NetworkExperimentProfile
Azure Native v1.103.0 published on Friday, Jun 2, 2023 by Pulumi

azure-native.network.NetworkExperimentProfile

Explore with Pulumi AI

azure-native logo
Azure Native v1.103.0 published on Friday, Jun 2, 2023 by Pulumi

    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:

    ResourceGroupName string

    Name of the Resource group within the Azure subscription.

    EnabledState string | Pulumi.AzureNative.Network.State

    The state of the Experiment

    Location string

    Resource location.

    Name string

    The name of the Profile

    ProfileName string

    The Profile identifier associated with the Tenant and Partner

    Tags Dictionary<string, string>

    Resource tags.

    ResourceGroupName string

    Name of the Resource group within the Azure subscription.

    EnabledState string | State

    The state of the Experiment

    Location string

    Resource location.

    Name string

    The name of the Profile

    ProfileName string

    The Profile identifier associated with the Tenant and Partner

    Tags map[string]string

    Resource tags.

    resourceGroupName String

    Name of the Resource group within the Azure subscription.

    enabledState String | State

    The state of the Experiment

    location String

    Resource location.

    name String

    The name of the Profile

    profileName String

    The Profile identifier associated with the Tenant and Partner

    tags Map<String,String>

    Resource tags.

    resourceGroupName string

    Name of the Resource group within the Azure subscription.

    enabledState string | State

    The state of the Experiment

    location string

    Resource location.

    name string

    The name of the Profile

    profileName string

    The Profile identifier associated with the Tenant and Partner

    tags {[key: string]: string}

    Resource tags.

    resource_group_name str

    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

    tags Mapping[str, str]

    Resource tags.

    resourceGroupName String

    Name of the Resource group within the Azure subscription.

    enabledState String | "Enabled" | "Disabled"

    The state of the Experiment

    location String

    Resource location.

    name String

    The name of the Profile

    profileName String

    The Profile identifier associated with the Tenant and Partner

    tags 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.

    ResourceState 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.

    ResourceState 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.

    resourceState 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.

    resourceState 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.

    resourceState 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
    StateEnabled
    Enabled
    StateDisabled
    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
    azure-native logo
    Azure Native v1.103.0 published on Friday, Jun 2, 2023 by Pulumi