import * as pulumi from "@pulumi/pulumi"; /** * Manages a System Center Virtual Machine Manager Availability Set. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as azure from "@pulumi/azure"; * * const example = new azure.core.ResourceGroup("example", { * name: "example-resources", * location: "West Europe", * }); * const exampleVirtualMachineManagerServer = new azure.systemcenter.VirtualMachineManagerServer("example", { * name: "example-scvmmms", * resourceGroupName: example.name, * location: example.location, * customLocationId: "/subscriptions/12345678-1234-9876-4563-123456789012/resourceGroups/resGroup1/providers/Microsoft.ExtendedLocation/customLocations/customLocation1", * fqdn: "example.labtest", * username: "testUser", * password: "H@Sh1CoR3!", * }); * const exampleVirtualMachineManagerAvailabilitySet = new azure.systemcenter.VirtualMachineManagerAvailabilitySet("example", { * name: "example-scvmmas", * resourceGroupName: example.name, * location: example.location, * customLocationId: exampleVirtualMachineManagerServer.customLocationId, * systemCenterVirtualMachineManagerServerId: exampleVirtualMachineManagerServer.id, * }); * ``` * * ## API Providers * * * This resource uses the following Azure API Providers: * * * `Microsoft.ScVmm` - 2023-10-07 * * ## Import * * System Center Virtual Machine Manager Availability Sets can be imported into Pulumi using the `resource id`, e.g. * * ```sh * $ pulumi import azure:systemcenter/virtualMachineManagerAvailabilitySet:VirtualMachineManagerAvailabilitySet example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup1/providers/Microsoft.ScVmm/availabilitySets/availabilitySet1 * ``` */ export declare class VirtualMachineManagerAvailabilitySet extends pulumi.CustomResource { /** * Get an existing VirtualMachineManagerAvailabilitySet resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: VirtualMachineManagerAvailabilitySetState, opts?: pulumi.CustomResourceOptions): VirtualMachineManagerAvailabilitySet; /** * Returns true if the given object is an instance of VirtualMachineManagerAvailabilitySet. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is VirtualMachineManagerAvailabilitySet; /** * The ID of the Custom Location for the System Center Virtual Machine Manager Availability Set. Changing this forces a new resource to be created. */ readonly customLocationId: pulumi.Output; /** * The Azure Region where the System Center Virtual Machine Manager Availability Set should exist. Changing this forces a new resource to be created. */ readonly location: pulumi.Output; /** * The name of the System Center Virtual Machine Manager Availability Set. Changing this forces a new resource to be created. */ readonly name: pulumi.Output; /** * The name of the Resource Group where the System Center Virtual Machine Availability Set should exist. Changing this forces a new resource to be created. */ readonly resourceGroupName: pulumi.Output; /** * The ID of the System Center Virtual Machine Manager Server. Changing this forces a new resource to be created. */ readonly systemCenterVirtualMachineManagerServerId: pulumi.Output; /** * A mapping of tags which should be assigned to the System Center Virtual Machine Manager Availability Set. */ readonly tags: pulumi.Output<{ [key: string]: string; } | undefined>; /** * Create a VirtualMachineManagerAvailabilitySet resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: VirtualMachineManagerAvailabilitySetArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering VirtualMachineManagerAvailabilitySet resources. */ export interface VirtualMachineManagerAvailabilitySetState { /** * The ID of the Custom Location for the System Center Virtual Machine Manager Availability Set. Changing this forces a new resource to be created. */ customLocationId?: pulumi.Input; /** * The Azure Region where the System Center Virtual Machine Manager Availability Set should exist. Changing this forces a new resource to be created. */ location?: pulumi.Input; /** * The name of the System Center Virtual Machine Manager Availability Set. Changing this forces a new resource to be created. */ name?: pulumi.Input; /** * The name of the Resource Group where the System Center Virtual Machine Availability Set should exist. Changing this forces a new resource to be created. */ resourceGroupName?: pulumi.Input; /** * The ID of the System Center Virtual Machine Manager Server. Changing this forces a new resource to be created. */ systemCenterVirtualMachineManagerServerId?: pulumi.Input; /** * A mapping of tags which should be assigned to the System Center Virtual Machine Manager Availability Set. */ tags?: pulumi.Input<{ [key: string]: pulumi.Input; }>; } /** * The set of arguments for constructing a VirtualMachineManagerAvailabilitySet resource. */ export interface VirtualMachineManagerAvailabilitySetArgs { /** * The ID of the Custom Location for the System Center Virtual Machine Manager Availability Set. Changing this forces a new resource to be created. */ customLocationId: pulumi.Input; /** * The Azure Region where the System Center Virtual Machine Manager Availability Set should exist. Changing this forces a new resource to be created. */ location?: pulumi.Input; /** * The name of the System Center Virtual Machine Manager Availability Set. Changing this forces a new resource to be created. */ name?: pulumi.Input; /** * The name of the Resource Group where the System Center Virtual Machine Availability Set should exist. Changing this forces a new resource to be created. */ resourceGroupName: pulumi.Input; /** * The ID of the System Center Virtual Machine Manager Server. Changing this forces a new resource to be created. */ systemCenterVirtualMachineManagerServerId: pulumi.Input; /** * A mapping of tags which should be assigned to the System Center Virtual Machine Manager Availability Set. */ tags?: pulumi.Input<{ [key: string]: pulumi.Input; }>; }