azure-native-v2.loadtestservice.LoadTestProfileMapping
Explore with Pulumi AI
LoadTest profile mapping resource details Azure REST API version: 2023-12-01-preview.
Create LoadTestProfileMapping Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new LoadTestProfileMapping(name: string, args: LoadTestProfileMappingArgs, opts?: CustomResourceOptions);
@overload
def LoadTestProfileMapping(resource_name: str,
args: LoadTestProfileMappingArgs,
opts: Optional[ResourceOptions] = None)
@overload
def LoadTestProfileMapping(resource_name: str,
opts: Optional[ResourceOptions] = None,
resource_uri: Optional[str] = None,
azure_load_testing_resource_id: Optional[str] = None,
load_test_profile_mapping_name: Optional[str] = None,
source_resource_id: Optional[str] = None,
test_profile_id: Optional[str] = None)
func NewLoadTestProfileMapping(ctx *Context, name string, args LoadTestProfileMappingArgs, opts ...ResourceOption) (*LoadTestProfileMapping, error)
public LoadTestProfileMapping(string name, LoadTestProfileMappingArgs args, CustomResourceOptions? opts = null)
public LoadTestProfileMapping(String name, LoadTestProfileMappingArgs args)
public LoadTestProfileMapping(String name, LoadTestProfileMappingArgs args, CustomResourceOptions options)
type: azure-native:loadtestservice:LoadTestProfileMapping
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. LoadTestProfileMappingArgs - 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. LoadTestProfileMappingArgs - 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. LoadTestProfileMappingArgs - 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. LoadTestProfileMappingArgs - 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. LoadTestProfileMappingArgs - 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 loadTestProfileMappingResource = new AzureNative.Loadtestservice.LoadTestProfileMapping("loadTestProfileMappingResource", new()
{
ResourceUri = "string",
AzureLoadTestingResourceId = "string",
LoadTestProfileMappingName = "string",
SourceResourceId = "string",
TestProfileId = "string",
});
example, err := loadtestservice.NewLoadTestProfileMapping(ctx, "loadTestProfileMappingResource", &loadtestservice.LoadTestProfileMappingArgs{
ResourceUri: "string",
AzureLoadTestingResourceId: "string",
LoadTestProfileMappingName: "string",
SourceResourceId: "string",
TestProfileId: "string",
})
var loadTestProfileMappingResource = new LoadTestProfileMapping("loadTestProfileMappingResource", LoadTestProfileMappingArgs.builder()
.resourceUri("string")
.azureLoadTestingResourceId("string")
.loadTestProfileMappingName("string")
.sourceResourceId("string")
.testProfileId("string")
.build());
load_test_profile_mapping_resource = azure_native.loadtestservice.LoadTestProfileMapping("loadTestProfileMappingResource",
resource_uri=string,
azure_load_testing_resource_id=string,
load_test_profile_mapping_name=string,
source_resource_id=string,
test_profile_id=string)
const loadTestProfileMappingResource = new azure_native.loadtestservice.LoadTestProfileMapping("loadTestProfileMappingResource", {
resourceUri: "string",
azureLoadTestingResourceId: "string",
loadTestProfileMappingName: "string",
sourceResourceId: "string",
testProfileId: "string",
});
type: azure-native:loadtestservice:LoadTestProfileMapping
properties:
azureLoadTestingResourceId: string
loadTestProfileMappingName: string
resourceUri: string
sourceResourceId: string
testProfileId: string
LoadTestProfileMapping 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 LoadTestProfileMapping resource accepts the following input properties:
- Resource
Uri This property is required. Changes to this property will trigger replacement.
- The fully qualified Azure Resource manager identifier of the resource.
- Azure
Load stringTesting Resource Id - Mapped Azure Load Test resource Id.
- Load
Test Profile Mapping Name Changes to this property will trigger replacement.
- Load Test Profile Mapping name
- Source
Resource stringId - Mapped source resource Id.
- Test
Profile stringId - Mapped Azure Load Test resource test-profile-id.
- Resource
Uri This property is required. Changes to this property will trigger replacement.
- The fully qualified Azure Resource manager identifier of the resource.
- Azure
Load stringTesting Resource Id - Mapped Azure Load Test resource Id.
- Load
Test Profile Mapping Name Changes to this property will trigger replacement.
- Load Test Profile Mapping name
- Source
Resource stringId - Mapped source resource Id.
- Test
Profile stringId - Mapped Azure Load Test resource test-profile-id.
- resource
Uri This property is required. Changes to this property will trigger replacement.
- The fully qualified Azure Resource manager identifier of the resource.
- azure
Load StringTesting Resource Id - Mapped Azure Load Test resource Id.
- load
Test Profile Mapping Name Changes to this property will trigger replacement.
- Load Test Profile Mapping name
- source
Resource StringId - Mapped source resource Id.
- test
Profile StringId - Mapped Azure Load Test resource test-profile-id.
- resource
Uri This property is required. Changes to this property will trigger replacement.
- The fully qualified Azure Resource manager identifier of the resource.
- azure
Load stringTesting Resource Id - Mapped Azure Load Test resource Id.
- load
Test Profile Mapping Name Changes to this property will trigger replacement.
- Load Test Profile Mapping name
- source
Resource stringId - Mapped source resource Id.
- test
Profile stringId - Mapped Azure Load Test resource test-profile-id.
- resource_
uri This property is required. Changes to this property will trigger replacement.
- The fully qualified Azure Resource manager identifier of the resource.
- azure_
load_ strtesting_ resource_ id - Mapped Azure Load Test resource Id.
- load_
test_ profile_ mapping_ name Changes to this property will trigger replacement.
- Load Test Profile Mapping name
- source_
resource_ strid - Mapped source resource Id.
- test_
profile_ strid - Mapped Azure Load Test resource test-profile-id.
- resource
Uri This property is required. Changes to this property will trigger replacement.
- The fully qualified Azure Resource manager identifier of the resource.
- azure
Load StringTesting Resource Id - Mapped Azure Load Test resource Id.
- load
Test Profile Mapping Name Changes to this property will trigger replacement.
- Load Test Profile Mapping name
- source
Resource StringId - Mapped source resource Id.
- test
Profile StringId - Mapped Azure Load Test resource test-profile-id.
Outputs
All input properties are implicitly available as output properties. Additionally, the LoadTestProfileMapping resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- The name of the resource
- System
Data Pulumi.Azure Native. Load Test Service. Outputs. System Data Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- The name of the resource
- System
Data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- The name of the resource
- system
Data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- id string
- The provider-assigned unique ID for this managed resource.
- name string
- The name of the resource
- system
Data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- id str
- The provider-assigned unique ID for this managed resource.
- name str
- The name of the resource
- system_
data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type str
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- The name of the resource
- system
Data Property Map - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
Supporting Types
SystemDataResponse, SystemDataResponseArgs
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
- created
At string - The timestamp of resource creation (UTC).
- created
By string - The identity that created the resource.
- created
By stringType - The type of identity that created the resource.
- last
Modified stringAt - The timestamp of resource last modification (UTC)
- last
Modified stringBy - The identity that last modified the resource.
- last
Modified stringBy Type - The type of identity that last modified the resource.
- created_
at str - The timestamp of resource creation (UTC).
- created_
by str - The identity that created the resource.
- created_
by_ strtype - The type of identity that created the resource.
- last_
modified_ strat - The timestamp of resource last modification (UTC)
- last_
modified_ strby - The identity that last modified the resource.
- last_
modified_ strby_ type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:loadtestservice:LoadTestProfileMapping myLoadTestProfileMapping /{resourceUri}/providers/Microsoft.LoadTestService/loadTestProfileMappings/{loadTestProfileMappingName}
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- azure-native-v2 pulumi/pulumi-azure-native
- License
- Apache-2.0