From 8a0256cbdd8ce4a10960c1ef3c4d9a0083638aa4 Mon Sep 17 00:00:00 2001 From: mpagot Date: Thu, 20 Jun 2024 07:38:28 +0000 Subject: [PATCH] deploy: 8ea6ed413d477006c71f9f31d87e4345ea3cc741 --- sles4sap/azure_cli.html | 49 ++++++++++++++++++++++++++++++----------- sles4sap/ipaddr2.html | 7 ++++++ 2 files changed, 43 insertions(+), 13 deletions(-) diff --git a/sles4sap/azure_cli.html b/sles4sap/azure_cli.html index e4c1b08e941e..d16a4c87e1ff 100644 --- a/sles4sap/azure_cli.html +++ b/sles4sap/azure_cli.html @@ -17,6 +17,7 @@
  • az_version
  • az_group_create
  • az_group_name_get
  • +
  • az_group_delete
  • az_network_vnet_create
  • az_network_nsg_create
  • az_network_nsg_rule_create
  • @@ -27,7 +28,7 @@
  • az_network_lb_rule_create
  • az_vm_as_create
  • az_vm_create
  • -
  • az_vm_name_get
  • +
  • az_vm_list
  • az_vm_instance_view_get
  • az_vm_openport
  • az_vm_wait_cloudinit
  • @@ -73,7 +74,25 @@

    az_group_name_get

    my $ret = az_group_name_get();
    -

    Get the name of all existing Resource groups in the current subscription

    +

    Get the name of all existing Resource Group in the current subscription

    + +

    az_group_delete

    + +
    az_group_delete( name => 'openqa-rg' );
    + +

    Delete a resource group with a specific name

    + +
    + +
    name - full name of the resource group
    +
    + +
    +
    timeout - timeout, default 60
    +
    + +
    +

    az_network_vnet_create

    @@ -147,7 +166,7 @@

    az_network_nsg_rule_create

    -
    resource_group - existing resource group where to create the NSG
    +
    resource_group - existing resource group where to create the NSG rule
    @@ -283,7 +302,7 @@

    az_network_lb_probe_create

    -
    resource_group - existing resource group where to create lb
    +
    resource_group - existing resource group where to create lb probe
    @@ -321,7 +340,7 @@

    az_network_lb_rule_create

    -
    resource_group - existing resource group where to create lb
    +
    resource_group - existing resource group where to create lb rule
    @@ -455,15 +474,19 @@

    az_vm_create

    -

    az_vm_name_get

    +

    az_vm_list

    -
    my $ret = az_vm_name_get(resource_group => 'openqa-rg');
    +
    my $ret = az_vm_list(resource_group => 'openqa-rg', query => '[].name');
    -

    Get the name of all existing VMs within a Resource groups

    +

    Get the info from all existing VMs within a Resource Group Return a decoded json hash according to the provided jmespath query

    -
    resource_group - existing resource group where to create the network
    +
    resource_group - existing resource group where to search for VMs
    +
    + +
    +
    query - valid jmespath https://jmespath.org/
    @@ -483,7 +506,7 @@

    az_vm_instance_view_get

    -
    resource_group - existing resource group where to create the VM
    +
    resource_group - existing resource group where to look for a specific VM
    @@ -504,7 +527,7 @@

    az_vm_openport

    -
    resource_group - existing resource group where to create the Availability set
    +
    resource_group - existing resource group where to search for a specific VM
    @@ -528,7 +551,7 @@

    az_vm_wait_cloudinit

    -
    resource_group - existing resource group where to create the Availability set
    +
    resource_group - existing resource group where to search for a specific VM
    @@ -556,7 +579,7 @@

    az_nic_id_get

    -
    resource_group - existing resource group where to create the Availability set
    +
    resource_group - existing resource group where to search for a specific NIC
    diff --git a/sles4sap/ipaddr2.html b/sles4sap/ipaddr2.html index 47380ac7572f..898988ec5f61 100644 --- a/sles4sap/ipaddr2.html +++ b/sles4sap/ipaddr2.html @@ -23,6 +23,7 @@
  • ipaddr2_ssh_assert_script_run_bastion
  • ipaddr2_destroy
  • ipaddr2_get_internal_vm_name
  • +
  • ipaddr2_get_internal_vm_private_ip
  • lib/sles4sap/ipaddr2.pm

    @@ -129,6 +130,12 @@

    ipaddr2_get_internal_vm_name

    compose and return a string for the vm name

    +

    ipaddr2_get_internal_vm_private_ip

    + +
    my $private_ip = ipaddr2_get_internal_vm_private_ip(42);
    + +

    compose and return a string representing the VM private IP

    +