azure-native.testbase.ActionRequest
Explore with Pulumi AI
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 (
testbase "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.
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",
},
});
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={
"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
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:
- Request
Type string | Pulumi.Azure Native. Test Base. Request Types - Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Test
Base stringAccount Name - The resource name of the Test Base Account.
- Action
Request stringName - Pre
Release Pulumi.Access Request Spec Azure Native. Test Base. Inputs. Pre Release Access Request Spec
- Request
Type string | RequestTypes - Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Test
Base stringAccount Name - The resource name of the Test Base Account.
- Action
Request stringName - Pre
Release PreAccess Request Spec Release Access Request Spec Args
- request
Type String | RequestTypes - resource
Group StringName - The name of the resource group. The name is case insensitive.
- test
Base StringAccount Name - The resource name of the Test Base Account.
- action
Request StringName - pre
Release PreAccess Request Spec Release Access Request Spec
- request
Type string | RequestTypes - resource
Group stringName - The name of the resource group. The name is case insensitive.
- test
Base stringAccount Name - The resource name of the Test Base Account.
- action
Request stringName - pre
Release PreAccess Request Spec Release Access Request Spec
- request_
type str | RequestTypes - resource_
group_ strname - The name of the resource group. The name is case insensitive.
- test_
base_ straccount_ name - The resource name of the Test Base Account.
- action_
request_ strname - pre_
release_ Preaccess_ request_ spec Release Access Request Spec Args
- request
Type String | "PreRelease Access" - resource
Group StringName - The name of the resource group. The name is case insensitive.
- test
Base StringAccount Name - The resource name of the Test Base Account.
- action
Request StringName - pre
Release Property MapAccess Request Spec
Outputs
All input properties are implicitly available as output properties. Additionally, the ActionRequest resource produces the following output properties:
- Creation
Date string - Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- The name of the resource
- Provisioning
State string - The provisioning state of the resource.
- Status string
- System
Data Pulumi.Azure Native. Test Base. 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"
- Creation
Date string - Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- The name of the resource
- Provisioning
State string - The provisioning state of the resource.
- Status string
- 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"
- creation
Date String - id String
- The provider-assigned unique ID for this managed resource.
- name String
- The name of the resource
- provisioning
State String - The provisioning state of the resource.
- status String
- 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"
- creation
Date string - id string
- The provider-assigned unique ID for this managed resource.
- name string
- The name of the resource
- provisioning
State string - The provisioning state of the resource.
- status string
- 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"
- 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 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"
- creation
Date String - id String
- The provider-assigned unique ID for this managed resource.
- name String
- The name of the resource
- provisioning
State String - The provisioning state of the resource.
- status String
- 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
Engagements, EngagementsArgs
- MVI
- MVI
- MVP
- MVP
- SUVP
- SUVP
- MAPP
- MAPP
- Other
- Other
- Engagements
MVI - MVI
- Engagements
MVP - MVP
- Engagements
SUVP - SUVP
- Engagements
MAPP - MAPP
- Engagements
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
- "MVI"
- MVI
- "MVP"
- MVP
- "SUVP"
- SUVP
- "MAPP"
- MAPP
- "Other"
- Other
PreReleaseAccessRequestSpec, PreReleaseAccessRequestSpecArgs
- City string
- Company
Website string - Country
And stringRegion - Email string
- Engagements
List<Union<string, Pulumi.
Azure Native. Test Base. Engagements>> - Organization
Name string - State
Or stringProvince - Street
Address string - Zip
Code string
- City string
- Company
Website string - Country
And stringRegion - Email string
- Engagements []string
- Organization
Name string - State
Or stringProvince - Street
Address string - Zip
Code string
- city String
- company
Website String - country
And StringRegion - email String
- engagements List<Either<String,Engagements>>
- organization
Name String - state
Or StringProvince - street
Address String - zip
Code String
- city string
- company
Website string - country
And stringRegion - email string
- engagements (string | Engagements)[]
- organization
Name string - state
Or stringProvince - street
Address string - zip
Code string
- city str
- company_
website str - country_
and_ strregion - email str
- engagements Sequence[Union[str, Engagements]]
- organization_
name str - state_
or_ strprovince - street_
address str - zip_
code str
- city String
- company
Website String - country
And StringRegion - email String
- engagements List<String | "MVI" | "MVP" | "SUVP" | "MAPP" | "Other">
- organization
Name String - state
Or StringProvince - street
Address String - zip
Code String
PreReleaseAccessRequestSpecResponse, PreReleaseAccessRequestSpecResponseArgs
- City string
- Company
Website string - Country
And stringRegion - Email string
- Engagements List<string>
- Organization
Name string - State
Or stringProvince - Street
Address string - Zip
Code string
- City string
- Company
Website string - Country
And stringRegion - Email string
- Engagements []string
- Organization
Name string - State
Or stringProvince - Street
Address string - Zip
Code string
- city String
- company
Website String - country
And StringRegion - email String
- engagements List<String>
- organization
Name String - state
Or StringProvince - street
Address String - zip
Code String
- city string
- company
Website string - country
And stringRegion - email string
- engagements string[]
- organization
Name string - state
Or stringProvince - street
Address string - zip
Code string
- city str
- company_
website str - country_
and_ strregion - email str
- engagements Sequence[str]
- organization_
name str - state_
or_ strprovince - street_
address str - zip_
code str
- city String
- company
Website String - country
And StringRegion - email String
- engagements List<String>
- organization
Name String - state
Or StringProvince - street
Address String - zip
Code String
RequestTypes, RequestTypesArgs
- Pre
Release Access - PreReleaseAccess
- Request
Types Pre Release Access - PreReleaseAccess
- Pre
Release Access - PreReleaseAccess
- Pre
Release Access - PreReleaseAccess
- PRE_RELEASE_ACCESS
- PreReleaseAccess
- "Pre
Release Access" - PreReleaseAccess
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 type of identity that last modified the resource.
- 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 type of identity that last modified the resource.
- 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 type of identity that last modified the resource.
- 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 type of identity that last modified the resource.
- 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 type of identity that last modified the resource.
- 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 type of identity that last modified the resource.
- 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: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