azure-native.testbase.ActionRequest
Explore with Pulumi AI
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.
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",
},
});
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 This property is required. string | Pulumi.Azure Native. Test Base. Request Types - Resource
Group Name This property is required. Changes to this property will trigger replacement.
- 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.
- The resource name of the Test Base Account.
- Action
Request Name Changes to this property will trigger replacement.
- Pre
Release Pulumi.Access Request Spec Azure Native. Test Base. Inputs. Pre Release Access Request Spec
- Request
Type This property is required. string | RequestTypes - Resource
Group Name This property is required. Changes to this property will trigger replacement.
- 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.
- The resource name of the Test Base Account.
- Action
Request Name Changes to this property will trigger replacement.
- Pre
Release PreAccess Request Spec Release Access Request Spec Args
- request
Type This property is required. String | RequestTypes - resource
Group Name This property is required. Changes to this property will trigger replacement.
- 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.
- The resource name of the Test Base Account.
- action
Request Name Changes to this property will trigger replacement.
- pre
Release PreAccess Request Spec Release Access Request Spec
- request
Type This property is required. string | RequestTypes - resource
Group Name This property is required. Changes to this property will trigger replacement.
- 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.
- The resource name of the Test Base Account.
- action
Request Name Changes to this property will trigger replacement.
- pre
Release PreAccess Request Spec Release Access Request Spec
- request_
type This property is required. str | RequestTypes - resource_
group_ name This property is required. Changes to this property will trigger replacement.
- 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.
- The resource name of the Test Base Account.
- action_
request_ name Changes to this property will trigger replacement.
- pre_
release_ Preaccess_ request_ spec Release Access Request Spec Args
- request
Type This property is required. String | "PreRelease Access" - resource
Group Name This property is required. Changes to this property will trigger replacement.
- 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.
- The resource name of the Test Base Account.
- action
Request Name Changes to this property will trigger replacement.
- 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:
- Azure
Api stringVersion - The Azure API version of the resource.
- 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"
- Azure
Api stringVersion - The Azure API version of the resource.
- 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"
- azure
Api StringVersion - The Azure API version of the resource.
- 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"
- azure
Api stringVersion - The Azure API version of the resource.
- 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"
- azure_
api_ strversion - 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 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"
- azure
Api StringVersion - The Azure API version of the resource.
- 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 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: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