Skip to content

Latest commit

 

History

History

azure_compute_swagger

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

@datafire/azure_compute_swagger

Client library for ComputeManagementConvenienceClient

Installation and Usage

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

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

Description

Actions

VirtualMachines_QuickCreate

Create a named template deployment using a template.

azure_compute_swagger.VirtualMachines_QuickCreate({
  "resourceGroupName": "",
  "deploymentName": "",
  "api-version": "",
  "subscriptionId": ""
}, context)

Input

  • input object
    • resourceGroupName required string: The name of the resource group. The name is case insensitive.
    • deploymentName required string: The name of the deployment.
    • parameters Deployment
    • api-version required string: Client Api Version.
    • subscriptionId required string: Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.

Output

Definitions

BasicDependency

  • BasicDependency object: Deployment dependency information.
    • id string: Gets or sets the ID of the dependency.
    • resourceName string: Gets or sets the dependency resource name.
    • resourceType string: Gets or sets the dependency resource type.

Dependency

  • Dependency object: Deployment dependency information.
    • dependsOn array: Gets the list of dependencies.
    • id string: Gets or sets the ID of the dependency.
    • resourceName string: Gets or sets the dependency resource name.
    • resourceType string: Gets or sets the dependency resource type.

Deployment

DeploymentExtended

  • DeploymentExtended object: Deployment information.
    • id string: Gets or sets the ID of the deployment.
    • name required string: Gets or sets the name of the deployment.
    • properties DeploymentPropertiesExtended

DeploymentParameters

  • DeploymentParameters object
    • adminPassword object
      • value required string: Password for the Virtual Machine.
    • adminUsername object
      • value required string: Username for the Virtual Machine.
    • dnsLabelPrefix object
      • value required string: Unique DNS Name for the Public IP used to access the Virtual Machine.
    • osVersion object: Deployment operation parameters.
      • value required string (values: 12.04.5-LTS, 14.04.2-LTS, 15.10): The OS version for the VM. This will pick a fully patched image of this given OS version.

DeploymentProperties

  • DeploymentProperties object: Deployment properties.

DeploymentPropertiesExtended

  • DeploymentPropertiesExtended object: Deployment properties with additional details.
    • correlationId string: Gets or sets the correlation ID of the deployment.
    • dependencies array: Gets the list of deployment dependencies.
    • mode string (values: Incremental, Complete): Gets or sets the deployment mode.
    • outputs object: Gets or sets key/value pairs that represent deployment output.
    • parameters object: Deployment parameters. Use only one of Parameters or ParametersLink.
    • parametersLink ParametersLink
    • providers array: Gets the list of resource providers needed for the deployment.
    • provisioningState string: Gets or sets the state of the provisioning.
    • template object: Gets or sets the template content. Use only one of Template or TemplateLink.
    • templateLink TemplateLink
    • timestamp string: Gets or sets the timestamp of the template deployment.

ParametersLink

  • ParametersLink object: Entity representing the reference to the deployment parameters.
    • contentVersion string: If included it must match the ContentVersion in the template.
    • uri required string: URI referencing the template.

Provider

  • Provider object: Resource provider information.
    • id string: Gets or sets the provider id.
    • namespace string: Gets or sets the namespace of the provider.
    • registrationState string: Gets or sets the registration state of the provider.
    • resourceTypes array: Gets or sets the collection of provider resource types.

ProviderResourceType

  • ProviderResourceType object: Resource type managed by the resource provider.
    • apiVersions array: Gets or sets the api version.
      • items string
    • locations array: Gets or sets the collection of locations where this resource type can be created in.
      • items string
    • properties object: Gets or sets the properties.
    • resourceType string: Gets or sets the resource type.

TemplateLink