azure-native.testbase.FavoriteProcess
Explore with Pulumi AI
A favorite process identifier.
Uses Azure REST API version 2022-04-01-preview. In version 1.x of the Azure Native provider, it used API version 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",
    });
});
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
	})
}
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());
    }
}
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",
});
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")
resources:
  favoriteProcess:
    type: azure-native:testbase:FavoriteProcess
    properties:
      actualProcessName: testApp&.exe
      favoriteProcessResourceName: testAppProcess
      packageName: contoso-package2
      resourceGroupName: contoso-rg1
      testBaseAccountName: contoso-testBaseAccount1
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 string
- The unique name of the resource.
- args FavoriteProcessArgs
- 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 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 string
- The unique name of the resource.
- args FavoriteProcessArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args FavoriteProcessArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args 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",
});
example, err := testbase.NewFavoriteProcess(ctx, "favoriteProcessResource", &testbase.FavoriteProcessArgs{
	ActualProcessName:           pulumi.String("string"),
	PackageName:                 pulumi.String("string"),
	ResourceGroupName:           pulumi.String("string"),
	TestBaseAccountName:         pulumi.String("string"),
	FavoriteProcessResourceName: pulumi.String("string"),
})
var favoriteProcessResource = new FavoriteProcess("favoriteProcessResource", FavoriteProcessArgs.builder()
    .actualProcessName("string")
    .packageName("string")
    .resourceGroupName("string")
    .testBaseAccountName("string")
    .favoriteProcessResourceName("string")
    .build());
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")
const favoriteProcessResource = new azure_native.testbase.FavoriteProcess("favoriteProcessResource", {
    actualProcessName: "string",
    packageName: "string",
    resourceGroupName: "string",
    testBaseAccountName: "string",
    favoriteProcessResourceName: "string",
});
type: azure-native:testbase:FavoriteProcess
properties:
    actualProcessName: string
    favoriteProcessResourceName: string
    packageName: string
    resourceGroupName: string
    testBaseAccountName: string
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:
- ActualProcess stringName 
- 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 string
- The resource name of the Test Base Package.
- ResourceGroup stringName 
- The name of the resource group that contains the resource.
- TestBase stringAccount Name 
- The resource name of the Test Base Account.
- FavoriteProcess stringResource Name 
- 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.
- ActualProcess stringName 
- 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 string
- The resource name of the Test Base Package.
- ResourceGroup stringName 
- The name of the resource group that contains the resource.
- TestBase stringAccount Name 
- The resource name of the Test Base Account.
- FavoriteProcess stringResource Name 
- 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.
- actualProcess StringName 
- 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 String
- The resource name of the Test Base Package.
- resourceGroup StringName 
- The name of the resource group that contains the resource.
- testBase StringAccount Name 
- The resource name of the Test Base Account.
- favoriteProcess StringResource Name 
- 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.
- actualProcess stringName 
- 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 string
- The resource name of the Test Base Package.
- resourceGroup stringName 
- The name of the resource group that contains the resource.
- testBase stringAccount Name 
- The resource name of the Test Base Account.
- favoriteProcess stringResource Name 
- 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_ strname 
- 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 str
- The resource name of the Test Base Package.
- resource_group_ strname 
- The name of the resource group that contains the resource.
- test_base_ straccount_ name 
- The resource name of the Test Base Account.
- favorite_process_ strresource_ name 
- 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.
- actualProcess StringName 
- 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 String
- The resource name of the Test Base Package.
- resourceGroup StringName 
- The name of the resource group that contains the resource.
- testBase StringAccount Name 
- The resource name of the Test Base Account.
- favoriteProcess StringResource Name 
- 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.Azure Native. Test Base. Outputs. System Data Response 
- 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 SystemData Response 
- 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 SystemData Response 
- 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 SystemData Response 
- 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 SystemData Response 
- 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.
- CreatedBy stringType 
- The type of identity that created the resource.
- LastModified stringAt 
- The type of identity that last modified the resource.
- LastModified stringBy 
- The identity that last modified the resource.
- LastModified stringBy Type 
- 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.
- CreatedBy stringType 
- The type of identity that created the resource.
- LastModified stringAt 
- The type of identity that last modified the resource.
- LastModified stringBy 
- The identity that last modified the resource.
- LastModified stringBy Type 
- 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.
- createdBy StringType 
- The type of identity that created the resource.
- lastModified StringAt 
- The type of identity that last modified the resource.
- lastModified StringBy 
- The identity that last modified the resource.
- lastModified StringBy Type 
- 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.
- createdBy stringType 
- The type of identity that created the resource.
- lastModified stringAt 
- The type of identity that last modified the resource.
- lastModified stringBy 
- The identity that last modified the resource.
- lastModified 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.
- createdAt String
- The timestamp of resource creation (UTC).
- createdBy String
- The identity that created the resource.
- createdBy StringType 
- The type of identity that created the resource.
- lastModified StringAt 
- The type of identity that last modified the resource.
- lastModified StringBy 
- The identity that last modified the resource.
- lastModified 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:FavoriteProcess testAppProcess /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TestBase/testBaseAccounts/{testBaseAccountName}/packages/{packageName}/favoriteProcesses/{favoriteProcessResourceName} 
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0