1. Packages
  2. Azure Native
  3. API Docs
  4. testbase
  5. ActionRequest
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.39.0 published on Monday, Apr 29, 2024 by Pulumi

azure-native.testbase.ActionRequest

Explore with Pulumi AI

azure-native logo
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.39.0 published on Monday, Apr 29, 2024 by Pulumi

    Azure REST 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",
        });
    
    });
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-azure-native-sdk/testbase/v2"
    	"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
    	})
    }
    
    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());
    
        }
    }
    
    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")
    
    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",
    });
    
    resources:
      actionRequest:
        type: azure-native:testbase:ActionRequest
        properties:
          actionRequestName: '167184141414254'
          resourceGroupName: contoso-rg
          testBaseAccountName: contoso-testBaseAccount
    

    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 string
    The unique name of the resource.
    args ActionRequestArgs
    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 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 string
    The unique name of the resource.
    args ActionRequestArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ActionRequestArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ActionRequestArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    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",
        },
    });
    
    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"),
    },
    })
    
    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());
    
    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=azure_native.testbase.PreReleaseAccessRequestSpecArgs(
            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",
        ))
    
    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",
        },
    });
    
    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
    

    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

    The ActionRequest resource accepts the following input properties:

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

    Outputs

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

    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"
    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"
    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"
    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"
    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"
    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 type of identity that last modified the resource.
    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 type of identity that last modified the resource.
    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 type of identity that last modified the resource.
    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 type of identity that last modified the resource.
    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 type of identity that last modified the resource.
    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 type of identity that last modified the resource.
    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} 
    

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

    Package Details

    Repository
    Azure Native pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native logo
    This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
    Azure Native v2.39.0 published on Monday, Apr 29, 2024 by Pulumi