3.0.0 • Published 5 years ago

@datafire/azure_azsadmin_platformimages v3.0.0

Weekly downloads
1
License
MIT
Repository
github
Last release
5 years ago

@datafire/azure_azsadmin_platformimages

Client library for Compute Admin Client

Installation and Usage

npm install --save @datafire/azure_azsadmin_platformimages
let azure_azsadmin_platformimages = require('@datafire/azure_azsadmin_platformimages').create({
  access_token: "",
  refresh_token: "",
  client_id: "",
  client_secret: "",
  redirect_uri: ""
});

.then(data => {
  console.log(data);
});

Description

Actions

PlatformImages_List

Returns a list of all platform images.

azure_azsadmin_platformimages.PlatformImages_List({
  "subscriptionId": "",
  "location": "",
  "api-version": ""
}, context)

Input

  • input object
    • subscriptionId required string: Subscription credentials that uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.
    • location required string: Location of the resource.
    • api-version required string: Client API Version.

Output

PlatformImages_Delete

Delete a platform image

azure_azsadmin_platformimages.PlatformImages_Delete({
  "subscriptionId": "",
  "location": "",
  "publisher": "",
  "offer": "",
  "sku": "",
  "version": "",
  "api-version": ""
}, context)

Input

  • input object
    • subscriptionId required string: Subscription credentials that uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.
    • location required string: Location of the resource.
    • publisher required string: Name of the publisher.
    • offer required string: Name of the offer.
    • sku required string: Name of the SKU.
    • version required string: The version of the resource.
    • api-version required string: Client API Version.

Output

Output schema unknown

PlatformImages_Get

Returns the specific platform image matching publisher, offer, skus and version.

azure_azsadmin_platformimages.PlatformImages_Get({
  "subscriptionId": "",
  "location": "",
  "publisher": "",
  "offer": "",
  "sku": "",
  "version": "",
  "api-version": ""
}, context)

Input

  • input object
    • subscriptionId required string: Subscription credentials that uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.
    • location required string: Location of the resource.
    • publisher required string: Name of the publisher.
    • offer required string: Name of the offer.
    • sku required string: Name of the SKU.
    • version required string: The version of the resource.
    • api-version required string: Client API Version.

Output

PlatformImages_Create

Creates a new platform image with given publisher, offer, skus and version.

azure_azsadmin_platformimages.PlatformImages_Create({
  "subscriptionId": "",
  "location": "",
  "publisher": "",
  "offer": "",
  "sku": "",
  "version": "",
  "api-version": "",
  "newImage": {}
}, context)

Input

  • input object
    • subscriptionId required string: Subscription credentials that uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.
    • location required string: Location of the resource.
    • publisher required string: Name of the publisher.
    • offer required string: Name of the offer.
    • sku required string: Name of the SKU.
    • version required string: The version of the resource.
    • api-version required string: Client API Version.
    • newImage required PlatformImageParameters

Output

Definitions

DataDisk

  • DataDisk object: Information about datadisk.
    • lun integer: Logical unit number.
    • uri string: Location of the disk template.

ImageDetails

  • ImageDetails object: Information about the disk image.
    • billingPartNumber string: The part number is used to bill for software costs.

OsDisk

  • OsDisk object: Operating system disk.
    • osType OsType
    • uri string: Location of the disk.

OsType

  • OsType string (values: Unknown, Windows, Linux): Operating system type.

PlatformImage

  • PlatformImage object: Platform image represents a virtual machine.
    • properties PlatformImageProperties
    • id string: ID of the resource.
    • location string: Location of the resource.
    • name string: Name of the resource.
    • type string: Type of Resource.

PlatformImageList

  • PlatformImageList array: List of platform images.

PlatformImageParameters

PlatformImageProperties

  • PlatformImageProperties object: Properties of platform image.
    • dataDisks array: Data disks used by the platform image.
    • details ImageDetails
    • osDisk OsDisk
    • provisioningState string (values: Creating, Failed, Succeeded, Canceled): The provisioning state of the resource.