1. Packages
  2. Azure Native v2
  3. API Docs
  4. testbase
  5. FavoriteProcess
These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi

azure-native-v2.testbase.FavoriteProcess

Explore with Pulumi AI

These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi

A favorite process identifier. 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

FavoriteProcessCreate

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;

return await Deployment.RunAsync(() => 
{
    var favoriteProcess = new AzureNative.TestBase.FavoriteProcess("favoriteProcess", new()
    {
        ActualProcessName = "testApp&.exe",
        FavoriteProcessResourceName = "testAppProcess",
        PackageName = "contoso-package2",
        ResourceGroupName = "contoso-rg1",
        TestBaseAccountName = "contoso-testBaseAccount1",
    });

});
Copy
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.NewFavoriteProcess(ctx, "favoriteProcess", &testbase.FavoriteProcessArgs{
			ActualProcessName:           pulumi.String("testApp&.exe"),
			FavoriteProcessResourceName: pulumi.String("testAppProcess"),
			PackageName:                 pulumi.String("contoso-package2"),
			ResourceGroupName:           pulumi.String("contoso-rg1"),
			TestBaseAccountName:         pulumi.String("contoso-testBaseAccount1"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.testbase.FavoriteProcess;
import com.pulumi.azurenative.testbase.FavoriteProcessArgs;
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 favoriteProcess = new FavoriteProcess("favoriteProcess", FavoriteProcessArgs.builder()
            .actualProcessName("testApp&.exe")
            .favoriteProcessResourceName("testAppProcess")
            .packageName("contoso-package2")
            .resourceGroupName("contoso-rg1")
            .testBaseAccountName("contoso-testBaseAccount1")
            .build());

    }
}
Copy
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";

const favoriteProcess = new azure_native.testbase.FavoriteProcess("favoriteProcess", {
    actualProcessName: "testApp&.exe",
    favoriteProcessResourceName: "testAppProcess",
    packageName: "contoso-package2",
    resourceGroupName: "contoso-rg1",
    testBaseAccountName: "contoso-testBaseAccount1",
});
Copy
import pulumi
import pulumi_azure_native as azure_native

favorite_process = azure_native.testbase.FavoriteProcess("favoriteProcess",
    actual_process_name="testApp&.exe",
    favorite_process_resource_name="testAppProcess",
    package_name="contoso-package2",
    resource_group_name="contoso-rg1",
    test_base_account_name="contoso-testBaseAccount1")
Copy
resources:
  favoriteProcess:
    type: azure-native:testbase:FavoriteProcess
    properties:
      actualProcessName: testApp&.exe
      favoriteProcessResourceName: testAppProcess
      packageName: contoso-package2
      resourceGroupName: contoso-rg1
      testBaseAccountName: contoso-testBaseAccount1
Copy

Create FavoriteProcess Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new FavoriteProcess(name: string, args: FavoriteProcessArgs, opts?: CustomResourceOptions);
@overload
def FavoriteProcess(resource_name: str,
                    args: FavoriteProcessArgs,
                    opts: Optional[ResourceOptions] = None)

@overload
def FavoriteProcess(resource_name: str,
                    opts: Optional[ResourceOptions] = None,
                    actual_process_name: Optional[str] = None,
                    package_name: Optional[str] = None,
                    resource_group_name: Optional[str] = None,
                    test_base_account_name: Optional[str] = None,
                    favorite_process_resource_name: Optional[str] = None)
func NewFavoriteProcess(ctx *Context, name string, args FavoriteProcessArgs, opts ...ResourceOption) (*FavoriteProcess, error)
public FavoriteProcess(string name, FavoriteProcessArgs args, CustomResourceOptions? opts = null)
public FavoriteProcess(String name, FavoriteProcessArgs args)
public FavoriteProcess(String name, FavoriteProcessArgs args, CustomResourceOptions options)
type: azure-native:testbase:FavoriteProcess
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. FavoriteProcessArgs
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. FavoriteProcessArgs
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. FavoriteProcessArgs
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. FavoriteProcessArgs
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. FavoriteProcessArgs
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 favoriteProcessResource = new AzureNative.Testbase.FavoriteProcess("favoriteProcessResource", new()
{
    ActualProcessName = "string",
    PackageName = "string",
    ResourceGroupName = "string",
    TestBaseAccountName = "string",
    FavoriteProcessResourceName = "string",
});
Copy
example, err := testbase.NewFavoriteProcess(ctx, "favoriteProcessResource", &testbase.FavoriteProcessArgs{
	ActualProcessName:           "string",
	PackageName:                 "string",
	ResourceGroupName:           "string",
	TestBaseAccountName:         "string",
	FavoriteProcessResourceName: "string",
})
Copy
var favoriteProcessResource = new FavoriteProcess("favoriteProcessResource", FavoriteProcessArgs.builder()
    .actualProcessName("string")
    .packageName("string")
    .resourceGroupName("string")
    .testBaseAccountName("string")
    .favoriteProcessResourceName("string")
    .build());
Copy
favorite_process_resource = azure_native.testbase.FavoriteProcess("favoriteProcessResource",
    actual_process_name=string,
    package_name=string,
    resource_group_name=string,
    test_base_account_name=string,
    favorite_process_resource_name=string)
Copy
const favoriteProcessResource = new azure_native.testbase.FavoriteProcess("favoriteProcessResource", {
    actualProcessName: "string",
    packageName: "string",
    resourceGroupName: "string",
    testBaseAccountName: "string",
    favoriteProcessResourceName: "string",
});
Copy
type: azure-native:testbase:FavoriteProcess
properties:
    actualProcessName: string
    favoriteProcessResourceName: string
    packageName: string
    resourceGroupName: string
    testBaseAccountName: string
Copy

FavoriteProcess 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 FavoriteProcess resource accepts the following input properties:

ActualProcessName This property is required. string
The actual name of the favorite process. It will be equal to resource name except for the scenario that the process name contains characters that are not allowed in the resource name.
PackageName
This property is required.
Changes to this property will trigger replacement.
string
The resource name of the Test Base Package.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group that contains the resource.
TestBaseAccountName
This property is required.
Changes to this property will trigger replacement.
string
The resource name of the Test Base Account.
FavoriteProcessResourceName Changes to this property will trigger replacement. string
The resource name of a favorite process in a package. If the process name contains characters that are not allowed in Azure Resource Name, we use 'actualProcessName' in request body to submit the name.
ActualProcessName This property is required. string
The actual name of the favorite process. It will be equal to resource name except for the scenario that the process name contains characters that are not allowed in the resource name.
PackageName
This property is required.
Changes to this property will trigger replacement.
string
The resource name of the Test Base Package.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group that contains the resource.
TestBaseAccountName
This property is required.
Changes to this property will trigger replacement.
string
The resource name of the Test Base Account.
FavoriteProcessResourceName Changes to this property will trigger replacement. string
The resource name of a favorite process in a package. If the process name contains characters that are not allowed in Azure Resource Name, we use 'actualProcessName' in request body to submit the name.
actualProcessName This property is required. String
The actual name of the favorite process. It will be equal to resource name except for the scenario that the process name contains characters that are not allowed in the resource name.
packageName
This property is required.
Changes to this property will trigger replacement.
String
The resource name of the Test Base Package.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group that contains the resource.
testBaseAccountName
This property is required.
Changes to this property will trigger replacement.
String
The resource name of the Test Base Account.
favoriteProcessResourceName Changes to this property will trigger replacement. String
The resource name of a favorite process in a package. If the process name contains characters that are not allowed in Azure Resource Name, we use 'actualProcessName' in request body to submit the name.
actualProcessName This property is required. string
The actual name of the favorite process. It will be equal to resource name except for the scenario that the process name contains characters that are not allowed in the resource name.
packageName
This property is required.
Changes to this property will trigger replacement.
string
The resource name of the Test Base Package.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group that contains the resource.
testBaseAccountName
This property is required.
Changes to this property will trigger replacement.
string
The resource name of the Test Base Account.
favoriteProcessResourceName Changes to this property will trigger replacement. string
The resource name of a favorite process in a package. If the process name contains characters that are not allowed in Azure Resource Name, we use 'actualProcessName' in request body to submit the name.
actual_process_name This property is required. str
The actual name of the favorite process. It will be equal to resource name except for the scenario that the process name contains characters that are not allowed in the resource name.
package_name
This property is required.
Changes to this property will trigger replacement.
str
The resource name of the Test Base Package.
resource_group_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the resource group that contains the resource.
test_base_account_name
This property is required.
Changes to this property will trigger replacement.
str
The resource name of the Test Base Account.
favorite_process_resource_name Changes to this property will trigger replacement. str
The resource name of a favorite process in a package. If the process name contains characters that are not allowed in Azure Resource Name, we use 'actualProcessName' in request body to submit the name.
actualProcessName This property is required. String
The actual name of the favorite process. It will be equal to resource name except for the scenario that the process name contains characters that are not allowed in the resource name.
packageName
This property is required.
Changes to this property will trigger replacement.
String
The resource name of the Test Base Package.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group that contains the resource.
testBaseAccountName
This property is required.
Changes to this property will trigger replacement.
String
The resource name of the Test Base Account.
favoriteProcessResourceName Changes to this property will trigger replacement. String
The resource name of a favorite process in a package. If the process name contains characters that are not allowed in Azure Resource Name, we use 'actualProcessName' in request body to submit the name.

Outputs

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

Id string
The provider-assigned unique ID for this managed resource.
Name string
Resource name.
SystemData Pulumi.AzureNative.TestBase.Outputs.SystemDataResponse
The system metadata relating to this resource
Type string
Resource type.
Id string
The provider-assigned unique ID for this managed resource.
Name string
Resource name.
SystemData SystemDataResponse
The system metadata relating to this resource
Type string
Resource type.
id String
The provider-assigned unique ID for this managed resource.
name String
Resource name.
systemData SystemDataResponse
The system metadata relating to this resource
type String
Resource type.
id string
The provider-assigned unique ID for this managed resource.
name string
Resource name.
systemData SystemDataResponse
The system metadata relating to this resource
type string
Resource type.
id str
The provider-assigned unique ID for this managed resource.
name str
Resource name.
system_data SystemDataResponse
The system metadata relating to this resource
type str
Resource type.
id String
The provider-assigned unique ID for this managed resource.
name String
Resource name.
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.

Import

An existing resource can be imported using its type token, name, and identifier, e.g.

$ pulumi import azure-native:testbase:FavoriteProcess testAppProcess /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TestBase/testBaseAccounts/{testBaseAccountName}/packages/{packageName}/favoriteProcesses/{favoriteProcessResourceName} 
Copy

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

Package Details

Repository
azure-native-v2 pulumi/pulumi-azure-native
License
Apache-2.0
These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi