azure-native.azurestackhci.EdgeDevice
Explore with Pulumi AI
Edge device resource
Uses Azure REST API version 2023-08-01-preview.
Other available API versions: 2023-11-01-preview, 2024-01-01, 2024-02-15-preview, 2024-04-01, 2024-09-01-preview, 2024-12-01-preview.
Create EdgeDevice Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new EdgeDevice(name: string, args: EdgeDeviceArgs, opts?: CustomResourceOptions);
@overload
def EdgeDevice(resource_name: str,
args: EdgeDeviceArgs,
opts: Optional[ResourceOptions] = None)
@overload
def EdgeDevice(resource_name: str,
opts: Optional[ResourceOptions] = None,
device_configuration: Optional[DeviceConfigurationArgs] = None,
resource_uri: Optional[str] = None,
edge_device_name: Optional[str] = None)
func NewEdgeDevice(ctx *Context, name string, args EdgeDeviceArgs, opts ...ResourceOption) (*EdgeDevice, error)
public EdgeDevice(string name, EdgeDeviceArgs args, CustomResourceOptions? opts = null)
public EdgeDevice(String name, EdgeDeviceArgs args)
public EdgeDevice(String name, EdgeDeviceArgs args, CustomResourceOptions options)
type: azure-native:azurestackhci:EdgeDevice
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. EdgeDeviceArgs - 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. EdgeDeviceArgs - 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. EdgeDeviceArgs - 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. EdgeDeviceArgs - 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. EdgeDeviceArgs - 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 edgeDeviceResource = new AzureNative.AzureStackHCI.EdgeDevice("edgeDeviceResource", new()
{
DeviceConfiguration = new AzureNative.AzureStackHCI.Inputs.DeviceConfigurationArgs
{
NicDetails = new[]
{
new AzureNative.AzureStackHCI.Inputs.NicDetailArgs
{
AdapterName = "string",
ComponentId = "string",
DefaultGateway = "string",
DefaultIsolationId = "string",
DnsServers = new[]
{
"string",
},
DriverVersion = "string",
InterfaceDescription = "string",
Ip4Address = "string",
SubnetMask = "string",
},
},
DeviceMetadata = "string",
},
ResourceUri = "string",
EdgeDeviceName = "string",
});
example, err := azurestackhci.NewEdgeDevice(ctx, "edgeDeviceResource", &azurestackhci.EdgeDeviceArgs{
DeviceConfiguration: &azurestackhci.DeviceConfigurationArgs{
NicDetails: azurestackhci.NicDetailArray{
&azurestackhci.NicDetailArgs{
AdapterName: pulumi.String("string"),
ComponentId: pulumi.String("string"),
DefaultGateway: pulumi.String("string"),
DefaultIsolationId: pulumi.String("string"),
DnsServers: pulumi.StringArray{
pulumi.String("string"),
},
DriverVersion: pulumi.String("string"),
InterfaceDescription: pulumi.String("string"),
Ip4Address: pulumi.String("string"),
SubnetMask: pulumi.String("string"),
},
},
DeviceMetadata: pulumi.String("string"),
},
ResourceUri: pulumi.String("string"),
EdgeDeviceName: pulumi.String("string"),
})
var edgeDeviceResource = new EdgeDevice("edgeDeviceResource", EdgeDeviceArgs.builder()
.deviceConfiguration(DeviceConfigurationArgs.builder()
.nicDetails(NicDetailArgs.builder()
.adapterName("string")
.componentId("string")
.defaultGateway("string")
.defaultIsolationId("string")
.dnsServers("string")
.driverVersion("string")
.interfaceDescription("string")
.ip4Address("string")
.subnetMask("string")
.build())
.deviceMetadata("string")
.build())
.resourceUri("string")
.edgeDeviceName("string")
.build());
edge_device_resource = azure_native.azurestackhci.EdgeDevice("edgeDeviceResource",
device_configuration={
"nic_details": [{
"adapter_name": "string",
"component_id": "string",
"default_gateway": "string",
"default_isolation_id": "string",
"dns_servers": ["string"],
"driver_version": "string",
"interface_description": "string",
"ip4_address": "string",
"subnet_mask": "string",
}],
"device_metadata": "string",
},
resource_uri="string",
edge_device_name="string")
const edgeDeviceResource = new azure_native.azurestackhci.EdgeDevice("edgeDeviceResource", {
deviceConfiguration: {
nicDetails: [{
adapterName: "string",
componentId: "string",
defaultGateway: "string",
defaultIsolationId: "string",
dnsServers: ["string"],
driverVersion: "string",
interfaceDescription: "string",
ip4Address: "string",
subnetMask: "string",
}],
deviceMetadata: "string",
},
resourceUri: "string",
edgeDeviceName: "string",
});
type: azure-native:azurestackhci:EdgeDevice
properties:
deviceConfiguration:
deviceMetadata: string
nicDetails:
- adapterName: string
componentId: string
defaultGateway: string
defaultIsolationId: string
dnsServers:
- string
driverVersion: string
interfaceDescription: string
ip4Address: string
subnetMask: string
edgeDeviceName: string
resourceUri: string
EdgeDevice 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 EdgeDevice resource accepts the following input properties:
- Device
Configuration This property is required. Pulumi.Azure Native. Azure Stack HCI. Inputs. Device Configuration - Device Configuration
- Resource
Uri This property is required. Changes to this property will trigger replacement.
- The fully qualified Azure Resource manager identifier of the resource.
- Edge
Device Name Changes to this property will trigger replacement.
- Name of Device
- Device
Configuration This property is required. DeviceConfiguration Args - Device Configuration
- Resource
Uri This property is required. Changes to this property will trigger replacement.
- The fully qualified Azure Resource manager identifier of the resource.
- Edge
Device Name Changes to this property will trigger replacement.
- Name of Device
- device
Configuration This property is required. DeviceConfiguration - Device Configuration
- resource
Uri This property is required. Changes to this property will trigger replacement.
- The fully qualified Azure Resource manager identifier of the resource.
- edge
Device Name Changes to this property will trigger replacement.
- Name of Device
- device
Configuration This property is required. DeviceConfiguration - Device Configuration
- resource
Uri This property is required. Changes to this property will trigger replacement.
- The fully qualified Azure Resource manager identifier of the resource.
- edge
Device Name Changes to this property will trigger replacement.
- Name of Device
- device_
configuration This property is required. DeviceConfiguration Args - Device Configuration
- resource_
uri This property is required. Changes to this property will trigger replacement.
- The fully qualified Azure Resource manager identifier of the resource.
- edge_
device_ name Changes to this property will trigger replacement.
- Name of Device
- device
Configuration This property is required. Property Map - Device Configuration
- resource
Uri This property is required. Changes to this property will trigger replacement.
- The fully qualified Azure Resource manager identifier of the resource.
- edge
Device Name Changes to this property will trigger replacement.
- Name of Device
Outputs
All input properties are implicitly available as output properties. Additionally, the EdgeDevice resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- The name of the resource
- Provisioning
State string - Provisioning state of edgeDevice resource
- System
Data Pulumi.Azure Native. Azure Stack HCI. 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"
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- The name of the resource
- Provisioning
State string - Provisioning state of edgeDevice 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"
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- The name of the resource
- provisioning
State String - Provisioning state of edgeDevice 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"
- id string
- The provider-assigned unique ID for this managed resource.
- name string
- The name of the resource
- provisioning
State string - Provisioning state of edgeDevice 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"
- id str
- The provider-assigned unique ID for this managed resource.
- name str
- The name of the resource
- provisioning_
state str - Provisioning state of edgeDevice 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"
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- The name of the resource
- provisioning
State String - Provisioning state of edgeDevice 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"
Supporting Types
DeviceConfiguration, DeviceConfigurationArgs
- Nic
Details This property is required. List<Pulumi.Azure Native. Azure Stack HCI. Inputs. Nic Detail> - NIC Details of device
- Device
Metadata string - device metadata details.
- Nic
Details This property is required. []NicDetail - NIC Details of device
- Device
Metadata string - device metadata details.
- nic
Details This property is required. List<NicDetail> - NIC Details of device
- device
Metadata String - device metadata details.
- nic
Details This property is required. NicDetail[] - NIC Details of device
- device
Metadata string - device metadata details.
- nic_
details This property is required. Sequence[NicDetail] - NIC Details of device
- device_
metadata str - device metadata details.
- nic
Details This property is required. List<Property Map> - NIC Details of device
- device
Metadata String - device metadata details.
DeviceConfigurationResponse, DeviceConfigurationResponseArgs
- Nic
Details This property is required. List<Pulumi.Azure Native. Azure Stack HCI. Inputs. Nic Detail Response> - NIC Details of device
- Device
Metadata string - device metadata details.
- Nic
Details This property is required. []NicDetail Response - NIC Details of device
- Device
Metadata string - device metadata details.
- nic
Details This property is required. List<NicDetail Response> - NIC Details of device
- device
Metadata String - device metadata details.
- nic
Details This property is required. NicDetail Response[] - NIC Details of device
- device
Metadata string - device metadata details.
- nic_
details This property is required. Sequence[NicDetail Response] - NIC Details of device
- device_
metadata str - device metadata details.
- nic
Details This property is required. List<Property Map> - NIC Details of device
- device
Metadata String - device metadata details.
NicDetail, NicDetailArgs
- Adapter
Name This property is required. string - Adapter Name of NIC
- Component
Id string - Component Id of NIC
- Default
Gateway string - Default Gateway of NIC
- Default
Isolation stringId - Default Isolation of Management NIC
- Dns
Servers List<string> - DNS Servers for NIC
- Driver
Version string - Driver Version of NIC
- Interface
Description string - Interface Description of NIC
- Ip4Address string
- Subnet Mask of NIC
- Subnet
Mask string - Subnet Mask of NIC
- Adapter
Name This property is required. string - Adapter Name of NIC
- Component
Id string - Component Id of NIC
- Default
Gateway string - Default Gateway of NIC
- Default
Isolation stringId - Default Isolation of Management NIC
- Dns
Servers []string - DNS Servers for NIC
- Driver
Version string - Driver Version of NIC
- Interface
Description string - Interface Description of NIC
- Ip4Address string
- Subnet Mask of NIC
- Subnet
Mask string - Subnet Mask of NIC
- adapter
Name This property is required. String - Adapter Name of NIC
- component
Id String - Component Id of NIC
- default
Gateway String - Default Gateway of NIC
- default
Isolation StringId - Default Isolation of Management NIC
- dns
Servers List<String> - DNS Servers for NIC
- driver
Version String - Driver Version of NIC
- interface
Description String - Interface Description of NIC
- ip4Address String
- Subnet Mask of NIC
- subnet
Mask String - Subnet Mask of NIC
- adapter
Name This property is required. string - Adapter Name of NIC
- component
Id string - Component Id of NIC
- default
Gateway string - Default Gateway of NIC
- default
Isolation stringId - Default Isolation of Management NIC
- dns
Servers string[] - DNS Servers for NIC
- driver
Version string - Driver Version of NIC
- interface
Description string - Interface Description of NIC
- ip4Address string
- Subnet Mask of NIC
- subnet
Mask string - Subnet Mask of NIC
- adapter_
name This property is required. str - Adapter Name of NIC
- component_
id str - Component Id of NIC
- default_
gateway str - Default Gateway of NIC
- default_
isolation_ strid - Default Isolation of Management NIC
- dns_
servers Sequence[str] - DNS Servers for NIC
- driver_
version str - Driver Version of NIC
- interface_
description str - Interface Description of NIC
- ip4_
address str - Subnet Mask of NIC
- subnet_
mask str - Subnet Mask of NIC
- adapter
Name This property is required. String - Adapter Name of NIC
- component
Id String - Component Id of NIC
- default
Gateway String - Default Gateway of NIC
- default
Isolation StringId - Default Isolation of Management NIC
- dns
Servers List<String> - DNS Servers for NIC
- driver
Version String - Driver Version of NIC
- interface
Description String - Interface Description of NIC
- ip4Address String
- Subnet Mask of NIC
- subnet
Mask String - Subnet Mask of NIC
NicDetailResponse, NicDetailResponseArgs
- Adapter
Name This property is required. string - Adapter Name of NIC
- Component
Id string - Component Id of NIC
- Default
Gateway string - Default Gateway of NIC
- Default
Isolation stringId - Default Isolation of Management NIC
- Dns
Servers List<string> - DNS Servers for NIC
- Driver
Version string - Driver Version of NIC
- Interface
Description string - Interface Description of NIC
- Ip4Address string
- Subnet Mask of NIC
- Subnet
Mask string - Subnet Mask of NIC
- Adapter
Name This property is required. string - Adapter Name of NIC
- Component
Id string - Component Id of NIC
- Default
Gateway string - Default Gateway of NIC
- Default
Isolation stringId - Default Isolation of Management NIC
- Dns
Servers []string - DNS Servers for NIC
- Driver
Version string - Driver Version of NIC
- Interface
Description string - Interface Description of NIC
- Ip4Address string
- Subnet Mask of NIC
- Subnet
Mask string - Subnet Mask of NIC
- adapter
Name This property is required. String - Adapter Name of NIC
- component
Id String - Component Id of NIC
- default
Gateway String - Default Gateway of NIC
- default
Isolation StringId - Default Isolation of Management NIC
- dns
Servers List<String> - DNS Servers for NIC
- driver
Version String - Driver Version of NIC
- interface
Description String - Interface Description of NIC
- ip4Address String
- Subnet Mask of NIC
- subnet
Mask String - Subnet Mask of NIC
- adapter
Name This property is required. string - Adapter Name of NIC
- component
Id string - Component Id of NIC
- default
Gateway string - Default Gateway of NIC
- default
Isolation stringId - Default Isolation of Management NIC
- dns
Servers string[] - DNS Servers for NIC
- driver
Version string - Driver Version of NIC
- interface
Description string - Interface Description of NIC
- ip4Address string
- Subnet Mask of NIC
- subnet
Mask string - Subnet Mask of NIC
- adapter_
name This property is required. str - Adapter Name of NIC
- component_
id str - Component Id of NIC
- default_
gateway str - Default Gateway of NIC
- default_
isolation_ strid - Default Isolation of Management NIC
- dns_
servers Sequence[str] - DNS Servers for NIC
- driver_
version str - Driver Version of NIC
- interface_
description str - Interface Description of NIC
- ip4_
address str - Subnet Mask of NIC
- subnet_
mask str - Subnet Mask of NIC
- adapter
Name This property is required. String - Adapter Name of NIC
- component
Id String - Component Id of NIC
- default
Gateway String - Default Gateway of NIC
- default
Isolation StringId - Default Isolation of Management NIC
- dns
Servers List<String> - DNS Servers for NIC
- driver
Version String - Driver Version of NIC
- interface
Description String - Interface Description of NIC
- ip4Address String
- Subnet Mask of NIC
- subnet
Mask String - Subnet Mask of NIC
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:azurestackhci:EdgeDevice default /{resourceUri}/providers/Microsoft.AzureStackHCI/edgeDevices/{edgeDeviceName}
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0