This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.66.0 published on Wednesday, Oct 9, 2024 by Pulumi
azure-native.azurestackhci.getLogicalNetwork
Explore with Pulumi AI
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.66.0 published on Wednesday, Oct 9, 2024 by Pulumi
The logical network resource definition. Azure REST API version: 2023-09-01-preview.
Other available API versions: 2024-01-01, 2024-02-01-preview, 2024-05-01-preview.
Using getLogicalNetwork
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getLogicalNetwork(args: GetLogicalNetworkArgs, opts?: InvokeOptions): Promise<GetLogicalNetworkResult>
function getLogicalNetworkOutput(args: GetLogicalNetworkOutputArgs, opts?: InvokeOptions): Output<GetLogicalNetworkResult>
def get_logical_network(logical_network_name: Optional[str] = None,
resource_group_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetLogicalNetworkResult
def get_logical_network_output(logical_network_name: Optional[pulumi.Input[str]] = None,
resource_group_name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetLogicalNetworkResult]
func LookupLogicalNetwork(ctx *Context, args *LookupLogicalNetworkArgs, opts ...InvokeOption) (*LookupLogicalNetworkResult, error)
func LookupLogicalNetworkOutput(ctx *Context, args *LookupLogicalNetworkOutputArgs, opts ...InvokeOption) LookupLogicalNetworkResultOutput
> Note: This function is named LookupLogicalNetwork
in the Go SDK.
public static class GetLogicalNetwork
{
public static Task<GetLogicalNetworkResult> InvokeAsync(GetLogicalNetworkArgs args, InvokeOptions? opts = null)
public static Output<GetLogicalNetworkResult> Invoke(GetLogicalNetworkInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetLogicalNetworkResult> getLogicalNetwork(GetLogicalNetworkArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: azure-native:azurestackhci:getLogicalNetwork
arguments:
# arguments dictionary
The following arguments are supported:
- Logical
Network stringName - Name of the logical network
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Logical
Network stringName - Name of the logical network
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- logical
Network StringName - Name of the logical network
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- logical
Network stringName - Name of the logical network
- resource
Group stringName - The name of the resource group. The name is case insensitive.
- logical_
network_ strname - Name of the logical network
- resource_
group_ strname - The name of the resource group. The name is case insensitive.
- logical
Network StringName - Name of the logical network
- resource
Group StringName - The name of the resource group. The name is case insensitive.
getLogicalNetwork Result
The following output properties are available:
- Id string
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- Location string
- The geo-location where the resource lives
- Name string
- The name of the resource
- Provisioning
State string - Provisioning state of the logical network.
- Status
Pulumi.
Azure Native. Azure Stack HCI. Outputs. Logical Network Status Response - The observed state of logical networks
- 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"
- Dhcp
Options Pulumi.Azure Native. Azure Stack HCI. Outputs. Logical Network Properties Response Dhcp Options - DhcpOptions contains an array of DNS servers available to VMs deployed in the logical network. Standard DHCP option for a subnet overrides logical network DHCP options.
- Extended
Location Pulumi.Azure Native. Azure Stack HCI. Outputs. Extended Location Response - The extendedLocation of the resource.
- Subnets
List<Pulumi.
Azure Native. Azure Stack HCI. Outputs. Subnet Response> - Subnet - list of subnets under the logical network
- Dictionary<string, string>
- Resource tags.
- Vm
Switch stringName - name of the network switch to be used for VMs
- Id string
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- Location string
- The geo-location where the resource lives
- Name string
- The name of the resource
- Provisioning
State string - Provisioning state of the logical network.
- Status
Logical
Network Status Response - The observed state of logical networks
- 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"
- Dhcp
Options LogicalNetwork Properties Response Dhcp Options - DhcpOptions contains an array of DNS servers available to VMs deployed in the logical network. Standard DHCP option for a subnet overrides logical network DHCP options.
- Extended
Location ExtendedLocation Response - The extendedLocation of the resource.
- Subnets
[]Subnet
Response - Subnet - list of subnets under the logical network
- map[string]string
- Resource tags.
- Vm
Switch stringName - name of the network switch to be used for VMs
- id String
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- location String
- The geo-location where the resource lives
- name String
- The name of the resource
- provisioning
State String - Provisioning state of the logical network.
- status
Logical
Network Status Response - The observed state of logical networks
- 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"
- dhcp
Options LogicalNetwork Properties Response Dhcp Options - DhcpOptions contains an array of DNS servers available to VMs deployed in the logical network. Standard DHCP option for a subnet overrides logical network DHCP options.
- extended
Location ExtendedLocation Response - The extendedLocation of the resource.
- subnets
List<Subnet
Response> - Subnet - list of subnets under the logical network
- Map<String,String>
- Resource tags.
- vm
Switch StringName - name of the network switch to be used for VMs
- id string
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- location string
- The geo-location where the resource lives
- name string
- The name of the resource
- provisioning
State string - Provisioning state of the logical network.
- status
Logical
Network Status Response - The observed state of logical networks
- 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"
- dhcp
Options LogicalNetwork Properties Response Dhcp Options - DhcpOptions contains an array of DNS servers available to VMs deployed in the logical network. Standard DHCP option for a subnet overrides logical network DHCP options.
- extended
Location ExtendedLocation Response - The extendedLocation of the resource.
- subnets
Subnet
Response[] - Subnet - list of subnets under the logical network
- {[key: string]: string}
- Resource tags.
- vm
Switch stringName - name of the network switch to be used for VMs
- id str
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- location str
- The geo-location where the resource lives
- name str
- The name of the resource
- provisioning_
state str - Provisioning state of the logical network.
- status
Logical
Network Status Response - The observed state of logical networks
- 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"
- dhcp_
options LogicalNetwork Properties Response Dhcp Options - DhcpOptions contains an array of DNS servers available to VMs deployed in the logical network. Standard DHCP option for a subnet overrides logical network DHCP options.
- extended_
location ExtendedLocation Response - The extendedLocation of the resource.
- subnets
Sequence[Subnet
Response] - Subnet - list of subnets under the logical network
- Mapping[str, str]
- Resource tags.
- vm_
switch_ strname - name of the network switch to be used for VMs
- id String
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- location String
- The geo-location where the resource lives
- name String
- The name of the resource
- provisioning
State String - Provisioning state of the logical network.
- status Property Map
- The observed state of logical networks
- 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"
- dhcp
Options Property Map - DhcpOptions contains an array of DNS servers available to VMs deployed in the logical network. Standard DHCP option for a subnet overrides logical network DHCP options.
- extended
Location Property Map - The extendedLocation of the resource.
- subnets List<Property Map>
- Subnet - list of subnets under the logical network
- Map<String>
- Resource tags.
- vm
Switch StringName - name of the network switch to be used for VMs
Supporting Types
ExtendedLocationResponse
IPPoolInfoResponse
IPPoolResponse
- End string
- end of the ip address pool
- Info
Pulumi.
Azure Native. Azure Stack HCI. Inputs. IPPool Info Response - Ip
Pool stringType - ip pool type
- Name string
- Name of the IP-Pool
- Start string
- start of the ip address pool
- End string
- end of the ip address pool
- Info
IPPool
Info Response - Ip
Pool stringType - ip pool type
- Name string
- Name of the IP-Pool
- Start string
- start of the ip address pool
- end String
- end of the ip address pool
- info
IPPool
Info Response - ip
Pool StringType - ip pool type
- name String
- Name of the IP-Pool
- start String
- start of the ip address pool
- end string
- end of the ip address pool
- info
IPPool
Info Response - ip
Pool stringType - ip pool type
- name string
- Name of the IP-Pool
- start string
- start of the ip address pool
- end str
- end of the ip address pool
- info
IPPool
Info Response - ip_
pool_ strtype - ip pool type
- name str
- Name of the IP-Pool
- start str
- start of the ip address pool
- end String
- end of the ip address pool
- info Property Map
- ip
Pool StringType - ip pool type
- name String
- Name of the IP-Pool
- start String
- start of the ip address pool
LogicalNetworkPropertiesResponseDhcpOptions
- Dns
Servers List<string> - The list of DNS servers IP addresses.
- Dns
Servers []string - The list of DNS servers IP addresses.
- dns
Servers List<String> - The list of DNS servers IP addresses.
- dns
Servers string[] - The list of DNS servers IP addresses.
- dns_
servers Sequence[str] - The list of DNS servers IP addresses.
- dns
Servers List<String> - The list of DNS servers IP addresses.
LogicalNetworkStatusResponse
- Error
Code string - LogicalNetwork provisioning error code
- Error
Message string - Descriptive error message
- Provisioning
Status Pulumi.Azure Native. Azure Stack HCI. Inputs. Logical Network Status Response Provisioning Status
- Error
Code string - LogicalNetwork provisioning error code
- Error
Message string - Descriptive error message
- Provisioning
Status LogicalNetwork Status Response Provisioning Status
- error
Code String - LogicalNetwork provisioning error code
- error
Message String - Descriptive error message
- provisioning
Status LogicalNetwork Status Response Provisioning Status
- error
Code string - LogicalNetwork provisioning error code
- error
Message string - Descriptive error message
- provisioning
Status LogicalNetwork Status Response Provisioning Status
- error_
code str - LogicalNetwork provisioning error code
- error_
message str - Descriptive error message
- provisioning_
status LogicalNetwork Status Response Provisioning Status
- error
Code String - LogicalNetwork provisioning error code
- error
Message String - Descriptive error message
- provisioning
Status Property Map
LogicalNetworkStatusResponseProvisioningStatus
- Operation
Id string - The ID of the operation performed on the logical network
- Status string
- The status of the operation performed on the logical network [Succeeded, Failed, InProgress]
- Operation
Id string - The ID of the operation performed on the logical network
- Status string
- The status of the operation performed on the logical network [Succeeded, Failed, InProgress]
- operation
Id String - The ID of the operation performed on the logical network
- status String
- The status of the operation performed on the logical network [Succeeded, Failed, InProgress]
- operation
Id string - The ID of the operation performed on the logical network
- status string
- The status of the operation performed on the logical network [Succeeded, Failed, InProgress]
- operation_
id str - The ID of the operation performed on the logical network
- status str
- The status of the operation performed on the logical network [Succeeded, Failed, InProgress]
- operation
Id String - The ID of the operation performed on the logical network
- status String
- The status of the operation performed on the logical network [Succeeded, Failed, InProgress]
RouteResponse
- Address
Prefix string - The destination CIDR to which the route applies.
- Name string
- Name - name of the subnet
- Next
Hop stringIp Address - The IP address packets should be forwarded to. Next hop values are only allowed in routes where the next hop type is VirtualAppliance.
- Address
Prefix string - The destination CIDR to which the route applies.
- Name string
- Name - name of the subnet
- Next
Hop stringIp Address - The IP address packets should be forwarded to. Next hop values are only allowed in routes where the next hop type is VirtualAppliance.
- address
Prefix String - The destination CIDR to which the route applies.
- name String
- Name - name of the subnet
- next
Hop StringIp Address - The IP address packets should be forwarded to. Next hop values are only allowed in routes where the next hop type is VirtualAppliance.
- address
Prefix string - The destination CIDR to which the route applies.
- name string
- Name - name of the subnet
- next
Hop stringIp Address - The IP address packets should be forwarded to. Next hop values are only allowed in routes where the next hop type is VirtualAppliance.
- address_
prefix str - The destination CIDR to which the route applies.
- name str
- Name - name of the subnet
- next_
hop_ strip_ address - The IP address packets should be forwarded to. Next hop values are only allowed in routes where the next hop type is VirtualAppliance.
- address
Prefix String - The destination CIDR to which the route applies.
- name String
- Name - name of the subnet
- next
Hop StringIp Address - The IP address packets should be forwarded to. Next hop values are only allowed in routes where the next hop type is VirtualAppliance.
RouteTableResponse
- Etag string
- A unique read-only string that changes whenever the resource is updated.
- Name string
- Resource name.
- Type string
- Resource type.
- Routes
List<Pulumi.
Azure Native. Azure Stack HCI. Inputs. Route Response> - Collection of routes contained within a route table.
- Etag string
- A unique read-only string that changes whenever the resource is updated.
- Name string
- Resource name.
- Type string
- Resource type.
- Routes
[]Route
Response - Collection of routes contained within a route table.
- etag String
- A unique read-only string that changes whenever the resource is updated.
- name String
- Resource name.
- type String
- Resource type.
- routes
List<Route
Response> - Collection of routes contained within a route table.
- etag string
- A unique read-only string that changes whenever the resource is updated.
- name string
- Resource name.
- type string
- Resource type.
- routes
Route
Response[] - Collection of routes contained within a route table.
- etag str
- A unique read-only string that changes whenever the resource is updated.
- name str
- Resource name.
- type str
- Resource type.
- routes
Sequence[Route
Response] - Collection of routes contained within a route table.
- etag String
- A unique read-only string that changes whenever the resource is updated.
- name String
- Resource name.
- type String
- Resource type.
- routes List<Property Map>
- Collection of routes contained within a route table.
SubnetPropertiesFormatResponseIpConfigurationReferences
- Id string
- IPConfigurationID
- Id string
- IPConfigurationID
- id String
- IPConfigurationID
- id string
- IPConfigurationID
- id str
- IPConfigurationID
- id String
- IPConfigurationID
SubnetResponse
- Address
Prefix string - The address prefix for the subnet: Cidr for this subnet - IPv4, IPv6.
- Address
Prefixes List<string> - List of address prefixes for the subnet.
- Ip
Allocation stringMethod - IPAllocationMethod - The IP address allocation method. Possible values include: 'Static', 'Dynamic'
- Ip
Configuration List<Pulumi.References Azure Native. Azure Stack HCI. Inputs. Subnet Properties Format Response Ip Configuration References> - IPConfigurationReferences - list of IPConfigurationReferences
- Ip
Pools List<Pulumi.Azure Native. Azure Stack HCI. Inputs. IPPool Response> - network associated pool of IP Addresses
- Name string
- Name - The name of the resource that is unique within a resource group. This name can be used to access the resource.
- Route
Table Pulumi.Azure Native. Azure Stack HCI. Inputs. Route Table Response - Route table resource.
- Vlan int
- Vlan to use for the subnet
- Address
Prefix string - The address prefix for the subnet: Cidr for this subnet - IPv4, IPv6.
- Address
Prefixes []string - List of address prefixes for the subnet.
- Ip
Allocation stringMethod - IPAllocationMethod - The IP address allocation method. Possible values include: 'Static', 'Dynamic'
- Ip
Configuration []SubnetReferences Properties Format Response Ip Configuration References - IPConfigurationReferences - list of IPConfigurationReferences
- Ip
Pools []IPPoolResponse - network associated pool of IP Addresses
- Name string
- Name - The name of the resource that is unique within a resource group. This name can be used to access the resource.
- Route
Table RouteTable Response - Route table resource.
- Vlan int
- Vlan to use for the subnet
- address
Prefix String - The address prefix for the subnet: Cidr for this subnet - IPv4, IPv6.
- address
Prefixes List<String> - List of address prefixes for the subnet.
- ip
Allocation StringMethod - IPAllocationMethod - The IP address allocation method. Possible values include: 'Static', 'Dynamic'
- ip
Configuration List<SubnetReferences Properties Format Response Ip Configuration References> - IPConfigurationReferences - list of IPConfigurationReferences
- ip
Pools List<IPPoolResponse> - network associated pool of IP Addresses
- name String
- Name - The name of the resource that is unique within a resource group. This name can be used to access the resource.
- route
Table RouteTable Response - Route table resource.
- vlan Integer
- Vlan to use for the subnet
- address
Prefix string - The address prefix for the subnet: Cidr for this subnet - IPv4, IPv6.
- address
Prefixes string[] - List of address prefixes for the subnet.
- ip
Allocation stringMethod - IPAllocationMethod - The IP address allocation method. Possible values include: 'Static', 'Dynamic'
- ip
Configuration SubnetReferences Properties Format Response Ip Configuration References[] - IPConfigurationReferences - list of IPConfigurationReferences
- ip
Pools IPPoolResponse[] - network associated pool of IP Addresses
- name string
- Name - The name of the resource that is unique within a resource group. This name can be used to access the resource.
- route
Table RouteTable Response - Route table resource.
- vlan number
- Vlan to use for the subnet
- address_
prefix str - The address prefix for the subnet: Cidr for this subnet - IPv4, IPv6.
- address_
prefixes Sequence[str] - List of address prefixes for the subnet.
- ip_
allocation_ strmethod - IPAllocationMethod - The IP address allocation method. Possible values include: 'Static', 'Dynamic'
- ip_
configuration_ Sequence[Subnetreferences Properties Format Response Ip Configuration References] - IPConfigurationReferences - list of IPConfigurationReferences
- ip_
pools Sequence[IPPoolResponse] - network associated pool of IP Addresses
- name str
- Name - The name of the resource that is unique within a resource group. This name can be used to access the resource.
- route_
table RouteTable Response - Route table resource.
- vlan int
- Vlan to use for the subnet
- address
Prefix String - The address prefix for the subnet: Cidr for this subnet - IPv4, IPv6.
- address
Prefixes List<String> - List of address prefixes for the subnet.
- ip
Allocation StringMethod - IPAllocationMethod - The IP address allocation method. Possible values include: 'Static', 'Dynamic'
- ip
Configuration List<Property Map>References - IPConfigurationReferences - list of IPConfigurationReferences
- ip
Pools List<Property Map> - network associated pool of IP Addresses
- name String
- Name - The name of the resource that is unique within a resource group. This name can be used to access the resource.
- route
Table Property Map - Route table resource.
- vlan Number
- Vlan to use for the subnet
SystemDataResponse
- 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.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.66.0 published on Wednesday, Oct 9, 2024 by Pulumi