1. Packages
  2. Azure Native
  3. API Docs
  4. testbase
  5. ActionRequest
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.1.0 published on Tuesday, Apr 8, 2025 by Pulumi

azure-native.testbase.ActionRequest

Explore with Pulumi AI

This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.1.0 published on Tuesday, Apr 8, 2025 by Pulumi

Uses Azure REST API version 2023-11-01-preview. In version 2.x of the Azure Native provider, it used API version 2023-11-01-preview.

Example Usage

ActionRequestPut

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;

return await Deployment.RunAsync(() => 
{
    var actionRequest = new AzureNative.TestBase.ActionRequest("actionRequest", new()
    {
        ActionRequestName = "167184141414254",
        ResourceGroupName = "contoso-rg",
        TestBaseAccountName = "contoso-testBaseAccount",
    });

});
Copy
package main

import (
	testbase "github.com/pulumi/pulumi-azure-native-sdk/testbase/v3"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := testbase.NewActionRequest(ctx, "actionRequest", &testbase.ActionRequestArgs{
			ActionRequestName:   pulumi.String("167184141414254"),
			ResourceGroupName:   pulumi.String("contoso-rg"),
			TestBaseAccountName: pulumi.String("contoso-testBaseAccount"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.testbase.ActionRequest;
import com.pulumi.azurenative.testbase.ActionRequestArgs;
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 actionRequest = new ActionRequest("actionRequest", ActionRequestArgs.builder()
            .actionRequestName("167184141414254")
            .resourceGroupName("contoso-rg")
            .testBaseAccountName("contoso-testBaseAccount")
            .build());

    }
}
Copy
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";

const actionRequest = new azure_native.testbase.ActionRequest("actionRequest", {
    actionRequestName: "167184141414254",
    resourceGroupName: "contoso-rg",
    testBaseAccountName: "contoso-testBaseAccount",
});
Copy
import pulumi
import pulumi_azure_native as azure_native

action_request = azure_native.testbase.ActionRequest("actionRequest",
    action_request_name="167184141414254",
    resource_group_name="contoso-rg",
    test_base_account_name="contoso-testBaseAccount")
Copy
resources:
  actionRequest:
    type: azure-native:testbase:ActionRequest
    properties:
      actionRequestName: '167184141414254'
      resourceGroupName: contoso-rg
      testBaseAccountName: contoso-testBaseAccount
Copy

Create ActionRequest Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new ActionRequest(name: string, args: ActionRequestArgs, opts?: CustomResourceOptions);
@overload
def ActionRequest(resource_name: str,
                  args: ActionRequestArgs,
                  opts: Optional[ResourceOptions] = None)

@overload
def ActionRequest(resource_name: str,
                  opts: Optional[ResourceOptions] = None,
                  request_type: Optional[Union[str, RequestTypes]] = None,
                  resource_group_name: Optional[str] = None,
                  test_base_account_name: Optional[str] = None,
                  action_request_name: Optional[str] = None,
                  pre_release_access_request_spec: Optional[PreReleaseAccessRequestSpecArgs] = None)
func NewActionRequest(ctx *Context, name string, args ActionRequestArgs, opts ...ResourceOption) (*ActionRequest, error)
public ActionRequest(string name, ActionRequestArgs args, CustomResourceOptions? opts = null)
public ActionRequest(String name, ActionRequestArgs args)
public ActionRequest(String name, ActionRequestArgs args, CustomResourceOptions options)
type: azure-native:testbase:ActionRequest
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. ActionRequestArgs
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. ActionRequestArgs
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. ActionRequestArgs
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. ActionRequestArgs
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. ActionRequestArgs
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 actionRequestResource = new AzureNative.TestBase.ActionRequest("actionRequestResource", new()
{
    RequestType = "string",
    ResourceGroupName = "string",
    TestBaseAccountName = "string",
    ActionRequestName = "string",
    PreReleaseAccessRequestSpec = new AzureNative.TestBase.Inputs.PreReleaseAccessRequestSpecArgs
    {
        City = "string",
        CompanyWebsite = "string",
        CountryAndRegion = "string",
        Email = "string",
        Engagements = new[]
        {
            "string",
        },
        OrganizationName = "string",
        StateOrProvince = "string",
        StreetAddress = "string",
        ZipCode = "string",
    },
});
Copy
example, err := testbase.NewActionRequest(ctx, "actionRequestResource", &testbase.ActionRequestArgs{
	RequestType:         pulumi.String("string"),
	ResourceGroupName:   pulumi.String("string"),
	TestBaseAccountName: pulumi.String("string"),
	ActionRequestName:   pulumi.String("string"),
	PreReleaseAccessRequestSpec: &testbase.PreReleaseAccessRequestSpecArgs{
		City:             pulumi.String("string"),
		CompanyWebsite:   pulumi.String("string"),
		CountryAndRegion: pulumi.String("string"),
		Email:            pulumi.String("string"),
		Engagements: pulumi.StringArray{
			pulumi.String("string"),
		},
		OrganizationName: pulumi.String("string"),
		StateOrProvince:  pulumi.String("string"),
		StreetAddress:    pulumi.String("string"),
		ZipCode:          pulumi.String("string"),
	},
})
Copy
var actionRequestResource = new ActionRequest("actionRequestResource", ActionRequestArgs.builder()
    .requestType("string")
    .resourceGroupName("string")
    .testBaseAccountName("string")
    .actionRequestName("string")
    .preReleaseAccessRequestSpec(PreReleaseAccessRequestSpecArgs.builder()
        .city("string")
        .companyWebsite("string")
        .countryAndRegion("string")
        .email("string")
        .engagements("string")
        .organizationName("string")
        .stateOrProvince("string")
        .streetAddress("string")
        .zipCode("string")
        .build())
    .build());
Copy
action_request_resource = azure_native.testbase.ActionRequest("actionRequestResource",
    request_type="string",
    resource_group_name="string",
    test_base_account_name="string",
    action_request_name="string",
    pre_release_access_request_spec={
        "city": "string",
        "company_website": "string",
        "country_and_region": "string",
        "email": "string",
        "engagements": ["string"],
        "organization_name": "string",
        "state_or_province": "string",
        "street_address": "string",
        "zip_code": "string",
    })
Copy
const actionRequestResource = new azure_native.testbase.ActionRequest("actionRequestResource", {
    requestType: "string",
    resourceGroupName: "string",
    testBaseAccountName: "string",
    actionRequestName: "string",
    preReleaseAccessRequestSpec: {
        city: "string",
        companyWebsite: "string",
        countryAndRegion: "string",
        email: "string",
        engagements: ["string"],
        organizationName: "string",
        stateOrProvince: "string",
        streetAddress: "string",
        zipCode: "string",
    },
});
Copy
type: azure-native:testbase:ActionRequest
properties:
    actionRequestName: string
    preReleaseAccessRequestSpec:
        city: string
        companyWebsite: string
        countryAndRegion: string
        email: string
        engagements:
            - string
        organizationName: string
        stateOrProvince: string
        streetAddress: string
        zipCode: string
    requestType: string
    resourceGroupName: string
    testBaseAccountName: string
Copy

ActionRequest 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 ActionRequest resource accepts the following input properties:

RequestType This property is required. string | Pulumi.AzureNative.TestBase.RequestTypes
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group. The name is case insensitive.
TestBaseAccountName
This property is required.
Changes to this property will trigger replacement.
string
The resource name of the Test Base Account.
ActionRequestName Changes to this property will trigger replacement. string
PreReleaseAccessRequestSpec Pulumi.AzureNative.TestBase.Inputs.PreReleaseAccessRequestSpec
RequestType This property is required. string | RequestTypes
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group. The name is case insensitive.
TestBaseAccountName
This property is required.
Changes to this property will trigger replacement.
string
The resource name of the Test Base Account.
ActionRequestName Changes to this property will trigger replacement. string
PreReleaseAccessRequestSpec PreReleaseAccessRequestSpecArgs
requestType This property is required. String | RequestTypes
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group. The name is case insensitive.
testBaseAccountName
This property is required.
Changes to this property will trigger replacement.
String
The resource name of the Test Base Account.
actionRequestName Changes to this property will trigger replacement. String
preReleaseAccessRequestSpec PreReleaseAccessRequestSpec
requestType This property is required. string | RequestTypes
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group. The name is case insensitive.
testBaseAccountName
This property is required.
Changes to this property will trigger replacement.
string
The resource name of the Test Base Account.
actionRequestName Changes to this property will trigger replacement. string
preReleaseAccessRequestSpec PreReleaseAccessRequestSpec
request_type This property is required. str | RequestTypes
resource_group_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the resource group. The name is case insensitive.
test_base_account_name
This property is required.
Changes to this property will trigger replacement.
str
The resource name of the Test Base Account.
action_request_name Changes to this property will trigger replacement. str
pre_release_access_request_spec PreReleaseAccessRequestSpecArgs
requestType This property is required. String | "PreReleaseAccess"
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group. The name is case insensitive.
testBaseAccountName
This property is required.
Changes to this property will trigger replacement.
String
The resource name of the Test Base Account.
actionRequestName Changes to this property will trigger replacement. String
preReleaseAccessRequestSpec Property Map

Outputs

All input properties are implicitly available as output properties. Additionally, the ActionRequest resource produces the following output properties:

AzureApiVersion string
The Azure API version of the resource.
CreationDate string
Id string
The provider-assigned unique ID for this managed resource.
Name string
The name of the resource
ProvisioningState string
The provisioning state of the resource.
Status string
SystemData Pulumi.AzureNative.TestBase.Outputs.SystemDataResponse
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"
AzureApiVersion string
The Azure API version of the resource.
CreationDate string
Id string
The provider-assigned unique ID for this managed resource.
Name string
The name of the resource
ProvisioningState string
The provisioning state of the resource.
Status string
SystemData SystemDataResponse
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"
azureApiVersion String
The Azure API version of the resource.
creationDate String
id String
The provider-assigned unique ID for this managed resource.
name String
The name of the resource
provisioningState String
The provisioning state of the resource.
status String
systemData SystemDataResponse
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"
azureApiVersion string
The Azure API version of the resource.
creationDate string
id string
The provider-assigned unique ID for this managed resource.
name string
The name of the resource
provisioningState string
The provisioning state of the resource.
status string
systemData SystemDataResponse
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"
azure_api_version str
The Azure API version of the resource.
creation_date str
id str
The provider-assigned unique ID for this managed resource.
name str
The name of the resource
provisioning_state str
The provisioning state of the resource.
status str
system_data SystemDataResponse
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"
azureApiVersion String
The Azure API version of the resource.
creationDate String
id String
The provider-assigned unique ID for this managed resource.
name String
The name of the resource
provisioningState String
The provisioning state of the resource.
status String
systemData 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

Engagements
, EngagementsArgs

MVI
MVI
MVP
MVP
SUVP
SUVP
MAPP
MAPP
Other
Other
EngagementsMVI
MVI
EngagementsMVP
MVP
EngagementsSUVP
SUVP
EngagementsMAPP
MAPP
EngagementsOther
Other
MVI
MVI
MVP
MVP
SUVP
SUVP
MAPP
MAPP
Other
Other
MVI
MVI
MVP
MVP
SUVP
SUVP
MAPP
MAPP
Other
Other
MVI
MVI
MVP
MVP
SUVP
SUVP
MAPP
MAPP
OTHER
Other
"MVI"
MVI
"MVP"
MVP
"SUVP"
SUVP
"MAPP"
MAPP
"Other"
Other

PreReleaseAccessRequestSpec
, PreReleaseAccessRequestSpecArgs

City string
CompanyWebsite string
CountryAndRegion string
Email string
Engagements List<Union<string, Pulumi.AzureNative.TestBase.Engagements>>
OrganizationName string
StateOrProvince string
StreetAddress string
ZipCode string
city String
companyWebsite String
countryAndRegion String
email String
engagements List<Either<String,Engagements>>
organizationName String
stateOrProvince String
streetAddress String
zipCode String
city string
companyWebsite string
countryAndRegion string
email string
engagements (string | Engagements)[]
organizationName string
stateOrProvince string
streetAddress string
zipCode string
city String
companyWebsite String
countryAndRegion String
email String
engagements List<String | "MVI" | "MVP" | "SUVP" | "MAPP" | "Other">
organizationName String
stateOrProvince String
streetAddress String
zipCode String

PreReleaseAccessRequestSpecResponse
, PreReleaseAccessRequestSpecResponseArgs

City string
CompanyWebsite string
CountryAndRegion string
Email string
Engagements List<string>
OrganizationName string
StateOrProvince string
StreetAddress string
ZipCode string
city String
companyWebsite String
countryAndRegion String
email String
engagements List<String>
organizationName String
stateOrProvince String
streetAddress String
zipCode String
city String
companyWebsite String
countryAndRegion String
email String
engagements List<String>
organizationName String
stateOrProvince String
streetAddress String
zipCode String

RequestTypes
, RequestTypesArgs

PreReleaseAccess
PreReleaseAccess
RequestTypesPreReleaseAccess
PreReleaseAccess
PreReleaseAccess
PreReleaseAccess
PreReleaseAccess
PreReleaseAccess
PRE_RELEASE_ACCESS
PreReleaseAccess
"PreReleaseAccess"
PreReleaseAccess

SystemDataResponse
, SystemDataResponseArgs

CreatedAt string
The timestamp of resource creation (UTC).
CreatedBy string
The identity that created the resource.
CreatedByType string
The type of identity that created the resource.
LastModifiedAt string
The timestamp of resource last modification (UTC)
LastModifiedBy string
The identity that last modified the resource.
LastModifiedByType string
The type of identity that last modified the resource.
CreatedAt string
The timestamp of resource creation (UTC).
CreatedBy string
The identity that created the resource.
CreatedByType string
The type of identity that created the resource.
LastModifiedAt string
The timestamp of resource last modification (UTC)
LastModifiedBy string
The identity that last modified the resource.
LastModifiedByType string
The type of identity that last modified the resource.
createdAt String
The timestamp of resource creation (UTC).
createdBy String
The identity that created the resource.
createdByType String
The type of identity that created the resource.
lastModifiedAt String
The timestamp of resource last modification (UTC)
lastModifiedBy String
The identity that last modified the resource.
lastModifiedByType String
The type of identity that last modified the resource.
createdAt string
The timestamp of resource creation (UTC).
createdBy string
The identity that created the resource.
createdByType string
The type of identity that created the resource.
lastModifiedAt string
The timestamp of resource last modification (UTC)
lastModifiedBy string
The identity that last modified the resource.
lastModifiedByType string
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_type str
The type of identity that created the resource.
last_modified_at str
The timestamp of resource last modification (UTC)
last_modified_by str
The identity that last modified the resource.
last_modified_by_type str
The type of identity that last modified the resource.
createdAt String
The timestamp of resource creation (UTC).
createdBy String
The identity that created the resource.
createdByType String
The type of identity that created the resource.
lastModifiedAt String
The timestamp of resource last modification (UTC)
lastModifiedBy String
The identity that last modified the resource.
lastModifiedByType String
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:testbase:ActionRequest 167184141414254 /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TestBase/testBaseAccounts/{testBaseAccountName}/actionRequests/{actionRequestName} 
Copy

To learn more about importing existing cloud resources, see Importing resources.

Package Details

Repository
Azure Native pulumi/pulumi-azure-native
License
Apache-2.0
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.1.0 published on Tuesday, Apr 8, 2025 by Pulumi