azure-native.testbase.TestBaseAccount
Explore with Pulumi AI
The Test Base Account resource.
Uses Azure REST API version 2023-11-01-preview. In version 2.x of the Azure Native provider, it used API version 2022-04-01-preview.
Other available API versions: 2022-04-01-preview. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native testbase [ApiVersion]
. See the version guide for details.
Create TestBaseAccount Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new TestBaseAccount(name: string, args: TestBaseAccountArgs, opts?: CustomResourceOptions);
@overload
def TestBaseAccount(resource_name: str,
args: TestBaseAccountArgs,
opts: Optional[ResourceOptions] = None)
@overload
def TestBaseAccount(resource_name: str,
opts: Optional[ResourceOptions] = None,
resource_group_name: Optional[str] = None,
sku: Optional[TestBaseAccountSKUArgs] = None,
identity: Optional[SystemAssignedServiceIdentityArgs] = None,
location: Optional[str] = None,
restore: Optional[bool] = None,
tags: Optional[Mapping[str, str]] = None,
test_base_account_name: Optional[str] = None)
func NewTestBaseAccount(ctx *Context, name string, args TestBaseAccountArgs, opts ...ResourceOption) (*TestBaseAccount, error)
public TestBaseAccount(string name, TestBaseAccountArgs args, CustomResourceOptions? opts = null)
public TestBaseAccount(String name, TestBaseAccountArgs args)
public TestBaseAccount(String name, TestBaseAccountArgs args, CustomResourceOptions options)
type: azure-native:testbase:TestBaseAccount
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. TestBaseAccountArgs - 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. TestBaseAccountArgs - 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. TestBaseAccountArgs - 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. TestBaseAccountArgs - 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. TestBaseAccountArgs - 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 testBaseAccountResource = new AzureNative.TestBase.TestBaseAccount("testBaseAccountResource", new()
{
ResourceGroupName = "string",
Sku = new AzureNative.TestBase.Inputs.TestBaseAccountSKUArgs
{
Name = "string",
Tier = "string",
Locations = new[]
{
"string",
},
ResourceType = "string",
},
Identity = new AzureNative.TestBase.Inputs.SystemAssignedServiceIdentityArgs
{
Type = "string",
},
Location = "string",
Restore = false,
Tags =
{
{ "string", "string" },
},
TestBaseAccountName = "string",
});
example, err := testbase.NewTestBaseAccount(ctx, "testBaseAccountResource", &testbase.TestBaseAccountArgs{
ResourceGroupName: pulumi.String("string"),
Sku: &testbase.TestBaseAccountSKUArgs{
Name: pulumi.String("string"),
Tier: pulumi.String("string"),
Locations: pulumi.StringArray{
pulumi.String("string"),
},
ResourceType: pulumi.String("string"),
},
Identity: &testbase.SystemAssignedServiceIdentityArgs{
Type: pulumi.String("string"),
},
Location: pulumi.String("string"),
Restore: pulumi.Bool(false),
Tags: pulumi.StringMap{
"string": pulumi.String("string"),
},
TestBaseAccountName: pulumi.String("string"),
})
var testBaseAccountResource = new TestBaseAccount("testBaseAccountResource", TestBaseAccountArgs.builder()
.resourceGroupName("string")
.sku(TestBaseAccountSKUArgs.builder()
.name("string")
.tier("string")
.locations("string")
.resourceType("string")
.build())
.identity(SystemAssignedServiceIdentityArgs.builder()
.type("string")
.build())
.location("string")
.restore(false)
.tags(Map.of("string", "string"))
.testBaseAccountName("string")
.build());
test_base_account_resource = azure_native.testbase.TestBaseAccount("testBaseAccountResource",
resource_group_name="string",
sku={
"name": "string",
"tier": "string",
"locations": ["string"],
"resource_type": "string",
},
identity={
"type": "string",
},
location="string",
restore=False,
tags={
"string": "string",
},
test_base_account_name="string")
const testBaseAccountResource = new azure_native.testbase.TestBaseAccount("testBaseAccountResource", {
resourceGroupName: "string",
sku: {
name: "string",
tier: "string",
locations: ["string"],
resourceType: "string",
},
identity: {
type: "string",
},
location: "string",
restore: false,
tags: {
string: "string",
},
testBaseAccountName: "string",
});
type: azure-native:testbase:TestBaseAccount
properties:
identity:
type: string
location: string
resourceGroupName: string
restore: false
sku:
locations:
- string
name: string
resourceType: string
tier: string
tags:
string: string
testBaseAccountName: string
TestBaseAccount 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 TestBaseAccount resource accepts the following input properties:
- 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.
- Sku
This property is required. Pulumi.Azure Native. Test Base. Inputs. Test Base Account SKU - The SKU of the Test Base Account.
- Identity
Pulumi.
Azure Native. Test Base. Inputs. System Assigned Service Identity - The identity of the testBaseAccount.
- Location
Changes to this property will trigger replacement.
- The geo-location where the resource lives
- Restore bool
- The flag indicating if we would like to restore the Test Base Accounts which were soft deleted before.
- Dictionary<string, string>
- Resource tags.
- Test
Base Account Name Changes to this property will trigger replacement.
- The resource name of the Test Base Account.
- 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.
- Sku
This property is required. TestBase Account SKUArgs - The SKU of the Test Base Account.
- Identity
System
Assigned Service Identity Args - The identity of the testBaseAccount.
- Location
Changes to this property will trigger replacement.
- The geo-location where the resource lives
- Restore bool
- The flag indicating if we would like to restore the Test Base Accounts which were soft deleted before.
- map[string]string
- Resource tags.
- Test
Base Account Name Changes to this property will trigger replacement.
- The resource name of the Test Base Account.
- 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.
- sku
This property is required. TestBase Account SKU - The SKU of the Test Base Account.
- identity
System
Assigned Service Identity - The identity of the testBaseAccount.
- location
Changes to this property will trigger replacement.
- The geo-location where the resource lives
- restore Boolean
- The flag indicating if we would like to restore the Test Base Accounts which were soft deleted before.
- Map<String,String>
- Resource tags.
- test
Base Account Name Changes to this property will trigger replacement.
- The resource name of the Test Base Account.
- 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.
- sku
This property is required. TestBase Account SKU - The SKU of the Test Base Account.
- identity
System
Assigned Service Identity - The identity of the testBaseAccount.
- location
Changes to this property will trigger replacement.
- The geo-location where the resource lives
- restore boolean
- The flag indicating if we would like to restore the Test Base Accounts which were soft deleted before.
- {[key: string]: string}
- Resource tags.
- test
Base Account Name Changes to this property will trigger replacement.
- The resource name of the Test Base Account.
- 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.
- sku
This property is required. TestBase Account SKUArgs - The SKU of the Test Base Account.
- identity
System
Assigned Service Identity Args - The identity of the testBaseAccount.
- location
Changes to this property will trigger replacement.
- The geo-location where the resource lives
- restore bool
- The flag indicating if we would like to restore the Test Base Accounts which were soft deleted before.
- Mapping[str, str]
- Resource tags.
- test_
base_ account_ name Changes to this property will trigger replacement.
- The resource name of the Test Base Account.
- 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.
- sku
This property is required. Property Map - The SKU of the Test Base Account.
- identity Property Map
- The identity of the testBaseAccount.
- location
Changes to this property will trigger replacement.
- The geo-location where the resource lives
- restore Boolean
- The flag indicating if we would like to restore the Test Base Accounts which were soft deleted before.
- Map<String>
- Resource tags.
- test
Base Account Name Changes to this property will trigger replacement.
- The resource name of the Test Base Account.
Outputs
All input properties are implicitly available as output properties. Additionally, the TestBaseAccount resource produces the following output properties:
- Access
Level string - The access level of the Test Base Account.
- Azure
Api stringVersion - The Azure API version of the resource.
- 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.
- 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"
- Access
Level string - The access level of the Test Base Account.
- Azure
Api stringVersion - The Azure API version of the resource.
- 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.
- 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"
- access
Level String - The access level of the Test Base Account.
- azure
Api StringVersion - The Azure API version of the resource.
- 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.
- 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"
- access
Level string - The access level of the Test Base Account.
- azure
Api stringVersion - The Azure API version of the resource.
- 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.
- 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"
- access_
level str - The access level of the Test Base Account.
- azure_
api_ strversion - The Azure API version of the resource.
- 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.
- 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"
- access
Level String - The access level of the Test Base Account.
- azure
Api StringVersion - The Azure API version of the resource.
- 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.
- 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
SystemAssignedServiceIdentity, SystemAssignedServiceIdentityArgs
- Type
This property is required. string | Pulumi.Azure Native. Test Base. System Assigned Service Identity Type - Type of managed service identity (either system assigned, or none).
- Type
This property is required. string | SystemAssigned Service Identity Type - Type of managed service identity (either system assigned, or none).
- type
This property is required. String | SystemAssigned Service Identity Type - Type of managed service identity (either system assigned, or none).
- type
This property is required. string | SystemAssigned Service Identity Type - Type of managed service identity (either system assigned, or none).
- type
This property is required. str | SystemAssigned Service Identity Type - Type of managed service identity (either system assigned, or none).
- type
This property is required. String | "None" | "SystemAssigned" - Type of managed service identity (either system assigned, or none).
SystemAssignedServiceIdentityResponse, SystemAssignedServiceIdentityResponseArgs
- Principal
Id This property is required. string - The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity.
- Tenant
Id This property is required. string - The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity.
- Type
This property is required. string - Type of managed service identity (either system assigned, or none).
- Principal
Id This property is required. string - The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity.
- Tenant
Id This property is required. string - The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity.
- Type
This property is required. string - Type of managed service identity (either system assigned, or none).
- principal
Id This property is required. String - The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity.
- tenant
Id This property is required. String - The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity.
- type
This property is required. String - Type of managed service identity (either system assigned, or none).
- principal
Id This property is required. string - The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity.
- tenant
Id This property is required. string - The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity.
- type
This property is required. string - Type of managed service identity (either system assigned, or none).
- principal_
id This property is required. str - The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity.
- tenant_
id This property is required. str - The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity.
- type
This property is required. str - Type of managed service identity (either system assigned, or none).
- principal
Id This property is required. String - The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity.
- tenant
Id This property is required. String - The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity.
- type
This property is required. String - Type of managed service identity (either system assigned, or none).
SystemAssignedServiceIdentityType, SystemAssignedServiceIdentityTypeArgs
- None
- None
- System
Assigned - SystemAssigned
- System
Assigned Service Identity Type None - None
- System
Assigned Service Identity Type System Assigned - SystemAssigned
- None
- None
- System
Assigned - SystemAssigned
- None
- None
- System
Assigned - SystemAssigned
- NONE
- None
- SYSTEM_ASSIGNED
- SystemAssigned
- "None"
- None
- "System
Assigned" - SystemAssigned
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.
TestBaseAccountSKU, TestBaseAccountSKUArgs
- Name
This property is required. string - The name of the SKU. This is typically a letter + number code, such as B0 or S0.
- Tier
This property is required. string | Pulumi.Azure Native. Test Base. Tier - The tier of this particular SKU.
- Locations List<string>
- The locations that the SKU is available.
- Resource
Type string - The type of resource the SKU applies to.
- Name
This property is required. string - The name of the SKU. This is typically a letter + number code, such as B0 or S0.
- Tier
This property is required. string | Tier - The tier of this particular SKU.
- Locations []string
- The locations that the SKU is available.
- Resource
Type string - The type of resource the SKU applies to.
- name
This property is required. String - The name of the SKU. This is typically a letter + number code, such as B0 or S0.
- tier
This property is required. String | Tier - The tier of this particular SKU.
- locations List<String>
- The locations that the SKU is available.
- resource
Type String - The type of resource the SKU applies to.
- name
This property is required. string - The name of the SKU. This is typically a letter + number code, such as B0 or S0.
- tier
This property is required. string | Tier - The tier of this particular SKU.
- locations string[]
- The locations that the SKU is available.
- resource
Type string - The type of resource the SKU applies to.
- name
This property is required. str - The name of the SKU. This is typically a letter + number code, such as B0 or S0.
- tier
This property is required. str | Tier - The tier of this particular SKU.
- locations Sequence[str]
- The locations that the SKU is available.
- resource_
type str - The type of resource the SKU applies to.
- name
This property is required. String - The name of the SKU. This is typically a letter + number code, such as B0 or S0.
- tier
This property is required. String | "Standard" - The tier of this particular SKU.
- locations List<String>
- The locations that the SKU is available.
- resource
Type String - The type of resource the SKU applies to.
TestBaseAccountSKUCapabilityResponse, TestBaseAccountSKUCapabilityResponseArgs
TestBaseAccountSKUResponse, TestBaseAccountSKUResponseArgs
- Capabilities
This property is required. List<Pulumi.Azure Native. Test Base. Inputs. Test Base Account SKUCapability Response> - The capabilities of a SKU.
- Name
This property is required. string - The name of the SKU. This is typically a letter + number code, such as B0 or S0.
- Tier
This property is required. string - The tier of this particular SKU.
- Locations List<string>
- The locations that the SKU is available.
- Resource
Type string - The type of resource the SKU applies to.
- Capabilities
This property is required. []TestBase Account SKUCapability Response - The capabilities of a SKU.
- Name
This property is required. string - The name of the SKU. This is typically a letter + number code, such as B0 or S0.
- Tier
This property is required. string - The tier of this particular SKU.
- Locations []string
- The locations that the SKU is available.
- Resource
Type string - The type of resource the SKU applies to.
- capabilities
This property is required. List<TestBase Account SKUCapability Response> - The capabilities of a SKU.
- name
This property is required. String - The name of the SKU. This is typically a letter + number code, such as B0 or S0.
- tier
This property is required. String - The tier of this particular SKU.
- locations List<String>
- The locations that the SKU is available.
- resource
Type String - The type of resource the SKU applies to.
- capabilities
This property is required. TestBase Account SKUCapability Response[] - The capabilities of a SKU.
- name
This property is required. string - The name of the SKU. This is typically a letter + number code, such as B0 or S0.
- tier
This property is required. string - The tier of this particular SKU.
- locations string[]
- The locations that the SKU is available.
- resource
Type string - The type of resource the SKU applies to.
- capabilities
This property is required. Sequence[TestBase Account SKUCapability Response] - The capabilities of a SKU.
- name
This property is required. str - The name of the SKU. This is typically a letter + number code, such as B0 or S0.
- tier
This property is required. str - The tier of this particular SKU.
- locations Sequence[str]
- The locations that the SKU is available.
- resource_
type str - The type of resource the SKU applies to.
- capabilities
This property is required. List<Property Map> - The capabilities of a SKU.
- name
This property is required. String - The name of the SKU. This is typically a letter + number code, such as B0 or S0.
- tier
This property is required. String - The tier of this particular SKU.
- locations List<String>
- The locations that the SKU is available.
- resource
Type String - The type of resource the SKU applies to.
Tier, TierArgs
- Standard
- Standard
- Tier
Standard - Standard
- Standard
- Standard
- Standard
- Standard
- STANDARD
- Standard
- "Standard"
- Standard
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:testbase:TestBaseAccount contoso-testBaseAccount1 /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TestBase/testBaseAccounts/{testBaseAccountName}
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0