Documentation ¶
Index ¶
- type LoadTest
- type LoadTestArgs
- type LoadTestArray
- type LoadTestArrayInput
- type LoadTestArrayOutput
- func (LoadTestArrayOutput) ElementType() reflect.Type
- func (o LoadTestArrayOutput) Index(i pulumi.IntInput) LoadTestOutput
- func (o LoadTestArrayOutput) ToLoadTestArrayOutput() LoadTestArrayOutput
- func (o LoadTestArrayOutput) ToLoadTestArrayOutputWithContext(ctx context.Context) LoadTestArrayOutput
- func (o LoadTestArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*LoadTest]
- type LoadTestIdentity
- type LoadTestIdentityArgs
- func (LoadTestIdentityArgs) ElementType() reflect.Type
- func (i LoadTestIdentityArgs) ToLoadTestIdentityOutput() LoadTestIdentityOutput
- func (i LoadTestIdentityArgs) ToLoadTestIdentityOutputWithContext(ctx context.Context) LoadTestIdentityOutput
- func (i LoadTestIdentityArgs) ToLoadTestIdentityPtrOutput() LoadTestIdentityPtrOutput
- func (i LoadTestIdentityArgs) ToLoadTestIdentityPtrOutputWithContext(ctx context.Context) LoadTestIdentityPtrOutput
- func (i LoadTestIdentityArgs) ToOutput(ctx context.Context) pulumix.Output[LoadTestIdentity]
- type LoadTestIdentityInput
- type LoadTestIdentityOutput
- func (LoadTestIdentityOutput) ElementType() reflect.Type
- func (o LoadTestIdentityOutput) IdentityIds() pulumi.StringArrayOutput
- func (o LoadTestIdentityOutput) PrincipalId() pulumi.StringPtrOutput
- func (o LoadTestIdentityOutput) TenantId() pulumi.StringPtrOutput
- func (o LoadTestIdentityOutput) ToLoadTestIdentityOutput() LoadTestIdentityOutput
- func (o LoadTestIdentityOutput) ToLoadTestIdentityOutputWithContext(ctx context.Context) LoadTestIdentityOutput
- func (o LoadTestIdentityOutput) ToLoadTestIdentityPtrOutput() LoadTestIdentityPtrOutput
- func (o LoadTestIdentityOutput) ToLoadTestIdentityPtrOutputWithContext(ctx context.Context) LoadTestIdentityPtrOutput
- func (o LoadTestIdentityOutput) ToOutput(ctx context.Context) pulumix.Output[LoadTestIdentity]
- func (o LoadTestIdentityOutput) Type() pulumi.StringOutput
- type LoadTestIdentityPtrInput
- type LoadTestIdentityPtrOutput
- func (o LoadTestIdentityPtrOutput) Elem() LoadTestIdentityOutput
- func (LoadTestIdentityPtrOutput) ElementType() reflect.Type
- func (o LoadTestIdentityPtrOutput) IdentityIds() pulumi.StringArrayOutput
- func (o LoadTestIdentityPtrOutput) PrincipalId() pulumi.StringPtrOutput
- func (o LoadTestIdentityPtrOutput) TenantId() pulumi.StringPtrOutput
- func (o LoadTestIdentityPtrOutput) ToLoadTestIdentityPtrOutput() LoadTestIdentityPtrOutput
- func (o LoadTestIdentityPtrOutput) ToLoadTestIdentityPtrOutputWithContext(ctx context.Context) LoadTestIdentityPtrOutput
- func (o LoadTestIdentityPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*LoadTestIdentity]
- func (o LoadTestIdentityPtrOutput) Type() pulumi.StringPtrOutput
- type LoadTestInput
- type LoadTestMap
- type LoadTestMapInput
- type LoadTestMapOutput
- func (LoadTestMapOutput) ElementType() reflect.Type
- func (o LoadTestMapOutput) MapIndex(k pulumi.StringInput) LoadTestOutput
- func (o LoadTestMapOutput) ToLoadTestMapOutput() LoadTestMapOutput
- func (o LoadTestMapOutput) ToLoadTestMapOutputWithContext(ctx context.Context) LoadTestMapOutput
- func (o LoadTestMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*LoadTest]
- type LoadTestOutput
- func (o LoadTestOutput) DataPlaneUri() pulumi.StringOutput
- func (o LoadTestOutput) Description() pulumi.StringPtrOutput
- func (LoadTestOutput) ElementType() reflect.Type
- func (o LoadTestOutput) Identity() LoadTestIdentityPtrOutput
- func (o LoadTestOutput) Location() pulumi.StringOutput
- func (o LoadTestOutput) Name() pulumi.StringOutput
- func (o LoadTestOutput) ResourceGroupName() pulumi.StringOutput
- func (o LoadTestOutput) Tags() pulumi.StringMapOutput
- func (o LoadTestOutput) ToLoadTestOutput() LoadTestOutput
- func (o LoadTestOutput) ToLoadTestOutputWithContext(ctx context.Context) LoadTestOutput
- func (o LoadTestOutput) ToOutput(ctx context.Context) pulumix.Output[*LoadTest]
- type LoadTestState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LoadTest ¶
type LoadTest struct { pulumi.CustomResourceState // Resource data plane URI. DataPlaneUri pulumi.StringOutput `pulumi:"dataPlaneUri"` // Description of the resource. Changing this forces a new Load Test to be created. Description pulumi.StringPtrOutput `pulumi:"description"` // An `identity` block as defined below. Specifies the Managed Identity which should be assigned to this Load Test. Identity LoadTestIdentityPtrOutput `pulumi:"identity"` // The Azure Region where the Load Test should exist. Changing this forces a new Load Test to be created. Location pulumi.StringOutput `pulumi:"location"` // Specifies the name of this Load Test. Changing this forces a new Load Test to be created. Name pulumi.StringOutput `pulumi:"name"` // Specifies the name of the Resource Group within which this 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"` }
<!-- Note: This documentation is generated. Any manual changes will be overwritten -->
Manages a Load Test Service.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/authorization" "github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core" "github.com/pulumi/pulumi-azure/sdk/v5/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 = authorization.NewUserAssignedIdentity(ctx, "exampleUserAssignedIdentity", &authorization.UserAssignedIdentityArgs{ ResourceGroupName: exampleResourceGroup.Name, Location: exampleResourceGroup.Location, }) if err != nil { return err } _, err = loadtest.NewLoadTest(ctx, "exampleLoadTest", &loadtest.LoadTestArgs{ Location: exampleResourceGroup.Location, ResourceGroupName: exampleResourceGroup.Name, }) if err != nil { return err } return nil }) }
``` ## Blocks Reference
### `identity` Block
The `identity` block supports the following arguments:
* `type` - (Required) Specifies the type of Managed Identity that should be assigned to this Load Test. Possible values are `SystemAssigned`, `SystemAssigned, UserAssigned` and `UserAssigned`. * `identityIds` - (Optional) A list of the User Assigned Identity IDs that should be assigned to this Load Test.
In addition to the arguments defined above, the `identity` block exports the following attributes:
* `principalId` - The Principal ID for the System-Assigned Managed Identity assigned to this Load Test. * `tenantId` - The Tenant ID for the System-Assigned Managed Identity assigned to this Load Test.
## Import
An existing Load Test can be imported into Terraform using the `resource id`, e.g.
```sh
$ pulumi import azure:loadtest/loadTest:LoadTest example /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.LoadTestService/loadTests/{loadTestName}
```
- Where `{subscriptionId}` is the ID of the Azure Subscription where the Load Test exists. For example `12345678-1234-9876-4563-123456789012`. * Where `{resourceGroupName}` is the name of Resource Group where this Load Test exists. For example `example-resource-group`. * Where `{loadTestName}` is the name of the Load Test. For example `loadTestValue`.
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 { // Description of the resource. Changing this forces a new Load Test to be created. Description pulumi.StringPtrInput // An `identity` block as defined below. Specifies the Managed Identity which should be assigned to this Load Test. Identity LoadTestIdentityPtrInput // The Azure Region where the Load Test should exist. Changing this forces a new Load Test to be created. Location pulumi.StringPtrInput // Specifies the name of this Load Test. Changing this forces a new Load Test to be created. Name pulumi.StringPtrInput // Specifies the name of the Resource Group within which this 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 LoadTestIdentity ¶ added in v5.22.0
type LoadTestIdentityArgs ¶ added in v5.22.0
type LoadTestIdentityArgs struct { IdentityIds pulumi.StringArrayInput `pulumi:"identityIds"` PrincipalId pulumi.StringPtrInput `pulumi:"principalId"` TenantId pulumi.StringPtrInput `pulumi:"tenantId"` Type pulumi.StringInput `pulumi:"type"` }
func (LoadTestIdentityArgs) ElementType ¶ added in v5.22.0
func (LoadTestIdentityArgs) ElementType() reflect.Type
func (LoadTestIdentityArgs) ToLoadTestIdentityOutput ¶ added in v5.22.0
func (i LoadTestIdentityArgs) ToLoadTestIdentityOutput() LoadTestIdentityOutput
func (LoadTestIdentityArgs) ToLoadTestIdentityOutputWithContext ¶ added in v5.22.0
func (i LoadTestIdentityArgs) ToLoadTestIdentityOutputWithContext(ctx context.Context) LoadTestIdentityOutput
func (LoadTestIdentityArgs) ToLoadTestIdentityPtrOutput ¶ added in v5.22.0
func (i LoadTestIdentityArgs) ToLoadTestIdentityPtrOutput() LoadTestIdentityPtrOutput
func (LoadTestIdentityArgs) ToLoadTestIdentityPtrOutputWithContext ¶ added in v5.22.0
func (i LoadTestIdentityArgs) ToLoadTestIdentityPtrOutputWithContext(ctx context.Context) LoadTestIdentityPtrOutput
func (LoadTestIdentityArgs) ToOutput ¶ added in v5.52.0
func (i LoadTestIdentityArgs) ToOutput(ctx context.Context) pulumix.Output[LoadTestIdentity]
type LoadTestIdentityInput ¶ added in v5.22.0
type LoadTestIdentityInput interface { pulumi.Input ToLoadTestIdentityOutput() LoadTestIdentityOutput ToLoadTestIdentityOutputWithContext(context.Context) LoadTestIdentityOutput }
LoadTestIdentityInput is an input type that accepts LoadTestIdentityArgs and LoadTestIdentityOutput values. You can construct a concrete instance of `LoadTestIdentityInput` via:
LoadTestIdentityArgs{...}
type LoadTestIdentityOutput ¶ added in v5.22.0
type LoadTestIdentityOutput struct{ *pulumi.OutputState }
func (LoadTestIdentityOutput) ElementType ¶ added in v5.22.0
func (LoadTestIdentityOutput) ElementType() reflect.Type
func (LoadTestIdentityOutput) IdentityIds ¶ added in v5.44.0
func (o LoadTestIdentityOutput) IdentityIds() pulumi.StringArrayOutput
func (LoadTestIdentityOutput) PrincipalId ¶ added in v5.22.0
func (o LoadTestIdentityOutput) PrincipalId() pulumi.StringPtrOutput
func (LoadTestIdentityOutput) TenantId ¶ added in v5.22.0
func (o LoadTestIdentityOutput) TenantId() pulumi.StringPtrOutput
func (LoadTestIdentityOutput) ToLoadTestIdentityOutput ¶ added in v5.22.0
func (o LoadTestIdentityOutput) ToLoadTestIdentityOutput() LoadTestIdentityOutput
func (LoadTestIdentityOutput) ToLoadTestIdentityOutputWithContext ¶ added in v5.22.0
func (o LoadTestIdentityOutput) ToLoadTestIdentityOutputWithContext(ctx context.Context) LoadTestIdentityOutput
func (LoadTestIdentityOutput) ToLoadTestIdentityPtrOutput ¶ added in v5.22.0
func (o LoadTestIdentityOutput) ToLoadTestIdentityPtrOutput() LoadTestIdentityPtrOutput
func (LoadTestIdentityOutput) ToLoadTestIdentityPtrOutputWithContext ¶ added in v5.22.0
func (o LoadTestIdentityOutput) ToLoadTestIdentityPtrOutputWithContext(ctx context.Context) LoadTestIdentityPtrOutput
func (LoadTestIdentityOutput) ToOutput ¶ added in v5.52.0
func (o LoadTestIdentityOutput) ToOutput(ctx context.Context) pulumix.Output[LoadTestIdentity]
func (LoadTestIdentityOutput) Type ¶ added in v5.22.0
func (o LoadTestIdentityOutput) Type() pulumi.StringOutput
type LoadTestIdentityPtrInput ¶ added in v5.22.0
type LoadTestIdentityPtrInput interface { pulumi.Input ToLoadTestIdentityPtrOutput() LoadTestIdentityPtrOutput ToLoadTestIdentityPtrOutputWithContext(context.Context) LoadTestIdentityPtrOutput }
LoadTestIdentityPtrInput is an input type that accepts LoadTestIdentityArgs, LoadTestIdentityPtr and LoadTestIdentityPtrOutput values. You can construct a concrete instance of `LoadTestIdentityPtrInput` via:
LoadTestIdentityArgs{...} or: nil
func LoadTestIdentityPtr ¶ added in v5.22.0
func LoadTestIdentityPtr(v *LoadTestIdentityArgs) LoadTestIdentityPtrInput
type LoadTestIdentityPtrOutput ¶ added in v5.22.0
type LoadTestIdentityPtrOutput struct{ *pulumi.OutputState }
func (LoadTestIdentityPtrOutput) Elem ¶ added in v5.22.0
func (o LoadTestIdentityPtrOutput) Elem() LoadTestIdentityOutput
func (LoadTestIdentityPtrOutput) ElementType ¶ added in v5.22.0
func (LoadTestIdentityPtrOutput) ElementType() reflect.Type
func (LoadTestIdentityPtrOutput) IdentityIds ¶ added in v5.44.0
func (o LoadTestIdentityPtrOutput) IdentityIds() pulumi.StringArrayOutput
func (LoadTestIdentityPtrOutput) PrincipalId ¶ added in v5.22.0
func (o LoadTestIdentityPtrOutput) PrincipalId() pulumi.StringPtrOutput
func (LoadTestIdentityPtrOutput) TenantId ¶ added in v5.22.0
func (o LoadTestIdentityPtrOutput) TenantId() pulumi.StringPtrOutput
func (LoadTestIdentityPtrOutput) ToLoadTestIdentityPtrOutput ¶ added in v5.22.0
func (o LoadTestIdentityPtrOutput) ToLoadTestIdentityPtrOutput() LoadTestIdentityPtrOutput
func (LoadTestIdentityPtrOutput) ToLoadTestIdentityPtrOutputWithContext ¶ added in v5.22.0
func (o LoadTestIdentityPtrOutput) ToLoadTestIdentityPtrOutputWithContext(ctx context.Context) LoadTestIdentityPtrOutput
func (LoadTestIdentityPtrOutput) ToOutput ¶ added in v5.52.0
func (o LoadTestIdentityPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*LoadTestIdentity]
func (LoadTestIdentityPtrOutput) Type ¶ added in v5.22.0
func (o LoadTestIdentityPtrOutput) Type() pulumi.StringPtrOutput
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) DataPlaneUri ¶ added in v5.22.0
func (o LoadTestOutput) DataPlaneUri() pulumi.StringOutput
Resource data plane URI.
func (LoadTestOutput) Description ¶ added in v5.22.0
func (o LoadTestOutput) Description() pulumi.StringPtrOutput
Description of the resource. Changing this forces a new Load Test to be created.
func (LoadTestOutput) ElementType ¶
func (LoadTestOutput) ElementType() reflect.Type
func (LoadTestOutput) Identity ¶ added in v5.22.0
func (o LoadTestOutput) Identity() LoadTestIdentityPtrOutput
An `identity` block as defined below. Specifies the Managed Identity which should be assigned to this Load Test.
func (LoadTestOutput) Location ¶ added in v5.5.0
func (o LoadTestOutput) Location() pulumi.StringOutput
The Azure Region where the Load Test should exist. Changing this forces a new Load Test to be created.
func (LoadTestOutput) Name ¶ added in v5.5.0
func (o LoadTestOutput) Name() pulumi.StringOutput
Specifies the name of this Load Test. Changing this forces a new Load Test to be created.
func (LoadTestOutput) ResourceGroupName ¶ added in v5.5.0
func (o LoadTestOutput) ResourceGroupName() pulumi.StringOutput
Specifies the name of the Resource Group within which this Load Test should exist. Changing this forces a new Load Test to be created.
func (LoadTestOutput) Tags ¶ added in v5.5.0
func (o LoadTestOutput) Tags() pulumi.StringMapOutput
A mapping of tags which should be assigned to the Load Test.
func (LoadTestOutput) ToLoadTestOutput ¶
func (o LoadTestOutput) ToLoadTestOutput() LoadTestOutput
func (LoadTestOutput) ToLoadTestOutputWithContext ¶
func (o LoadTestOutput) ToLoadTestOutputWithContext(ctx context.Context) LoadTestOutput
type LoadTestState ¶
type LoadTestState struct { // Resource data plane URI. DataPlaneUri pulumi.StringPtrInput // Description of the resource. Changing this forces a new Load Test to be created. Description pulumi.StringPtrInput // An `identity` block as defined below. Specifies the Managed Identity which should be assigned to this Load Test. Identity LoadTestIdentityPtrInput // The Azure Region where the Load Test should exist. Changing this forces a new Load Test to be created. Location pulumi.StringPtrInput // Specifies the name of this Load Test. Changing this forces a new Load Test to be created. Name pulumi.StringPtrInput // Specifies the name of the Resource Group within which this 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