Skip to main content

virtual_network_addresses

Creates, updates, deletes, gets or lists a virtual_network_addresses resource.

Overview

Namevirtual_network_addresses
TypeResource
Idazure_isv.oracle.virtual_network_addresses

Fields

NameDatatypeDescription
cloudvmclusternametextfield from the properties object
domaintextfield from the properties object
ip_addresstextfield from the properties object
lifecycle_detailstextfield from the properties object
lifecycle_statetextfield from the properties object
ocidtextfield from the properties object
provisioning_statetextfield from the properties object
resourceGroupNametextfield from the properties object
subscriptionIdtextfield from the properties object
time_assignedtextfield from the properties object
virtualnetworkaddressnametextfield from the properties object
vm_ocidtextfield from the properties object

Methods

NameAccessible byRequired ParamsDescription
getSELECTcloudvmclustername, resourceGroupName, subscriptionId, virtualnetworkaddressnameGet a VirtualNetworkAddress
list_by_cloud_vm_clusterSELECTcloudvmclustername, resourceGroupName, subscriptionIdList VirtualNetworkAddress resources by CloudVmCluster
create_or_updateINSERTcloudvmclustername, resourceGroupName, subscriptionId, virtualnetworkaddressnameCreate a VirtualNetworkAddress
deleteDELETEcloudvmclustername, resourceGroupName, subscriptionId, virtualnetworkaddressnameDelete a VirtualNetworkAddress

SELECT examples

List VirtualNetworkAddress resources by CloudVmCluster

SELECT
cloudvmclustername,
domain,
ip_address,
lifecycle_details,
lifecycle_state,
ocid,
provisioning_state,
resourceGroupName,
subscriptionId,
time_assigned,
virtualnetworkaddressname,
vm_ocid
FROM azure_isv.oracle.vw_virtual_network_addresses
WHERE cloudvmclustername = '{{ cloudvmclustername }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';

INSERT example

Use the following StackQL query and manifest file to create a new virtual_network_addresses resource.

/*+ create */
INSERT INTO azure_isv.oracle.virtual_network_addresses (
cloudvmclustername,
resourceGroupName,
subscriptionId,
virtualnetworkaddressname,
properties
)
SELECT
'{{ cloudvmclustername }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ virtualnetworkaddressname }}',
'{{ properties }}'
;

DELETE example

Deletes the specified virtual_network_addresses resource.

/*+ delete */
DELETE FROM azure_isv.oracle.virtual_network_addresses
WHERE cloudvmclustername = '{{ cloudvmclustername }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}'
AND virtualnetworkaddressname = '{{ virtualnetworkaddressname }}';