azure-native.azurestackhci.ArcSetting
Explore with Pulumi AI
ArcSetting details. API Version: 2021-01-01-preview.
Example Usage
Create ArcSetting
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var arcSetting = new AzureNative.AzureStackHCI.ArcSetting("arcSetting", new()
{
ArcSettingName = "default",
ClusterName = "myCluster",
ResourceGroupName = "test-rg",
});
});
package main
import (
azurestackhci "github.com/pulumi/pulumi-azure-native-sdk/azurestackhci"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := azurestackhci.NewArcSetting(ctx, "arcSetting", &azurestackhci.ArcSettingArgs{
ArcSettingName: pulumi.String("default"),
ClusterName: pulumi.String("myCluster"),
ResourceGroupName: pulumi.String("test-rg"),
})
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.azurestackhci.ArcSetting;
import com.pulumi.azurenative.azurestackhci.ArcSettingArgs;
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 arcSetting = new ArcSetting("arcSetting", ArcSettingArgs.builder()
.arcSettingName("default")
.clusterName("myCluster")
.resourceGroupName("test-rg")
.build());
}
}
import pulumi
import pulumi_azure_native as azure_native
arc_setting = azure_native.azurestackhci.ArcSetting("arcSetting",
arc_setting_name="default",
cluster_name="myCluster",
resource_group_name="test-rg")
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const arcSetting = new azure_native.azurestackhci.ArcSetting("arcSetting", {
arcSettingName: "default",
clusterName: "myCluster",
resourceGroupName: "test-rg",
});
resources:
arcSetting:
type: azure-native:azurestackhci:ArcSetting
properties:
arcSettingName: default
clusterName: myCluster
resourceGroupName: test-rg
Create ArcSetting Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ArcSetting(name: string, args: ArcSettingArgs, opts?: CustomResourceOptions);
@overload
def ArcSetting(resource_name: str,
args: ArcSettingArgs,
opts: Optional[ResourceOptions] = None)
@overload
def ArcSetting(resource_name: str,
opts: Optional[ResourceOptions] = None,
cluster_name: Optional[str] = None,
resource_group_name: Optional[str] = None,
arc_setting_name: Optional[str] = None,
created_at: Optional[str] = None,
created_by: Optional[str] = None,
created_by_type: Optional[Union[str, CreatedByType]] = None,
last_modified_at: Optional[str] = None,
last_modified_by: Optional[str] = None,
last_modified_by_type: Optional[Union[str, CreatedByType]] = None)
func NewArcSetting(ctx *Context, name string, args ArcSettingArgs, opts ...ResourceOption) (*ArcSetting, error)
public ArcSetting(string name, ArcSettingArgs args, CustomResourceOptions? opts = null)
public ArcSetting(String name, ArcSettingArgs args)
public ArcSetting(String name, ArcSettingArgs args, CustomResourceOptions options)
type: azure-native:azurestackhci:ArcSetting
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 ArcSettingArgs
- 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 ArcSettingArgs
- 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 ArcSettingArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ArcSettingArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ArcSettingArgs
- 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 arcSettingResource = new AzureNative.Azurestackhci.ArcSetting("arcSettingResource", new()
{
ClusterName = "string",
ResourceGroupName = "string",
ArcSettingName = "string",
CreatedAt = "string",
CreatedBy = "string",
CreatedByType = "string",
LastModifiedAt = "string",
LastModifiedBy = "string",
LastModifiedByType = "string",
});
example, err := azurestackhci.NewArcSetting(ctx, "arcSettingResource", &azurestackhci.ArcSettingArgs{
ClusterName: "string",
ResourceGroupName: "string",
ArcSettingName: "string",
CreatedAt: "string",
CreatedBy: "string",
CreatedByType: "string",
LastModifiedAt: "string",
LastModifiedBy: "string",
LastModifiedByType: "string",
})
var arcSettingResource = new ArcSetting("arcSettingResource", ArcSettingArgs.builder()
.clusterName("string")
.resourceGroupName("string")
.arcSettingName("string")
.createdAt("string")
.createdBy("string")
.createdByType("string")
.lastModifiedAt("string")
.lastModifiedBy("string")
.lastModifiedByType("string")
.build());
arc_setting_resource = azure_native.azurestackhci.ArcSetting("arcSettingResource",
cluster_name=string,
resource_group_name=string,
arc_setting_name=string,
created_at=string,
created_by=string,
created_by_type=string,
last_modified_at=string,
last_modified_by=string,
last_modified_by_type=string)
const arcSettingResource = new azure_native.azurestackhci.ArcSetting("arcSettingResource", {
clusterName: "string",
resourceGroupName: "string",
arcSettingName: "string",
createdAt: "string",
createdBy: "string",
createdByType: "string",
lastModifiedAt: "string",
lastModifiedBy: "string",
lastModifiedByType: "string",
});
type: azure-native:azurestackhci:ArcSetting
properties:
arcSettingName: string
clusterName: string
createdAt: string
createdBy: string
createdByType: string
lastModifiedAt: string
lastModifiedBy: string
lastModifiedByType: string
resourceGroupName: string
ArcSetting 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 ArcSetting resource accepts the following input properties:
- Cluster
Name string - The name of the cluster.
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Arc
Setting stringName - The name of the proxy resource holding details of HCI ArcSetting information.
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By string | Pulumi.Type Azure Native. Azure Stack HCI. Created By Type - 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 string | Pulumi.By Type Azure Native. Azure Stack HCI. Created By Type - The type of identity that last modified the resource.
- Cluster
Name string - The name of the cluster.
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Arc
Setting stringName - The name of the proxy resource holding details of HCI ArcSetting information.
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By string | CreatedType By Type - 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 string | CreatedBy Type By Type - The type of identity that last modified the resource.
- cluster
Name String - The name of the cluster.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- arc
Setting StringName - The name of the proxy resource holding details of HCI ArcSetting information.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By String | CreatedType By Type - 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 String | CreatedBy Type By Type - The type of identity that last modified the resource.
- cluster
Name string - The name of the cluster.
- resource
Group stringName - The name of the resource group. The name is case insensitive.
- arc
Setting stringName - The name of the proxy resource holding details of HCI ArcSetting information.
- created
At string - The timestamp of resource creation (UTC).
- created
By string - The identity that created the resource.
- created
By string | CreatedType By Type - 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 string | CreatedBy Type By Type - The type of identity that last modified the resource.
- cluster_
name str - The name of the cluster.
- resource_
group_ strname - The name of the resource group. The name is case insensitive.
- arc_
setting_ strname - The name of the proxy resource holding details of HCI ArcSetting information.
- created_
at str - The timestamp of resource creation (UTC).
- created_
by str - The identity that created the resource.
- created_
by_ str | Createdtype By Type - 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_ str | Createdby_ type By Type - The type of identity that last modified the resource.
- cluster
Name String - The name of the cluster.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- arc
Setting StringName - The name of the proxy resource holding details of HCI ArcSetting information.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By String | "User" | "Application" | "ManagedType Identity" | "Key" - 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 String | "User" | "Application" | "ManagedBy Type Identity" | "Key" - The type of identity that last modified the resource.
Outputs
All input properties are implicitly available as output properties. Additionally, the ArcSetting resource produces the following output properties:
- Aggregate
State string - Aggregate state of Arc agent across the nodes in this HCI cluster.
- Arc
Instance stringResource Group - The resource group that hosts the Arc agents, ie. Hybrid Compute Machine resources.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- The name of the resource
- Per
Node List<Pulumi.Details Azure Native. Azure Stack HCI. Outputs. Per Node State Response> - State of Arc agent in each of the nodes.
- Provisioning
State string - Provisioning state of the ArcSetting proxy resource.
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- Aggregate
State string - Aggregate state of Arc agent across the nodes in this HCI cluster.
- Arc
Instance stringResource Group - The resource group that hosts the Arc agents, ie. Hybrid Compute Machine resources.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- The name of the resource
- Per
Node []PerDetails Node State Response - State of Arc agent in each of the nodes.
- Provisioning
State string - Provisioning state of the ArcSetting proxy resource.
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- aggregate
State String - Aggregate state of Arc agent across the nodes in this HCI cluster.
- arc
Instance StringResource Group - The resource group that hosts the Arc agents, ie. Hybrid Compute Machine resources.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- The name of the resource
- per
Node List<PerDetails Node State Response> - State of Arc agent in each of the nodes.
- provisioning
State String - Provisioning state of the ArcSetting proxy resource.
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- aggregate
State string - Aggregate state of Arc agent across the nodes in this HCI cluster.
- arc
Instance stringResource Group - The resource group that hosts the Arc agents, ie. Hybrid Compute Machine resources.
- id string
- The provider-assigned unique ID for this managed resource.
- name string
- The name of the resource
- per
Node PerDetails Node State Response[] - State of Arc agent in each of the nodes.
- provisioning
State string - Provisioning state of the ArcSetting proxy resource.
- type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- aggregate_
state str - Aggregate state of Arc agent across the nodes in this HCI cluster.
- arc_
instance_ strresource_ group - The resource group that hosts the Arc agents, ie. Hybrid Compute Machine resources.
- id str
- The provider-assigned unique ID for this managed resource.
- name str
- The name of the resource
- per_
node_ Sequence[Perdetails Node State Response] - State of Arc agent in each of the nodes.
- provisioning_
state str - Provisioning state of the ArcSetting proxy resource.
- type str
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- aggregate
State String - Aggregate state of Arc agent across the nodes in this HCI cluster.
- arc
Instance StringResource Group - The resource group that hosts the Arc agents, ie. Hybrid Compute Machine resources.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- The name of the resource
- per
Node List<Property Map>Details - State of Arc agent in each of the nodes.
- provisioning
State String - Provisioning state of the ArcSetting proxy resource.
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
Supporting Types
CreatedByType, CreatedByTypeArgs
- User
- User
- Application
- Application
- Managed
Identity - ManagedIdentity
- Key
- Key
- Created
By Type User - User
- Created
By Type Application - Application
- Created
By Type Managed Identity - ManagedIdentity
- Created
By Type Key - Key
- User
- User
- Application
- Application
- Managed
Identity - ManagedIdentity
- Key
- Key
- User
- User
- Application
- Application
- Managed
Identity - ManagedIdentity
- Key
- Key
- USER
- User
- APPLICATION
- Application
- MANAGED_IDENTITY
- ManagedIdentity
- KEY
- Key
- "User"
- User
- "Application"
- Application
- "Managed
Identity" - ManagedIdentity
- "Key"
- Key
PerNodeStateResponse, PerNodeStateResponseArgs
- Arc
Instance string - Fully qualified resource ID for the Arc agent of this node.
- Name string
- Name of the Node in HCI Cluster
- State string
- State of Arc agent in this node.
- Arc
Instance string - Fully qualified resource ID for the Arc agent of this node.
- Name string
- Name of the Node in HCI Cluster
- State string
- State of Arc agent in this node.
- arc
Instance String - Fully qualified resource ID for the Arc agent of this node.
- name String
- Name of the Node in HCI Cluster
- state String
- State of Arc agent in this node.
- arc
Instance string - Fully qualified resource ID for the Arc agent of this node.
- name string
- Name of the Node in HCI Cluster
- state string
- State of Arc agent in this node.
- arc_
instance str - Fully qualified resource ID for the Arc agent of this node.
- name str
- Name of the Node in HCI Cluster
- state str
- State of Arc agent in this node.
- arc
Instance String - Fully qualified resource ID for the Arc agent of this node.
- name String
- Name of the Node in HCI Cluster
- state String
- State of Arc agent in this node.
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:azurestackhci:ArcSetting myresource1 /subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/test-rg/providers/Microsoft.AzureStackHCI/clusters/myCluster/arcSettings/default
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