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.89.1 published on Sunday, Mar 2, 2025 by Pulumi
azure-native.hybridnetwork.getNetworkFunction
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.89.1 published on Sunday, Mar 2, 2025 by Pulumi
Gets information about the specified network function resource. Azure REST API version: 2022-01-01-preview.
Other available API versions: 2023-09-01, 2024-04-15.
Using getNetworkFunction
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 getNetworkFunction(args: GetNetworkFunctionArgs, opts?: InvokeOptions): Promise<GetNetworkFunctionResult>
function getNetworkFunctionOutput(args: GetNetworkFunctionOutputArgs, opts?: InvokeOptions): Output<GetNetworkFunctionResult>def get_network_function(network_function_name: Optional[str] = None,
                         resource_group_name: Optional[str] = None,
                         opts: Optional[InvokeOptions] = None) -> GetNetworkFunctionResult
def get_network_function_output(network_function_name: Optional[pulumi.Input[str]] = None,
                         resource_group_name: Optional[pulumi.Input[str]] = None,
                         opts: Optional[InvokeOptions] = None) -> Output[GetNetworkFunctionResult]func LookupNetworkFunction(ctx *Context, args *LookupNetworkFunctionArgs, opts ...InvokeOption) (*LookupNetworkFunctionResult, error)
func LookupNetworkFunctionOutput(ctx *Context, args *LookupNetworkFunctionOutputArgs, opts ...InvokeOption) LookupNetworkFunctionResultOutput> Note: This function is named LookupNetworkFunction in the Go SDK.
public static class GetNetworkFunction 
{
    public static Task<GetNetworkFunctionResult> InvokeAsync(GetNetworkFunctionArgs args, InvokeOptions? opts = null)
    public static Output<GetNetworkFunctionResult> Invoke(GetNetworkFunctionInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetNetworkFunctionResult> getNetworkFunction(GetNetworkFunctionArgs args, InvokeOptions options)
public static Output<GetNetworkFunctionResult> getNetworkFunction(GetNetworkFunctionArgs args, InvokeOptions options)
fn::invoke:
  function: azure-native:hybridnetwork:getNetworkFunction
  arguments:
    # arguments dictionaryThe following arguments are supported:
- NetworkFunction stringName 
- The name of the network function resource.
- ResourceGroup stringName 
- The name of the resource group. The name is case insensitive.
- NetworkFunction stringName 
- The name of the network function resource.
- ResourceGroup stringName 
- The name of the resource group. The name is case insensitive.
- networkFunction StringName 
- The name of the network function resource.
- resourceGroup StringName 
- The name of the resource group. The name is case insensitive.
- networkFunction stringName 
- The name of the network function resource.
- resourceGroup stringName 
- The name of the resource group. The name is case insensitive.
- network_function_ strname 
- The name of the network function resource.
- resource_group_ strname 
- The name of the resource group. The name is case insensitive.
- networkFunction StringName 
- The name of the network function resource.
- resourceGroup StringName 
- The name of the resource group. The name is case insensitive.
getNetworkFunction 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
- ManagedApplication Pulumi.Azure Native. Hybrid Network. Outputs. Sub Resource Response 
- The resource URI of the managed application.
- Name string
- The name of the resource
- ProvisioningState string
- The provisioning state of the network function resource.
- ServiceKey string
- The service key for the network function resource.
- SkuType string
- The sku type for the network function.
- SystemData Pulumi.Azure Native. Hybrid Network. Outputs. System Data Response 
- The system meta data relating to this resource.
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- VendorProvisioning stringState 
- The vendor provisioning state for the network function resource.
- Device
Pulumi.Azure Native. Hybrid Network. Outputs. Sub Resource Response 
- The reference to the device resource. Once set, it cannot be updated.
- Etag string
- A unique read-only string that changes whenever the resource is updated.
- ManagedApplication objectParameters 
- The parameters for the managed application.
- NetworkFunction objectContainer Configurations 
- The network function container configurations from the user.
- NetworkFunction List<Pulumi.User Configurations Azure Native. Hybrid Network. Outputs. Network Function User Configuration Response> 
- The network function configurations from the user.
- SkuName string
- The sku name for the network function. Once set, it cannot be updated.
- Dictionary<string, string>
- Resource tags.
- VendorName string
- The vendor name for the network function. Once set, it cannot be updated.
- 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
- ManagedApplication SubResource Response 
- The resource URI of the managed application.
- Name string
- The name of the resource
- ProvisioningState string
- The provisioning state of the network function resource.
- ServiceKey string
- The service key for the network function resource.
- SkuType string
- The sku type for the network function.
- SystemData SystemData Response 
- The system meta data relating to this resource.
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- VendorProvisioning stringState 
- The vendor provisioning state for the network function resource.
- Device
SubResource Response 
- The reference to the device resource. Once set, it cannot be updated.
- Etag string
- A unique read-only string that changes whenever the resource is updated.
- ManagedApplication interface{}Parameters 
- The parameters for the managed application.
- NetworkFunction interface{}Container Configurations 
- The network function container configurations from the user.
- NetworkFunction []NetworkUser Configurations Function User Configuration Response 
- The network function configurations from the user.
- SkuName string
- The sku name for the network function. Once set, it cannot be updated.
- map[string]string
- Resource tags.
- VendorName string
- The vendor name for the network function. Once set, it cannot be updated.
- 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
- managedApplication SubResource Response 
- The resource URI of the managed application.
- name String
- The name of the resource
- provisioningState String
- The provisioning state of the network function resource.
- serviceKey String
- The service key for the network function resource.
- skuType String
- The sku type for the network function.
- systemData SystemData Response 
- The system meta data relating to this resource.
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- vendorProvisioning StringState 
- The vendor provisioning state for the network function resource.
- device
SubResource Response 
- The reference to the device resource. Once set, it cannot be updated.
- etag String
- A unique read-only string that changes whenever the resource is updated.
- managedApplication ObjectParameters 
- The parameters for the managed application.
- networkFunction ObjectContainer Configurations 
- The network function container configurations from the user.
- networkFunction List<NetworkUser Configurations Function User Configuration Response> 
- The network function configurations from the user.
- skuName String
- The sku name for the network function. Once set, it cannot be updated.
- Map<String,String>
- Resource tags.
- vendorName String
- The vendor name for the network function. Once set, it cannot be updated.
- 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
- managedApplication SubResource Response 
- The resource URI of the managed application.
- name string
- The name of the resource
- provisioningState string
- The provisioning state of the network function resource.
- serviceKey string
- The service key for the network function resource.
- skuType string
- The sku type for the network function.
- systemData SystemData Response 
- The system meta data relating to this resource.
- type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- vendorProvisioning stringState 
- The vendor provisioning state for the network function resource.
- device
SubResource Response 
- The reference to the device resource. Once set, it cannot be updated.
- etag string
- A unique read-only string that changes whenever the resource is updated.
- managedApplication anyParameters 
- The parameters for the managed application.
- networkFunction anyContainer Configurations 
- The network function container configurations from the user.
- networkFunction NetworkUser Configurations Function User Configuration Response[] 
- The network function configurations from the user.
- skuName string
- The sku name for the network function. Once set, it cannot be updated.
- {[key: string]: string}
- Resource tags.
- vendorName string
- The vendor name for the network function. Once set, it cannot be updated.
- 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
- managed_application SubResource Response 
- The resource URI of the managed application.
- name str
- The name of the resource
- provisioning_state str
- The provisioning state of the network function resource.
- service_key str
- The service key for the network function resource.
- sku_type str
- The sku type for the network function.
- system_data SystemData Response 
- The system meta data relating to this resource.
- type str
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- vendor_provisioning_ strstate 
- The vendor provisioning state for the network function resource.
- device
SubResource Response 
- The reference to the device resource. Once set, it cannot be updated.
- etag str
- A unique read-only string that changes whenever the resource is updated.
- managed_application_ Anyparameters 
- The parameters for the managed application.
- network_function_ Anycontainer_ configurations 
- The network function container configurations from the user.
- network_function_ Sequence[Networkuser_ configurations Function User Configuration Response] 
- The network function configurations from the user.
- sku_name str
- The sku name for the network function. Once set, it cannot be updated.
- Mapping[str, str]
- Resource tags.
- vendor_name str
- The vendor name for the network function. Once set, it cannot be updated.
- 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
- managedApplication Property Map
- The resource URI of the managed application.
- name String
- The name of the resource
- provisioningState String
- The provisioning state of the network function resource.
- serviceKey String
- The service key for the network function resource.
- skuType String
- The sku type for the network function.
- systemData Property Map
- The system meta data relating to this resource.
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- vendorProvisioning StringState 
- The vendor provisioning state for the network function resource.
- device Property Map
- The reference to the device resource. Once set, it cannot be updated.
- etag String
- A unique read-only string that changes whenever the resource is updated.
- managedApplication AnyParameters 
- The parameters for the managed application.
- networkFunction AnyContainer Configurations 
- The network function container configurations from the user.
- networkFunction List<Property Map>User Configurations 
- The network function configurations from the user.
- skuName String
- The sku name for the network function. Once set, it cannot be updated.
- Map<String>
- Resource tags.
- vendorName String
- The vendor name for the network function. Once set, it cannot be updated.
Supporting Types
NetworkFunctionUserConfigurationResponse    
- NetworkInterfaces List<Pulumi.Azure Native. Hybrid Network. Inputs. Network Interface Response> 
- The network interface configuration.
- OsProfile Pulumi.Azure Native. Hybrid Network. Inputs. Network Function User Configuration Response Os Profile 
- Specifies the operating system settings for the role instance.
- RoleName string
- The name of the network function role.
- UserData objectParameters 
- The user data parameters from the customer.
- NetworkInterfaces []NetworkInterface Response 
- The network interface configuration.
- OsProfile NetworkFunction User Configuration Response Os Profile 
- Specifies the operating system settings for the role instance.
- RoleName string
- The name of the network function role.
- UserData interface{}Parameters 
- The user data parameters from the customer.
- networkInterfaces List<NetworkInterface Response> 
- The network interface configuration.
- osProfile NetworkFunction User Configuration Response Os Profile 
- Specifies the operating system settings for the role instance.
- roleName String
- The name of the network function role.
- userData ObjectParameters 
- The user data parameters from the customer.
- networkInterfaces NetworkInterface Response[] 
- The network interface configuration.
- osProfile NetworkFunction User Configuration Response Os Profile 
- Specifies the operating system settings for the role instance.
- roleName string
- The name of the network function role.
- userData anyParameters 
- The user data parameters from the customer.
- network_interfaces Sequence[NetworkInterface Response] 
- The network interface configuration.
- os_profile NetworkFunction User Configuration Response Os Profile 
- Specifies the operating system settings for the role instance.
- role_name str
- The name of the network function role.
- user_data_ Anyparameters 
- The user data parameters from the customer.
- networkInterfaces List<Property Map>
- The network interface configuration.
- osProfile Property Map
- Specifies the operating system settings for the role instance.
- roleName String
- The name of the network function role.
- userData AnyParameters 
- The user data parameters from the customer.
NetworkFunctionUserConfigurationResponseOsProfile      
- CustomData string
- Specifies a base-64 encoded string of custom data. The base-64 encoded string is decoded to a binary array that is saved as a file on the virtual machine. The maximum length of the binary array is 65535 bytes. Note: Do not pass any secrets or passwords in customData property This property cannot be updated after the VM is created. customData is passed to the VM to be saved as a file. For more information see Custom Data on Azure VMs For using cloud-init for your Linux VM, see Using cloud-init to customize a Linux VM during creation
- CustomData string
- Specifies a base-64 encoded string of custom data. The base-64 encoded string is decoded to a binary array that is saved as a file on the virtual machine. The maximum length of the binary array is 65535 bytes. Note: Do not pass any secrets or passwords in customData property This property cannot be updated after the VM is created. customData is passed to the VM to be saved as a file. For more information see Custom Data on Azure VMs For using cloud-init for your Linux VM, see Using cloud-init to customize a Linux VM during creation
- customData String
- Specifies a base-64 encoded string of custom data. The base-64 encoded string is decoded to a binary array that is saved as a file on the virtual machine. The maximum length of the binary array is 65535 bytes. Note: Do not pass any secrets or passwords in customData property This property cannot be updated after the VM is created. customData is passed to the VM to be saved as a file. For more information see Custom Data on Azure VMs For using cloud-init for your Linux VM, see Using cloud-init to customize a Linux VM during creation
- customData string
- Specifies a base-64 encoded string of custom data. The base-64 encoded string is decoded to a binary array that is saved as a file on the virtual machine. The maximum length of the binary array is 65535 bytes. Note: Do not pass any secrets or passwords in customData property This property cannot be updated after the VM is created. customData is passed to the VM to be saved as a file. For more information see Custom Data on Azure VMs For using cloud-init for your Linux VM, see Using cloud-init to customize a Linux VM during creation
- custom_data str
- Specifies a base-64 encoded string of custom data. The base-64 encoded string is decoded to a binary array that is saved as a file on the virtual machine. The maximum length of the binary array is 65535 bytes. Note: Do not pass any secrets or passwords in customData property This property cannot be updated after the VM is created. customData is passed to the VM to be saved as a file. For more information see Custom Data on Azure VMs For using cloud-init for your Linux VM, see Using cloud-init to customize a Linux VM during creation
- customData String
- Specifies a base-64 encoded string of custom data. The base-64 encoded string is decoded to a binary array that is saved as a file on the virtual machine. The maximum length of the binary array is 65535 bytes. Note: Do not pass any secrets or passwords in customData property This property cannot be updated after the VM is created. customData is passed to the VM to be saved as a file. For more information see Custom Data on Azure VMs For using cloud-init for your Linux VM, see Using cloud-init to customize a Linux VM during creation
NetworkInterfaceIPConfigurationResponse   
- DnsServers List<string>
- The list of DNS servers IP addresses.
- Gateway string
- The value of the gateway.
- IpAddress string
- The value of the IP address.
- IpAllocation stringMethod 
- IP address allocation method.
- IpVersion string
- IP address version.
- Subnet string
- The value of the subnet.
- DnsServers []string
- The list of DNS servers IP addresses.
- Gateway string
- The value of the gateway.
- IpAddress string
- The value of the IP address.
- IpAllocation stringMethod 
- IP address allocation method.
- IpVersion string
- IP address version.
- Subnet string
- The value of the subnet.
- dnsServers List<String>
- The list of DNS servers IP addresses.
- gateway String
- The value of the gateway.
- ipAddress String
- The value of the IP address.
- ipAllocation StringMethod 
- IP address allocation method.
- ipVersion String
- IP address version.
- subnet String
- The value of the subnet.
- dnsServers string[]
- The list of DNS servers IP addresses.
- gateway string
- The value of the gateway.
- ipAddress string
- The value of the IP address.
- ipAllocation stringMethod 
- IP address allocation method.
- ipVersion string
- IP address version.
- subnet string
- The value of the subnet.
- dns_servers Sequence[str]
- The list of DNS servers IP addresses.
- gateway str
- The value of the gateway.
- ip_address str
- The value of the IP address.
- ip_allocation_ strmethod 
- IP address allocation method.
- ip_version str
- IP address version.
- subnet str
- The value of the subnet.
- dnsServers List<String>
- The list of DNS servers IP addresses.
- gateway String
- The value of the gateway.
- ipAddress String
- The value of the IP address.
- ipAllocation StringMethod 
- IP address allocation method.
- ipVersion String
- IP address version.
- subnet String
- The value of the subnet.
NetworkInterfaceResponse  
- IpConfigurations List<Pulumi.Azure Native. Hybrid Network. Inputs. Network Interface IPConfiguration Response> 
- A list of IP configurations of the network interface.
- MacAddress string
- The MAC address of the network interface.
- NetworkInterface stringName 
- The name of the network interface.
- VmSwitch stringType 
- The type of the VM switch.
- IpConfigurations []NetworkInterface IPConfiguration Response 
- A list of IP configurations of the network interface.
- MacAddress string
- The MAC address of the network interface.
- NetworkInterface stringName 
- The name of the network interface.
- VmSwitch stringType 
- The type of the VM switch.
- ipConfigurations List<NetworkInterface IPConfiguration Response> 
- A list of IP configurations of the network interface.
- macAddress String
- The MAC address of the network interface.
- networkInterface StringName 
- The name of the network interface.
- vmSwitch StringType 
- The type of the VM switch.
- ipConfigurations NetworkInterface IPConfiguration Response[] 
- A list of IP configurations of the network interface.
- macAddress string
- The MAC address of the network interface.
- networkInterface stringName 
- The name of the network interface.
- vmSwitch stringType 
- The type of the VM switch.
- ip_configurations Sequence[NetworkInterface IPConfiguration Response] 
- A list of IP configurations of the network interface.
- mac_address str
- The MAC address of the network interface.
- network_interface_ strname 
- The name of the network interface.
- vm_switch_ strtype 
- The type of the VM switch.
- ipConfigurations List<Property Map>
- A list of IP configurations of the network interface.
- macAddress String
- The MAC address of the network interface.
- networkInterface StringName 
- The name of the network interface.
- vmSwitch StringType 
- The type of the VM switch.
SubResourceResponse  
- Id string
- Resource ID.
- Id string
- Resource ID.
- id String
- Resource ID.
- id string
- Resource ID.
- id str
- Resource ID.
- id String
- Resource ID.
SystemDataResponse  
- CreatedAt string
- The timestamp of resource creation (UTC).
- CreatedBy string
- The identity that created the resource.
- CreatedBy stringType 
- The type of identity that created the resource.
- LastModified stringAt 
- The timestamp of resource last modification (UTC)
- LastModified stringBy 
- The identity that last modified the resource.
- LastModified stringBy Type 
- The type of identity that last modified the resource.
- CreatedAt string
- The timestamp of resource creation (UTC).
- CreatedBy string
- The identity that created the resource.
- CreatedBy stringType 
- The type of identity that created the resource.
- LastModified stringAt 
- The timestamp of resource last modification (UTC)
- LastModified stringBy 
- The identity that last modified the resource.
- LastModified stringBy Type 
- The type of identity that last modified the resource.
- createdAt String
- The timestamp of resource creation (UTC).
- createdBy String
- The identity that created the resource.
- createdBy StringType 
- The type of identity that created the resource.
- lastModified StringAt 
- The timestamp of resource last modification (UTC)
- lastModified StringBy 
- The identity that last modified the resource.
- lastModified StringBy Type 
- The type of identity that last modified the resource.
- createdAt string
- The timestamp of resource creation (UTC).
- createdBy string
- The identity that created the resource.
- createdBy stringType 
- The type of identity that created the resource.
- lastModified stringAt 
- The timestamp of resource last modification (UTC)
- lastModified stringBy 
- The identity that last modified the resource.
- lastModified 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.
- createdAt String
- The timestamp of resource creation (UTC).
- createdBy String
- The identity that created the resource.
- createdBy StringType 
- The type of identity that created the resource.
- lastModified StringAt 
- The timestamp of resource last modification (UTC)
- lastModified StringBy 
- The identity that last modified the resource.
- lastModified 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.89.1 published on Sunday, Mar 2, 2025 by Pulumi