azure-native.testbase.FavoriteProcess

A favorite process identifier. API Version: 2022-04-01-preview.

Example Usage

FavoriteProcessCreate

using System.Collections.Generic;
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/go/azure/testbase"
	"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 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")
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",
});
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

new FavoriteProcess(name: string, args: FavoriteProcessArgs, opts?: CustomResourceOptions);
@overload
def FavoriteProcess(resource_name: str,
                    opts: Optional[ResourceOptions] = None,
                    actual_process_name: Optional[str] = None,
                    favorite_process_resource_name: Optional[str] = None,
                    package_name: Optional[str] = None,
                    resource_group_name: Optional[str] = None,
                    test_base_account_name: Optional[str] = None)
@overload
def FavoriteProcess(resource_name: str,
                    args: FavoriteProcessArgs,
                    opts: Optional[ResourceOptions] = 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.

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.

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

The FavoriteProcess resource accepts the following input properties:

ActualProcessName 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 string

The resource name of the Test Base Package.

ResourceGroupName string

The name of the resource group that contains the resource.

TestBaseAccountName string

The resource name of the Test Base Account.

FavoriteProcessResourceName 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 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 string

The resource name of the Test Base Package.

ResourceGroupName string

The name of the resource group that contains the resource.

TestBaseAccountName string

The resource name of the Test Base Account.

FavoriteProcessResourceName 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 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 String

The resource name of the Test Base Package.

resourceGroupName String

The name of the resource group that contains the resource.

testBaseAccountName String

The resource name of the Test Base Account.

favoriteProcessResourceName 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 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 string

The resource name of the Test Base Package.

resourceGroupName string

The name of the resource group that contains the resource.

testBaseAccountName string

The resource name of the Test Base Account.

favoriteProcessResourceName 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 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 str

The resource name of the Test Base Package.

resource_group_name str

The name of the resource group that contains the resource.

test_base_account_name str

The resource name of the Test Base Account.

favorite_process_resource_name 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 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 String

The resource name of the Test Base Package.

resourceGroupName String

The name of the resource group that contains the resource.

testBaseAccountName String

The resource name of the Test Base Account.

favoriteProcessResourceName 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

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/subscription-id/resourceGroups/contoso-rg1/providers/Microsoft.TestBase/testBaseAccounts/contoso-testBaseAccount1/packages/contoso-package2/favoriteProcesses/testAppProcess 

Package Details

Repository
Azure Native pulumi/pulumi-azure-native
License
Apache-2.0