azure-native.offazure.HypervHostController
Explore with Pulumi AI
A host resource belonging to a site resource. Azure REST API version: 2023-06-06.
Other available API versions: 2023-10-01-preview.
Example Usage
HypervHostController_Create_MaximumSet_Gen
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var hypervHostController = new AzureNative.OffAzure.HypervHostController("hypervHostController", new()
{
Fqdn = "okkwk",
HostName = "XQ-753h-765DG2",
ProvisioningState = AzureNative.OffAzure.ProvisioningState.Created,
ResourceGroupName = "rgmigrate",
RunAsAccountId = "pjgyebznvfxnjzjqt",
SiteName = "---7ed-q11Nx46-98",
});
});
package main
import (
offazure "github.com/pulumi/pulumi-azure-native-sdk/offazure/v2"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := offazure.NewHypervHostController(ctx, "hypervHostController", &offazure.HypervHostControllerArgs{
Fqdn: pulumi.String("okkwk"),
HostName: pulumi.String("XQ-753h-765DG2"),
ProvisioningState: pulumi.String(offazure.ProvisioningStateCreated),
ResourceGroupName: pulumi.String("rgmigrate"),
RunAsAccountId: pulumi.String("pjgyebznvfxnjzjqt"),
SiteName: pulumi.String("---7ed-q11Nx46-98"),
})
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.offazure.HypervHostController;
import com.pulumi.azurenative.offazure.HypervHostControllerArgs;
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 hypervHostController = new HypervHostController("hypervHostController", HypervHostControllerArgs.builder()
.fqdn("okkwk")
.hostName("XQ-753h-765DG2")
.provisioningState("Created")
.resourceGroupName("rgmigrate")
.runAsAccountId("pjgyebznvfxnjzjqt")
.siteName("---7ed-q11Nx46-98")
.build());
}
}
import pulumi
import pulumi_azure_native as azure_native
hyperv_host_controller = azure_native.offazure.HypervHostController("hypervHostController",
fqdn="okkwk",
host_name="XQ-753h-765DG2",
provisioning_state=azure_native.offazure.ProvisioningState.CREATED,
resource_group_name="rgmigrate",
run_as_account_id="pjgyebznvfxnjzjqt",
site_name="---7ed-q11Nx46-98")
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const hypervHostController = new azure_native.offazure.HypervHostController("hypervHostController", {
fqdn: "okkwk",
hostName: "XQ-753h-765DG2",
provisioningState: azure_native.offazure.ProvisioningState.Created,
resourceGroupName: "rgmigrate",
runAsAccountId: "pjgyebznvfxnjzjqt",
siteName: "---7ed-q11Nx46-98",
});
resources:
hypervHostController:
type: azure-native:offazure:HypervHostController
properties:
fqdn: okkwk
hostName: XQ-753h-765DG2
provisioningState: Created
resourceGroupName: rgmigrate
runAsAccountId: pjgyebznvfxnjzjqt
siteName: '---7ed-q11Nx46-98'
HypervHostController_Create_MinimumSet_Gen
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var hypervHostController = new AzureNative.OffAzure.HypervHostController("hypervHostController", new()
{
HostName = "IIfm6suXoKL",
ResourceGroupName = "rgmigrate",
SiteName = "-25mH3",
});
});
package main
import (
offazure "github.com/pulumi/pulumi-azure-native-sdk/offazure/v2"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := offazure.NewHypervHostController(ctx, "hypervHostController", &offazure.HypervHostControllerArgs{
HostName: pulumi.String("IIfm6suXoKL"),
ResourceGroupName: pulumi.String("rgmigrate"),
SiteName: pulumi.String("-25mH3"),
})
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.offazure.HypervHostController;
import com.pulumi.azurenative.offazure.HypervHostControllerArgs;
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 hypervHostController = new HypervHostController("hypervHostController", HypervHostControllerArgs.builder()
.hostName("IIfm6suXoKL")
.resourceGroupName("rgmigrate")
.siteName("-25mH3")
.build());
}
}
import pulumi
import pulumi_azure_native as azure_native
hyperv_host_controller = azure_native.offazure.HypervHostController("hypervHostController",
host_name="IIfm6suXoKL",
resource_group_name="rgmigrate",
site_name="-25mH3")
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const hypervHostController = new azure_native.offazure.HypervHostController("hypervHostController", {
hostName: "IIfm6suXoKL",
resourceGroupName: "rgmigrate",
siteName: "-25mH3",
});
resources:
hypervHostController:
type: azure-native:offazure:HypervHostController
properties:
hostName: IIfm6suXoKL
resourceGroupName: rgmigrate
siteName: -25mH3
Create HypervHostController Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new HypervHostController(name: string, args: HypervHostControllerArgs, opts?: CustomResourceOptions);
@overload
def HypervHostController(resource_name: str,
args: HypervHostControllerArgs,
opts: Optional[ResourceOptions] = None)
@overload
def HypervHostController(resource_name: str,
opts: Optional[ResourceOptions] = None,
resource_group_name: Optional[str] = None,
site_name: Optional[str] = None,
fqdn: Optional[str] = None,
host_name: Optional[str] = None,
provisioning_state: Optional[Union[str, ProvisioningState]] = None,
run_as_account_id: Optional[str] = None)
func NewHypervHostController(ctx *Context, name string, args HypervHostControllerArgs, opts ...ResourceOption) (*HypervHostController, error)
public HypervHostController(string name, HypervHostControllerArgs args, CustomResourceOptions? opts = null)
public HypervHostController(String name, HypervHostControllerArgs args)
public HypervHostController(String name, HypervHostControllerArgs args, CustomResourceOptions options)
type: azure-native:offazure:HypervHostController
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 HypervHostControllerArgs
- 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 HypervHostControllerArgs
- 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 HypervHostControllerArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args HypervHostControllerArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args HypervHostControllerArgs
- 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 hypervHostControllerResource = new AzureNative.OffAzure.HypervHostController("hypervHostControllerResource", new()
{
ResourceGroupName = "string",
SiteName = "string",
Fqdn = "string",
HostName = "string",
ProvisioningState = "string",
RunAsAccountId = "string",
});
example, err := offazure.NewHypervHostController(ctx, "hypervHostControllerResource", &offazure.HypervHostControllerArgs{
ResourceGroupName: pulumi.String("string"),
SiteName: pulumi.String("string"),
Fqdn: pulumi.String("string"),
HostName: pulumi.String("string"),
ProvisioningState: pulumi.String("string"),
RunAsAccountId: pulumi.String("string"),
})
var hypervHostControllerResource = new HypervHostController("hypervHostControllerResource", HypervHostControllerArgs.builder()
.resourceGroupName("string")
.siteName("string")
.fqdn("string")
.hostName("string")
.provisioningState("string")
.runAsAccountId("string")
.build());
hyperv_host_controller_resource = azure_native.offazure.HypervHostController("hypervHostControllerResource",
resource_group_name="string",
site_name="string",
fqdn="string",
host_name="string",
provisioning_state="string",
run_as_account_id="string")
const hypervHostControllerResource = new azure_native.offazure.HypervHostController("hypervHostControllerResource", {
resourceGroupName: "string",
siteName: "string",
fqdn: "string",
hostName: "string",
provisioningState: "string",
runAsAccountId: "string",
});
type: azure-native:offazure:HypervHostController
properties:
fqdn: string
hostName: string
provisioningState: string
resourceGroupName: string
runAsAccountId: string
siteName: string
HypervHostController 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 HypervHostController resource accepts the following input properties:
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Site
Name string - Site name
- Fqdn string
- Gets or sets the FQDN/IPAddress of the Hyper-V host.
- Host
Name string - Host name
- Provisioning
State string | Pulumi.Azure Native. Off Azure. Provisioning State - The status of the last operation.
- Run
As stringAccount Id - Gets or sets the run as account ID of the Hyper-V host.
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Site
Name string - Site name
- Fqdn string
- Gets or sets the FQDN/IPAddress of the Hyper-V host.
- Host
Name string - Host name
- Provisioning
State string | ProvisioningState - The status of the last operation.
- Run
As stringAccount Id - Gets or sets the run as account ID of the Hyper-V host.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- site
Name String - Site name
- fqdn String
- Gets or sets the FQDN/IPAddress of the Hyper-V host.
- host
Name String - Host name
- provisioning
State String | ProvisioningState - The status of the last operation.
- run
As StringAccount Id - Gets or sets the run as account ID of the Hyper-V host.
- resource
Group stringName - The name of the resource group. The name is case insensitive.
- site
Name string - Site name
- fqdn string
- Gets or sets the FQDN/IPAddress of the Hyper-V host.
- host
Name string - Host name
- provisioning
State string | ProvisioningState - The status of the last operation.
- run
As stringAccount Id - Gets or sets the run as account ID of the Hyper-V host.
- resource_
group_ strname - The name of the resource group. The name is case insensitive.
- site_
name str - Site name
- fqdn str
- Gets or sets the FQDN/IPAddress of the Hyper-V host.
- host_
name str - Host name
- provisioning_
state str | ProvisioningState - The status of the last operation.
- run_
as_ straccount_ id - Gets or sets the run as account ID of the Hyper-V host.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- site
Name String - Site name
- fqdn String
- Gets or sets the FQDN/IPAddress of the Hyper-V host.
- host
Name String - Host name
- provisioning
State String | "Created" | "Updated" | "Running" | "Completed" | "Failed" | "Succeeded" | "Canceled" - The status of the last operation.
- run
As StringAccount Id - Gets or sets the run as account ID of the Hyper-V host.
Outputs
All input properties are implicitly available as output properties. Additionally, the HypervHostController resource produces the following output properties:
- Created
Timestamp string - Gets the timestamp marking Hyper-V host creation.
- Errors
List<Pulumi.
Azure Native. Off Azure. Outputs. Health Error Details Response> - Gets the errors.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- The name of the resource
- System
Data Pulumi.Azure Native. Off Azure. Outputs. System Data Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- Updated
Timestamp string - Gets the timestamp marking last updated on the Hyper-V host.
- Version string
- Gets the version of the Hyper-V host.
- Created
Timestamp string - Gets the timestamp marking Hyper-V host creation.
- Errors
[]Health
Error Details Response - Gets the errors.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- The name of the resource
- System
Data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- Updated
Timestamp string - Gets the timestamp marking last updated on the Hyper-V host.
- Version string
- Gets the version of the Hyper-V host.
- created
Timestamp String - Gets the timestamp marking Hyper-V host creation.
- errors
List<Health
Error Details Response> - Gets the errors.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- The name of the resource
- system
Data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- updated
Timestamp String - Gets the timestamp marking last updated on the Hyper-V host.
- version String
- Gets the version of the Hyper-V host.
- created
Timestamp string - Gets the timestamp marking Hyper-V host creation.
- errors
Health
Error Details Response[] - Gets the errors.
- id string
- The provider-assigned unique ID for this managed resource.
- name string
- The name of the resource
- system
Data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- updated
Timestamp string - Gets the timestamp marking last updated on the Hyper-V host.
- version string
- Gets the version of the Hyper-V host.
- created_
timestamp str - Gets the timestamp marking Hyper-V host creation.
- errors
Sequence[Health
Error Details Response] - Gets the errors.
- id str
- The provider-assigned unique ID for this managed resource.
- name str
- The name of the resource
- system_
data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type str
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- updated_
timestamp str - Gets the timestamp marking last updated on the Hyper-V host.
- version str
- Gets the version of the Hyper-V host.
- created
Timestamp String - Gets the timestamp marking Hyper-V host creation.
- errors List<Property Map>
- Gets the errors.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- The name of the resource
- system
Data Property Map - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- updated
Timestamp String - Gets the timestamp marking last updated on the Hyper-V host.
- version String
- Gets the version of the Hyper-V host.
Supporting Types
HealthErrorDetailsResponse, HealthErrorDetailsResponseArgs
- Appliance
Name string - Gets the appliance name.
- Code string
- Gets the error name.
- Discovery
Scope string - Gets discovery scope for which error is encountered.
- Id double
- Gets the error ID.
- Message string
- Gets the error message.
- Message
Parameters Dictionary<string, string> - Gets the message parameters.
- Possible
Causes string - Gets the possible causes of error.
- Recommended
Action string - Gets the recommended action to resolve error.
- Run
As stringAccount Id - Gets run as account id used while performing discovery of entity.
- Severity string
- Gets the error severity.
- Source string
- Gets the error source.
- Summary
Message string - Gets the error summary message.
- Updated
Time stringStamp - Gets the time stamp when the error was updated.
- Appliance
Name string - Gets the appliance name.
- Code string
- Gets the error name.
- Discovery
Scope string - Gets discovery scope for which error is encountered.
- Id float64
- Gets the error ID.
- Message string
- Gets the error message.
- Message
Parameters map[string]string - Gets the message parameters.
- Possible
Causes string - Gets the possible causes of error.
- Recommended
Action string - Gets the recommended action to resolve error.
- Run
As stringAccount Id - Gets run as account id used while performing discovery of entity.
- Severity string
- Gets the error severity.
- Source string
- Gets the error source.
- Summary
Message string - Gets the error summary message.
- Updated
Time stringStamp - Gets the time stamp when the error was updated.
- appliance
Name String - Gets the appliance name.
- code String
- Gets the error name.
- discovery
Scope String - Gets discovery scope for which error is encountered.
- id Double
- Gets the error ID.
- message String
- Gets the error message.
- message
Parameters Map<String,String> - Gets the message parameters.
- possible
Causes String - Gets the possible causes of error.
- recommended
Action String - Gets the recommended action to resolve error.
- run
As StringAccount Id - Gets run as account id used while performing discovery of entity.
- severity String
- Gets the error severity.
- source String
- Gets the error source.
- summary
Message String - Gets the error summary message.
- updated
Time StringStamp - Gets the time stamp when the error was updated.
- appliance
Name string - Gets the appliance name.
- code string
- Gets the error name.
- discovery
Scope string - Gets discovery scope for which error is encountered.
- id number
- Gets the error ID.
- message string
- Gets the error message.
- message
Parameters {[key: string]: string} - Gets the message parameters.
- possible
Causes string - Gets the possible causes of error.
- recommended
Action string - Gets the recommended action to resolve error.
- run
As stringAccount Id - Gets run as account id used while performing discovery of entity.
- severity string
- Gets the error severity.
- source string
- Gets the error source.
- summary
Message string - Gets the error summary message.
- updated
Time stringStamp - Gets the time stamp when the error was updated.
- appliance_
name str - Gets the appliance name.
- code str
- Gets the error name.
- discovery_
scope str - Gets discovery scope for which error is encountered.
- id float
- Gets the error ID.
- message str
- Gets the error message.
- message_
parameters Mapping[str, str] - Gets the message parameters.
- possible_
causes str - Gets the possible causes of error.
- recommended_
action str - Gets the recommended action to resolve error.
- run_
as_ straccount_ id - Gets run as account id used while performing discovery of entity.
- severity str
- Gets the error severity.
- source str
- Gets the error source.
- summary_
message str - Gets the error summary message.
- updated_
time_ strstamp - Gets the time stamp when the error was updated.
- appliance
Name String - Gets the appliance name.
- code String
- Gets the error name.
- discovery
Scope String - Gets discovery scope for which error is encountered.
- id Number
- Gets the error ID.
- message String
- Gets the error message.
- message
Parameters Map<String> - Gets the message parameters.
- possible
Causes String - Gets the possible causes of error.
- recommended
Action String - Gets the recommended action to resolve error.
- run
As StringAccount Id - Gets run as account id used while performing discovery of entity.
- severity String
- Gets the error severity.
- source String
- Gets the error source.
- summary
Message String - Gets the error summary message.
- updated
Time StringStamp - Gets the time stamp when the error was updated.
ProvisioningState, ProvisioningStateArgs
- Created
- CreatedCreated value.
- Updated
- UpdatedUpdated value.
- Running
- RunningRunning value.
- Completed
- CompletedCompleted value.
- Failed
- FailedFailed value.
- Succeeded
- SucceededSucceeded value.
- Canceled
- CanceledCanceled value.
- Provisioning
State Created - CreatedCreated value.
- Provisioning
State Updated - UpdatedUpdated value.
- Provisioning
State Running - RunningRunning value.
- Provisioning
State Completed - CompletedCompleted value.
- Provisioning
State Failed - FailedFailed value.
- Provisioning
State Succeeded - SucceededSucceeded value.
- Provisioning
State Canceled - CanceledCanceled value.
- Created
- CreatedCreated value.
- Updated
- UpdatedUpdated value.
- Running
- RunningRunning value.
- Completed
- CompletedCompleted value.
- Failed
- FailedFailed value.
- Succeeded
- SucceededSucceeded value.
- Canceled
- CanceledCanceled value.
- Created
- CreatedCreated value.
- Updated
- UpdatedUpdated value.
- Running
- RunningRunning value.
- Completed
- CompletedCompleted value.
- Failed
- FailedFailed value.
- Succeeded
- SucceededSucceeded value.
- Canceled
- CanceledCanceled value.
- CREATED
- CreatedCreated value.
- UPDATED
- UpdatedUpdated value.
- RUNNING
- RunningRunning value.
- COMPLETED
- CompletedCompleted value.
- FAILED
- FailedFailed value.
- SUCCEEDED
- SucceededSucceeded value.
- CANCELED
- CanceledCanceled value.
- "Created"
- CreatedCreated value.
- "Updated"
- UpdatedUpdated value.
- "Running"
- RunningRunning value.
- "Completed"
- CompletedCompleted value.
- "Failed"
- FailedFailed value.
- "Succeeded"
- SucceededSucceeded value.
- "Canceled"
- CanceledCanceled value.
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 timestamp of resource last modification (UTC)
- 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 timestamp of resource last modification (UTC)
- 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 timestamp of resource last modification (UTC)
- 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 timestamp of resource last modification (UTC)
- 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 timestamp of resource last modification (UTC)
- 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 timestamp of resource last modification (UTC)
- 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:offazure:HypervHostController kgosttkbfbrsge /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OffAzure/hypervSites/{siteName}/hosts/{hostName}
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0