1. Packages
  2. Azure Native
  3. API Docs
  4. testbase
  5. TestBaseAccount
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.34.0 published on Thursday, Mar 28, 2024 by Pulumi

azure-native.testbase.TestBaseAccount

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.34.0 published on Thursday, Mar 28, 2024 by Pulumi

    The Test Base Account resource. Azure REST API version: 2022-04-01-preview. Prior API version in Azure Native 1.x: 2022-04-01-preview.

    Other available API versions: 2023-11-01-preview.

    Example Usage

    TestBaseAccountCreate

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var testBaseAccount = new AzureNative.TestBase.TestBaseAccount("testBaseAccount", new()
        {
            Location = "westus",
            ResourceGroupName = "contoso-rg1",
            Sku = new AzureNative.TestBase.Inputs.TestBaseAccountSKUArgs
            {
                Name = "S0",
                Tier = AzureNative.TestBase.Tier.Standard,
            },
            TestBaseAccountName = "contoso-testBaseAccount1",
        });
    
    });
    
    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.NewTestBaseAccount(ctx, "testBaseAccount", &testbase.TestBaseAccountArgs{
    			Location:          pulumi.String("westus"),
    			ResourceGroupName: pulumi.String("contoso-rg1"),
    			Sku: &testbase.TestBaseAccountSKUArgs{
    				Name: pulumi.String("S0"),
    				Tier: pulumi.String(testbase.TierStandard),
    			},
    			TestBaseAccountName: pulumi.String("contoso-testBaseAccount1"),
    		})
    		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.TestBaseAccount;
    import com.pulumi.azurenative.testbase.TestBaseAccountArgs;
    import com.pulumi.azurenative.testbase.inputs.TestBaseAccountSKUArgs;
    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 testBaseAccount = new TestBaseAccount("testBaseAccount", TestBaseAccountArgs.builder()        
                .location("westus")
                .resourceGroupName("contoso-rg1")
                .sku(TestBaseAccountSKUArgs.builder()
                    .name("S0")
                    .tier("Standard")
                    .build())
                .testBaseAccountName("contoso-testBaseAccount1")
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    test_base_account = azure_native.testbase.TestBaseAccount("testBaseAccount",
        location="westus",
        resource_group_name="contoso-rg1",
        sku=azure_native.testbase.TestBaseAccountSKUArgs(
            name="S0",
            tier=azure_native.testbase.Tier.STANDARD,
        ),
        test_base_account_name="contoso-testBaseAccount1")
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const testBaseAccount = new azure_native.testbase.TestBaseAccount("testBaseAccount", {
        location: "westus",
        resourceGroupName: "contoso-rg1",
        sku: {
            name: "S0",
            tier: azure_native.testbase.Tier.Standard,
        },
        testBaseAccountName: "contoso-testBaseAccount1",
    });
    
    resources:
      testBaseAccount:
        type: azure-native:testbase:TestBaseAccount
        properties:
          location: westus
          resourceGroupName: contoso-rg1
          sku:
            name: S0
            tier: Standard
          testBaseAccountName: contoso-testBaseAccount1
    

    Create TestBaseAccount Resource

    new TestBaseAccount(name: string, args: TestBaseAccountArgs, opts?: CustomResourceOptions);
    @overload
    def TestBaseAccount(resource_name: str,
                        opts: Optional[ResourceOptions] = None,
                        location: Optional[str] = None,
                        resource_group_name: Optional[str] = None,
                        restore: Optional[bool] = None,
                        sku: Optional[TestBaseAccountSKUArgs] = None,
                        tags: Optional[Mapping[str, str]] = None,
                        test_base_account_name: Optional[str] = None)
    @overload
    def TestBaseAccount(resource_name: str,
                        args: TestBaseAccountArgs,
                        opts: Optional[ResourceOptions] = 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.
    
    
    name string
    The unique name of the resource.
    args TestBaseAccountArgs
    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 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 string
    The unique name of the resource.
    args TestBaseAccountArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args TestBaseAccountArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args TestBaseAccountArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    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

    The TestBaseAccount resource accepts the following input properties:

    ResourceGroupName string
    The name of the resource group that contains the resource.
    Sku Pulumi.AzureNative.TestBase.Inputs.TestBaseAccountSKU
    The SKU of the Test Base Account.
    Location string
    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.
    Tags Dictionary<string, string>
    The tags of the resource.
    TestBaseAccountName string
    The resource name of the Test Base Account.
    ResourceGroupName string
    The name of the resource group that contains the resource.
    Sku TestBaseAccountSKUArgs
    The SKU of the Test Base Account.
    Location string
    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.
    Tags map[string]string
    The tags of the resource.
    TestBaseAccountName string
    The resource name of the Test Base Account.
    resourceGroupName String
    The name of the resource group that contains the resource.
    sku TestBaseAccountSKU
    The SKU of the Test Base Account.
    location String
    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.
    tags Map<String,String>
    The tags of the resource.
    testBaseAccountName String
    The resource name of the Test Base Account.
    resourceGroupName string
    The name of the resource group that contains the resource.
    sku TestBaseAccountSKU
    The SKU of the Test Base Account.
    location string
    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.
    tags {[key: string]: string}
    The tags of the resource.
    testBaseAccountName string
    The resource name of the Test Base Account.
    resource_group_name str
    The name of the resource group that contains the resource.
    sku TestBaseAccountSKUArgs
    The SKU of the Test Base Account.
    location str
    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.
    tags Mapping[str, str]
    The tags of the resource.
    test_base_account_name str
    The resource name of the Test Base Account.
    resourceGroupName String
    The name of the resource group that contains the resource.
    sku Property Map
    The SKU of the Test Base Account.
    location String
    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.
    tags Map<String>
    The tags of the resource.
    testBaseAccountName String
    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:

    AccessLevel string
    The access level of the Test Base Account.
    Etag string
    Resource Etag.
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    Resource name.
    ProvisioningState string
    The provisioning state of the resource.
    SystemData Pulumi.AzureNative.TestBase.Outputs.SystemDataResponse
    The system metadata relating to this resource
    Type string
    Resource type.
    AccessLevel string
    The access level of the Test Base Account.
    Etag string
    Resource Etag.
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    Resource name.
    ProvisioningState string
    The provisioning state of the resource.
    SystemData SystemDataResponse
    The system metadata relating to this resource
    Type string
    Resource type.
    accessLevel String
    The access level of the Test Base Account.
    etag String
    Resource Etag.
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    Resource name.
    provisioningState String
    The provisioning state of the resource.
    systemData SystemDataResponse
    The system metadata relating to this resource
    type String
    Resource type.
    accessLevel string
    The access level of the Test Base Account.
    etag string
    Resource Etag.
    id string
    The provider-assigned unique ID for this managed resource.
    name string
    Resource name.
    provisioningState string
    The provisioning state of the resource.
    systemData SystemDataResponse
    The system metadata relating to this resource
    type string
    Resource type.
    access_level str
    The access level of the Test Base Account.
    etag str
    Resource Etag.
    id str
    The provider-assigned unique ID for this managed resource.
    name str
    Resource name.
    provisioning_state str
    The provisioning state of the resource.
    system_data SystemDataResponse
    The system metadata relating to this resource
    type str
    Resource type.
    accessLevel String
    The access level of the Test Base Account.
    etag String
    Resource Etag.
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    Resource name.
    provisioningState String
    The provisioning state of the resource.
    systemData Property Map
    The system metadata relating to this resource
    type String
    Resource type.

    Supporting Types

    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.

    TestBaseAccountSKU, TestBaseAccountSKUArgs

    Name string
    The name of the SKU. This is typically a letter + number code, such as B0 or S0.
    Tier string | Pulumi.AzureNative.TestBase.Tier
    The tier of this particular SKU.
    Locations List<string>
    The locations that the SKU is available.
    ResourceType string
    The type of resource the SKU applies to.
    Name string
    The name of the SKU. This is typically a letter + number code, such as B0 or S0.
    Tier string | Tier
    The tier of this particular SKU.
    Locations []string
    The locations that the SKU is available.
    ResourceType string
    The type of resource the SKU applies to.
    name String
    The name of the SKU. This is typically a letter + number code, such as B0 or S0.
    tier String | Tier
    The tier of this particular SKU.
    locations List<String>
    The locations that the SKU is available.
    resourceType String
    The type of resource the SKU applies to.
    name string
    The name of the SKU. This is typically a letter + number code, such as B0 or S0.
    tier string | Tier
    The tier of this particular SKU.
    locations string[]
    The locations that the SKU is available.
    resourceType string
    The type of resource the SKU applies to.
    name str
    The name of the SKU. This is typically a letter + number code, such as B0 or S0.
    tier 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 String
    The name of the SKU. This is typically a letter + number code, such as B0 or S0.
    tier String | "Standard"
    The tier of this particular SKU.
    locations List<String>
    The locations that the SKU is available.
    resourceType String
    The type of resource the SKU applies to.

    TestBaseAccountSKUCapabilityResponse, TestBaseAccountSKUCapabilityResponseArgs

    Name string
    An invariant to describe the feature, such as 'SLA'.
    Value string
    An invariant if the feature is measured by quantity, such as 99.9%.
    Name string
    An invariant to describe the feature, such as 'SLA'.
    Value string
    An invariant if the feature is measured by quantity, such as 99.9%.
    name String
    An invariant to describe the feature, such as 'SLA'.
    value String
    An invariant if the feature is measured by quantity, such as 99.9%.
    name string
    An invariant to describe the feature, such as 'SLA'.
    value string
    An invariant if the feature is measured by quantity, such as 99.9%.
    name str
    An invariant to describe the feature, such as 'SLA'.
    value str
    An invariant if the feature is measured by quantity, such as 99.9%.
    name String
    An invariant to describe the feature, such as 'SLA'.
    value String
    An invariant if the feature is measured by quantity, such as 99.9%.

    TestBaseAccountSKUResponse, TestBaseAccountSKUResponseArgs

    Capabilities List<Pulumi.AzureNative.TestBase.Inputs.TestBaseAccountSKUCapabilityResponse>
    The capabilities of a SKU.
    Name string
    The name of the SKU. This is typically a letter + number code, such as B0 or S0.
    Tier string
    The tier of this particular SKU.
    Locations List<string>
    The locations that the SKU is available.
    ResourceType string
    The type of resource the SKU applies to.
    Capabilities []TestBaseAccountSKUCapabilityResponse
    The capabilities of a SKU.
    Name string
    The name of the SKU. This is typically a letter + number code, such as B0 or S0.
    Tier string
    The tier of this particular SKU.
    Locations []string
    The locations that the SKU is available.
    ResourceType string
    The type of resource the SKU applies to.
    capabilities List<TestBaseAccountSKUCapabilityResponse>
    The capabilities of a SKU.
    name String
    The name of the SKU. This is typically a letter + number code, such as B0 or S0.
    tier String
    The tier of this particular SKU.
    locations List<String>
    The locations that the SKU is available.
    resourceType String
    The type of resource the SKU applies to.
    capabilities TestBaseAccountSKUCapabilityResponse[]
    The capabilities of a SKU.
    name string
    The name of the SKU. This is typically a letter + number code, such as B0 or S0.
    tier string
    The tier of this particular SKU.
    locations string[]
    The locations that the SKU is available.
    resourceType string
    The type of resource the SKU applies to.
    capabilities Sequence[TestBaseAccountSKUCapabilityResponse]
    The capabilities of a SKU.
    name str
    The name of the SKU. This is typically a letter + number code, such as B0 or S0.
    tier 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 List<Property Map>
    The capabilities of a SKU.
    name String
    The name of the SKU. This is typically a letter + number code, such as B0 or S0.
    tier String
    The tier of this particular SKU.
    locations List<String>
    The locations that the SKU is available.
    resourceType String
    The type of resource the SKU applies to.

    Tier, TierArgs

    Standard
    Standard
    TierStandard
    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} 
    

    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.34.0 published on Thursday, Mar 28, 2024 by Pulumi