azure-native.testbase.FavoriteProcess
Explore with Pulumi AI
A favorite process identifier. API Version: 2022-04-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"
"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
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: "string",
PackageName: "string",
ResourceGroupName: "string",
TestBaseAccountName: "string",
FavoriteProcessResourceName: "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:
- Actual
Process 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.
- Package
Name string - The resource name of the Test Base Package.
- Resource
Group stringName - The name of the resource group that contains the resource.
- Test
Base stringAccount Name - The resource name of the Test Base Account.
- Favorite
Process 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 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.
- Package
Name string - The resource name of the Test Base Package.
- Resource
Group stringName - The name of the resource group that contains the resource.
- Test
Base stringAccount Name - The resource name of the Test Base Account.
- Favorite
Process 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 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.
- package
Name String - The resource name of the Test Base Package.
- resource
Group StringName - The name of the resource group that contains the resource.
- test
Base StringAccount Name - The resource name of the Test Base Account.
- favorite
Process 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 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.
- package
Name string - The resource name of the Test Base Package.
- resource
Group stringName - The name of the resource group that contains the resource.
- test
Base stringAccount Name - The resource name of the Test Base Account.
- favorite
Process 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.
- actual
Process 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.
- package
Name String - The resource name of the Test Base Package.
- resource
Group StringName - The name of the resource group that contains the resource.
- test
Base StringAccount Name - The resource name of the Test Base Account.
- favorite
Process 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.
- System
Data 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.
- System
Data 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.
- system
Data 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.
- system
Data 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.
- system
Data Property Map - The system metadata relating to this resource
- type String
- Resource type.
Supporting Types
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 type of identity that last modified the resource.
- 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 type of identity that last modified the resource.
- 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 type of identity that last modified the resource.
- 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 type of identity that last modified the resource.
- 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 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.
- 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 type of identity that last modified the resource.
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified 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/subscription-id/resourceGroups/contoso-rg1/providers/Microsoft.TestBase/testBaseAccounts/contoso-testBaseAccount1/packages/contoso-package2/favoriteProcesses/testAppProcess
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- azure-native-v1 pulumi/pulumi-azure-native
- License
- Apache-2.0