Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LoadTest ¶
type LoadTest struct { pulumi.CustomResourceState // Public URI of the Data Plane. DataplaneUri pulumi.StringOutput `pulumi:"dataplaneUri"` // The Azure Region where the Load Test should exist. Changing this forces a new Load Test to be created. Location pulumi.StringOutput `pulumi:"location"` // The name which should be used for this Load Test. Changing this forces a new Load Test to be created. Name pulumi.StringOutput `pulumi:"name"` // The name of the Resource Group where the Load Test should exist. Changing this forces a new Load Test to be created. ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"` // A mapping of tags which should be assigned to the Load Test. Tags pulumi.StringMapOutput `pulumi:"tags"` }
Manages a Load Test.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/core" "github.com/pulumi/pulumi-azure/sdk/v4/go/azure/loadtest" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{ Location: pulumi.String("West Europe"), }) if err != nil { return err } _, err = loadtest.NewLoadTest(ctx, "exampleLoadTest", &loadtest.LoadTestArgs{ ResourceGroupName: exampleResourceGroup.Name, Location: pulumi.String("West Europe"), }) if err != nil { return err } return nil }) }
```
## Import
Load tests can be imported using the `resource id`, e.g.
```sh
$ pulumi import azure:loadtest/loadTest:LoadTest example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.LoadTestService/loadtests/example
```
func GetLoadTest ¶
func GetLoadTest(ctx *pulumi.Context, name string, id pulumi.IDInput, state *LoadTestState, opts ...pulumi.ResourceOption) (*LoadTest, error)
GetLoadTest gets an existing LoadTest resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewLoadTest ¶
func NewLoadTest(ctx *pulumi.Context, name string, args *LoadTestArgs, opts ...pulumi.ResourceOption) (*LoadTest, error)
NewLoadTest registers a new resource with the given unique name, arguments, and options.
func (*LoadTest) ElementType ¶
func (*LoadTest) ToLoadTestOutput ¶
func (i *LoadTest) ToLoadTestOutput() LoadTestOutput
func (*LoadTest) ToLoadTestOutputWithContext ¶
func (i *LoadTest) ToLoadTestOutputWithContext(ctx context.Context) LoadTestOutput
type LoadTestArgs ¶
type LoadTestArgs struct { // The Azure Region where the Load Test should exist. Changing this forces a new Load Test to be created. Location pulumi.StringPtrInput // The name which should be used for this Load Test. Changing this forces a new Load Test to be created. Name pulumi.StringPtrInput // The name of the Resource Group where the Load Test should exist. Changing this forces a new Load Test to be created. ResourceGroupName pulumi.StringInput // A mapping of tags which should be assigned to the Load Test. Tags pulumi.StringMapInput }
The set of arguments for constructing a LoadTest resource.
func (LoadTestArgs) ElementType ¶
func (LoadTestArgs) ElementType() reflect.Type
type LoadTestArray ¶
type LoadTestArray []LoadTestInput
func (LoadTestArray) ElementType ¶
func (LoadTestArray) ElementType() reflect.Type
func (LoadTestArray) ToLoadTestArrayOutput ¶
func (i LoadTestArray) ToLoadTestArrayOutput() LoadTestArrayOutput
func (LoadTestArray) ToLoadTestArrayOutputWithContext ¶
func (i LoadTestArray) ToLoadTestArrayOutputWithContext(ctx context.Context) LoadTestArrayOutput
type LoadTestArrayInput ¶
type LoadTestArrayInput interface { pulumi.Input ToLoadTestArrayOutput() LoadTestArrayOutput ToLoadTestArrayOutputWithContext(context.Context) LoadTestArrayOutput }
LoadTestArrayInput is an input type that accepts LoadTestArray and LoadTestArrayOutput values. You can construct a concrete instance of `LoadTestArrayInput` via:
LoadTestArray{ LoadTestArgs{...} }
type LoadTestArrayOutput ¶
type LoadTestArrayOutput struct{ *pulumi.OutputState }
func (LoadTestArrayOutput) ElementType ¶
func (LoadTestArrayOutput) ElementType() reflect.Type
func (LoadTestArrayOutput) Index ¶
func (o LoadTestArrayOutput) Index(i pulumi.IntInput) LoadTestOutput
func (LoadTestArrayOutput) ToLoadTestArrayOutput ¶
func (o LoadTestArrayOutput) ToLoadTestArrayOutput() LoadTestArrayOutput
func (LoadTestArrayOutput) ToLoadTestArrayOutputWithContext ¶
func (o LoadTestArrayOutput) ToLoadTestArrayOutputWithContext(ctx context.Context) LoadTestArrayOutput
type LoadTestInput ¶
type LoadTestInput interface { pulumi.Input ToLoadTestOutput() LoadTestOutput ToLoadTestOutputWithContext(ctx context.Context) LoadTestOutput }
type LoadTestMap ¶
type LoadTestMap map[string]LoadTestInput
func (LoadTestMap) ElementType ¶
func (LoadTestMap) ElementType() reflect.Type
func (LoadTestMap) ToLoadTestMapOutput ¶
func (i LoadTestMap) ToLoadTestMapOutput() LoadTestMapOutput
func (LoadTestMap) ToLoadTestMapOutputWithContext ¶
func (i LoadTestMap) ToLoadTestMapOutputWithContext(ctx context.Context) LoadTestMapOutput
type LoadTestMapInput ¶
type LoadTestMapInput interface { pulumi.Input ToLoadTestMapOutput() LoadTestMapOutput ToLoadTestMapOutputWithContext(context.Context) LoadTestMapOutput }
LoadTestMapInput is an input type that accepts LoadTestMap and LoadTestMapOutput values. You can construct a concrete instance of `LoadTestMapInput` via:
LoadTestMap{ "key": LoadTestArgs{...} }
type LoadTestMapOutput ¶
type LoadTestMapOutput struct{ *pulumi.OutputState }
func (LoadTestMapOutput) ElementType ¶
func (LoadTestMapOutput) ElementType() reflect.Type
func (LoadTestMapOutput) MapIndex ¶
func (o LoadTestMapOutput) MapIndex(k pulumi.StringInput) LoadTestOutput
func (LoadTestMapOutput) ToLoadTestMapOutput ¶
func (o LoadTestMapOutput) ToLoadTestMapOutput() LoadTestMapOutput
func (LoadTestMapOutput) ToLoadTestMapOutputWithContext ¶
func (o LoadTestMapOutput) ToLoadTestMapOutputWithContext(ctx context.Context) LoadTestMapOutput
type LoadTestOutput ¶
type LoadTestOutput struct{ *pulumi.OutputState }
func (LoadTestOutput) ElementType ¶
func (LoadTestOutput) ElementType() reflect.Type
func (LoadTestOutput) ToLoadTestOutput ¶
func (o LoadTestOutput) ToLoadTestOutput() LoadTestOutput
func (LoadTestOutput) ToLoadTestOutputWithContext ¶
func (o LoadTestOutput) ToLoadTestOutputWithContext(ctx context.Context) LoadTestOutput
type LoadTestState ¶
type LoadTestState struct { // Public URI of the Data Plane. DataplaneUri pulumi.StringPtrInput // The Azure Region where the Load Test should exist. Changing this forces a new Load Test to be created. Location pulumi.StringPtrInput // The name which should be used for this Load Test. Changing this forces a new Load Test to be created. Name pulumi.StringPtrInput // The name of the Resource Group where the Load Test should exist. Changing this forces a new Load Test to be created. ResourceGroupName pulumi.StringPtrInput // A mapping of tags which should be assigned to the Load Test. Tags pulumi.StringMapInput }
func (LoadTestState) ElementType ¶
func (LoadTestState) ElementType() reflect.Type