Bare Metal Solution API . projects . locations . instanceProvisioningSettings

Instance Methods

close()

Close httplib2 connections.

fetch(location, x__xgafv=None)

Get instance provisioning settings for a given project. This is hidden method used by UI only.

Method Details

close()
Close httplib2 connections.
fetch(location, x__xgafv=None)
Get instance provisioning settings for a given project. This is hidden method used by UI only.

Args:
  location: string, Required. The parent project and location containing the ProvisioningSettings. (required)
  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format

Returns:
  An object of the form:

    { # Response with all provisioning settings.
  "images": [ # The OS images available.
    { # Operation System image.
      "applicableInstanceTypes": [ # Instance types this image is applicable to. [Available types](https://cloud.google.com/bare-metal/docs/bms-planning#server_configurations)
        "A String",
      ],
      "code": "A String", # OS Image code.
      "description": "A String", # OS Image description.
      "name": "A String", # Output only. OS Image's unique name.
      "supportedNetworkTemplates": [ # Network templates that can be used with this OS Image.
        { # Network template.
          "applicableInstanceTypes": [ # Instance types this template is applicable to.
            "A String",
          ],
          "logicalInterfaces": [ # Logical interfaces.
            { # Logical interface.
              "name": "A String", # Interface name. This is not a globally unique identifier. Name is unique only inside the ServerNetworkTemplate. This is of syntax or and forms part of the network template name.
              "required": True or False, # If true, interface must have network connected.
              "type": "A String", # Interface type.
            },
          ],
          "name": "A String", # Output only. Template's unique name. The full resource name follows the pattern: `projects/{project}/locations/{location}/serverNetworkTemplate/{server_network_template}` Generally, the {server_network_template} follows the syntax of "bond" or "nic".
        },
      ],
    },
  ],
}