azure-native.offazure.HypervHostController
Explore with Pulumi AI
A host resource belonging to a site resource.
Uses Azure REST API version 2023-10-01-preview. In version 2.x of the Azure Native provider, it used API version 2023-06-06.
Other available API versions: 2023-06-06, 2024-05-01-preview. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native offazure [ApiVersion]
. See the version guide for details.
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
This property is required. string - The unique name of the resource.
- args
This property is required. HypervHostControllerArgs - The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name
This property is required. str - The unique name of the resource.
- args
This property is required. 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
This property is required. string - The unique name of the resource.
- args
This property is required. HypervHostControllerArgs - The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name
This property is required. string - The unique name of the resource.
- args
This property is required. HypervHostControllerArgs - The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name
This property is required. String - The unique name of the resource.
- args
This property is required. 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
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The HypervHostController resource accepts the following input properties:
- Resource
Group Name This property is required. Changes to this property will trigger replacement.
- The name of the resource group. The name is case insensitive.
- Site
Name This property is required. Changes to this property will trigger replacement.
- Site name
- Fqdn string
- Gets or sets the FQDN/IPAddress of the Hyper-V host.
- Host
Name Changes to this property will trigger replacement.
- 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 Name This property is required. Changes to this property will trigger replacement.
- The name of the resource group. The name is case insensitive.
- Site
Name This property is required. Changes to this property will trigger replacement.
- Site name
- Fqdn string
- Gets or sets the FQDN/IPAddress of the Hyper-V host.
- Host
Name Changes to this property will trigger replacement.
- 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 Name This property is required. Changes to this property will trigger replacement.
- The name of the resource group. The name is case insensitive.
- site
Name This property is required. Changes to this property will trigger replacement.
- Site name
- fqdn String
- Gets or sets the FQDN/IPAddress of the Hyper-V host.
- host
Name Changes to this property will trigger replacement.
- 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 Name This property is required. Changes to this property will trigger replacement.
- The name of the resource group. The name is case insensitive.
- site
Name This property is required. Changes to this property will trigger replacement.
- Site name
- fqdn string
- Gets or sets the FQDN/IPAddress of the Hyper-V host.
- host
Name Changes to this property will trigger replacement.
- 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_ name This property is required. Changes to this property will trigger replacement.
- The name of the resource group. The name is case insensitive.
- site_
name This property is required. Changes to this property will trigger replacement.
- Site name
- fqdn str
- Gets or sets the FQDN/IPAddress of the Hyper-V host.
- host_
name Changes to this property will trigger replacement.
- 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 Name This property is required. Changes to this property will trigger replacement.
- The name of the resource group. The name is case insensitive.
- site
Name This property is required. Changes to this property will trigger replacement.
- Site name
- fqdn String
- Gets or sets the FQDN/IPAddress of the Hyper-V host.
- host
Name Changes to this property will trigger replacement.
- 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:
- Azure
Api stringVersion - The Azure API version of the resource.
- 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.
- Azure
Api stringVersion - The Azure API version of the resource.
- 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.
- azure
Api StringVersion - The Azure API version of the resource.
- 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.
- azure
Api stringVersion - The Azure API version of the resource.
- 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.
- azure_
api_ strversion - The Azure API version of the resource.
- 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.
- azure
Api StringVersion - The Azure API version of the resource.
- 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 This property is required. string - Gets the appliance name.
- Code
This property is required. string - Gets the error name.
- Discovery
Scope This property is required. string - Gets discovery scope for which error is encountered.
- Id
This property is required. double - Gets the error ID.
- Message
This property is required. string - Gets the error message.
- Message
Parameters This property is required. Dictionary<string, string> - Gets the message parameters.
- Possible
Causes This property is required. string - Gets the possible causes of error.
- Recommended
Action This property is required. string - Gets the recommended action to resolve error.
- Run
As Account Id This property is required. string - Gets run as account id used while performing discovery of entity.
- Severity
This property is required. string - Gets the error severity.
- Source
This property is required. string - Gets the error source.
- Summary
Message This property is required. string - Gets the error summary message.
- Updated
Time Stamp This property is required. string - Gets the time stamp when the error was updated.
- Appliance
Name This property is required. string - Gets the appliance name.
- Code
This property is required. string - Gets the error name.
- Discovery
Scope This property is required. string - Gets discovery scope for which error is encountered.
- Id
This property is required. float64 - Gets the error ID.
- Message
This property is required. string - Gets the error message.
- Message
Parameters This property is required. map[string]string - Gets the message parameters.
- Possible
Causes This property is required. string - Gets the possible causes of error.
- Recommended
Action This property is required. string - Gets the recommended action to resolve error.
- Run
As Account Id This property is required. string - Gets run as account id used while performing discovery of entity.
- Severity
This property is required. string - Gets the error severity.
- Source
This property is required. string - Gets the error source.
- Summary
Message This property is required. string - Gets the error summary message.
- Updated
Time Stamp This property is required. string - Gets the time stamp when the error was updated.
- appliance
Name This property is required. String - Gets the appliance name.
- code
This property is required. String - Gets the error name.
- discovery
Scope This property is required. String - Gets discovery scope for which error is encountered.
- id
This property is required. Double - Gets the error ID.
- message
This property is required. String - Gets the error message.
- message
Parameters This property is required. Map<String,String> - Gets the message parameters.
- possible
Causes This property is required. String - Gets the possible causes of error.
- recommended
Action This property is required. String - Gets the recommended action to resolve error.
- run
As Account Id This property is required. String - Gets run as account id used while performing discovery of entity.
- severity
This property is required. String - Gets the error severity.
- source
This property is required. String - Gets the error source.
- summary
Message This property is required. String - Gets the error summary message.
- updated
Time Stamp This property is required. String - Gets the time stamp when the error was updated.
- appliance
Name This property is required. string - Gets the appliance name.
- code
This property is required. string - Gets the error name.
- discovery
Scope This property is required. string - Gets discovery scope for which error is encountered.
- id
This property is required. number - Gets the error ID.
- message
This property is required. string - Gets the error message.
- message
Parameters This property is required. {[key: string]: string} - Gets the message parameters.
- possible
Causes This property is required. string - Gets the possible causes of error.
- recommended
Action This property is required. string - Gets the recommended action to resolve error.
- run
As Account Id This property is required. string - Gets run as account id used while performing discovery of entity.
- severity
This property is required. string - Gets the error severity.
- source
This property is required. string - Gets the error source.
- summary
Message This property is required. string - Gets the error summary message.
- updated
Time Stamp This property is required. string - Gets the time stamp when the error was updated.
- appliance_
name This property is required. str - Gets the appliance name.
- code
This property is required. str - Gets the error name.
- discovery_
scope This property is required. str - Gets discovery scope for which error is encountered.
- id
This property is required. float - Gets the error ID.
- message
This property is required. str - Gets the error message.
- message_
parameters This property is required. Mapping[str, str] - Gets the message parameters.
- possible_
causes This property is required. str - Gets the possible causes of error.
- recommended_
action This property is required. str - Gets the recommended action to resolve error.
- run_
as_ account_ id This property is required. str - Gets run as account id used while performing discovery of entity.
- severity
This property is required. str - Gets the error severity.
- source
This property is required. str - Gets the error source.
- summary_
message This property is required. str - Gets the error summary message.
- updated_
time_ stamp This property is required. str - Gets the time stamp when the error was updated.
- appliance
Name This property is required. String - Gets the appliance name.
- code
This property is required. String - Gets the error name.
- discovery
Scope This property is required. String - Gets discovery scope for which error is encountered.
- id
This property is required. Number - Gets the error ID.
- message
This property is required. String - Gets the error message.
- message
Parameters This property is required. Map<String> - Gets the message parameters.
- possible
Causes This property is required. String - Gets the possible causes of error.
- recommended
Action This property is required. String - Gets the recommended action to resolve error.
- run
As Account Id This property is required. String - Gets run as account id used while performing discovery of entity.
- severity
This property is required. String - Gets the error severity.
- source
This property is required. String - Gets the error source.
- summary
Message This property is required. String - Gets the error summary message.
- updated
Time Stamp This property is required. String - 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 otjimvbvxztyisadood /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