@datafire/azure_devspaces
v3.0.0
Published
DataFire integration for DevSpacesManagement
Downloads
23
Readme
@datafire/azure_devspaces
Client library for DevSpacesManagement
Installation and Usage
npm install --save @datafire/azure_devspaces
let azure_devspaces = require('@datafire/azure_devspaces').create({
access_token: "",
refresh_token: "",
client_id: "",
client_secret: "",
redirect_uri: ""
});
.then(data => {
console.log(data);
});
Description
Dev Spaces REST API
Actions
Operations_List
Lists all the supported operations by the Microsoft.DevSpaces resource provider along with their description.
azure_devspaces.Operations_List({
"api-version": ""
}, context)
Input
- input
object
- api-version required
string
: Client API version.
- api-version required
Output
Controllers_List
Lists all the Azure Dev Spaces Controllers with their properties in the subscription.
azure_devspaces.Controllers_List({
"api-version": "",
"subscriptionId": ""
}, context)
Input
- input
object
- api-version required
string
: Client API version. - subscriptionId required
string
: Azure subscription ID.
- api-version required
Output
- output ControllerList
Controllers_ListByResourceGroup
Lists all the Azure Dev Spaces Controllers with their properties in the specified resource group and subscription.
azure_devspaces.Controllers_ListByResourceGroup({
"api-version": "",
"subscriptionId": "",
"resourceGroupName": ""
}, context)
Input
- input
object
- api-version required
string
: Client API version. - subscriptionId required
string
: Azure subscription ID. - resourceGroupName required
string
: Resource group to which the resource belongs.
- api-version required
Output
- output ControllerList
Controllers_Delete
Deletes an existing Azure Dev Spaces Controller.
azure_devspaces.Controllers_Delete({
"api-version": "",
"subscriptionId": "",
"resourceGroupName": "",
"name": ""
}, context)
Input
- input
object
- api-version required
string
: Client API version. - subscriptionId required
string
: Azure subscription ID. - resourceGroupName required
string
: Resource group to which the resource belongs. - name required
string
: Name of the resource.
- api-version required
Output
Output schema unknown
Controllers_Get
Gets the properties for an Azure Dev Spaces Controller.
azure_devspaces.Controllers_Get({
"api-version": "",
"subscriptionId": "",
"resourceGroupName": "",
"name": ""
}, context)
Input
- input
object
- api-version required
string
: Client API version. - subscriptionId required
string
: Azure subscription ID. - resourceGroupName required
string
: Resource group to which the resource belongs. - name required
string
: Name of the resource.
- api-version required
Output
- output Controller
Controllers_Update
Updates the properties of an existing Azure Dev Spaces Controller with the specified update parameters.
azure_devspaces.Controllers_Update({
"api-version": "",
"subscriptionId": "",
"resourceGroupName": "",
"name": "",
"controllerUpdateParameters": null
}, context)
Input
- input
object
- api-version required
string
: Client API version. - subscriptionId required
string
: Azure subscription ID. - resourceGroupName required
string
: Resource group to which the resource belongs. - name required
string
: Name of the resource. - controllerUpdateParameters required ControllerUpdateParameters
- api-version required
Output
- output Controller
Controllers_Create
Creates an Azure Dev Spaces Controller with the specified create parameters.
azure_devspaces.Controllers_Create({
"api-version": "",
"subscriptionId": "",
"resourceGroupName": "",
"name": "",
"controller": null
}, context)
Input
- input
object
- api-version required
string
: Client API version. - subscriptionId required
string
: Azure subscription ID. - resourceGroupName required
string
: Resource group to which the resource belongs. - name required
string
: Name of the resource. - controller required Controller
- api-version required
Output
- output Controller
Controllers_ListConnectionDetails
Lists connection details for the underlying container resources of an Azure Dev Spaces Controller.
azure_devspaces.Controllers_ListConnectionDetails({
"api-version": "",
"subscriptionId": "",
"resourceGroupName": "",
"name": ""
}, context)
Input
- input
object
- api-version required
string
: Client API version. - subscriptionId required
string
: Azure subscription ID. - resourceGroupName required
string
: Resource group to which the resource belongs. - name required
string
: Name of the resource.
- api-version required
Output
ContainerHostMappings_GetContainerHostMapping
Returns container host mapping object for a container host resource ID if an associated controller exists.
azure_devspaces.ContainerHostMappings_GetContainerHostMapping({
"api-version": "",
"containerHostMapping": null,
"subscriptionId": "",
"resourceGroupName": "",
"location": ""
}, context)
Input
- input
object
- api-version required
string
: Client API version. - containerHostMapping required ContainerHostMapping
- subscriptionId required
string
: Azure subscription ID. - resourceGroupName required
string
: Resource group to which the resource belongs. - location required
string
: Location of the container host.
- api-version required
Output
Output schema unknown
Definitions
ContainerHostMapping
- ContainerHostMapping
object
: Container host mapping object specifying the Container host resource ID and its associated Controller resource.- containerHostResourceId
string
: ARM ID of the Container Host resource - mappedControllerResourceId
string
: ARM ID of the mapped Controller resource
- containerHostResourceId
Controller
- Controller
object
- properties required ControllerProperties
- sku required Sku
- location
string
: Region where the Azure resource is located. - tags
object
: Tags for the Azure resource. - id
string
: Fully qualified resource Id for the resource. - name
string
: The name of the resource. - type
string
: The type of the resource.
ControllerConnectionDetails
- ControllerConnectionDetails
object
- authKey
string
: Authentication key for communicating with services. - orchestratorSpecificConnectionDetails OrchestratorSpecificConnectionDetails
- authKey
ControllerConnectionDetailsList
- ControllerConnectionDetailsList
object
- connectionDetailsList
array
: List of Azure Dev Spaces Controller connection details.
- connectionDetailsList
ControllerList
- ControllerList
object
- nextLink
string
: The URI that can be used to request the next page for list of Azure Dev Spaces Controllers. - value
array
: List of Azure Dev Spaces Controllers.- items Controller
- nextLink
ControllerProperties
- ControllerProperties
object
- dataPlaneFqdn
string
: DNS name for accessing DataPlane services - hostSuffix
string
: DNS suffix for public endpoints running in the Azure Dev Spaces Controller. - provisioningState
string
(values: Succeeded, Failed, Canceled, Updating, Creating, Deleting, Deleted): Provisioning state of the Azure Dev Spaces Controller. - targetContainerHostCredentialsBase64 required
string
: Credentials of the target container host (base64). - targetContainerHostResourceId required
string
: Resource ID of the target container host
- dataPlaneFqdn
ControllerUpdateParameters
- ControllerUpdateParameters
object
: Parameters for updating an Azure Dev Spaces Controller.
ErrorDetails
- ErrorDetails
object
- code
string
: Status code for the error. - message
string
: Error message describing the error in detail. - target
string
: The target of the particular error.
- code
ErrorResponse
- ErrorResponse
object
: Error response indicates that the service is not able to process the incoming request. The reason is provided in the error message.- error ErrorDetails
KubernetesConnectionDetails
- KubernetesConnectionDetails
object
: Contains information used to connect to a Kubernetes cluster- kubeConfig
string
: Gets the kubeconfig for the cluster. - instanceType
string
: Gets the Instance type.
- kubeConfig
OrchestratorSpecificConnectionDetails
- OrchestratorSpecificConnectionDetails
object
: Base class for types that supply values used to connect to container orchestrators- instanceType
string
: Gets the Instance type.
- instanceType
Resource
- Resource
object
: An Azure resource.- id
string
: Fully qualified resource Id for the resource. - name
string
: The name of the resource. - type
string
: The type of the resource.
- id
ResourceProviderOperationDefinition
- ResourceProviderOperationDefinition
object
- display ResourceProviderOperationDisplay
- name
string
: Resource provider operation name.
ResourceProviderOperationDisplay
- ResourceProviderOperationDisplay
object
- description
string
: Description of the resource provider operation. - operation
string
: Name of the resource provider operation. - provider
string
: Name of the resource provider. - resource
string
: Name of the resource type.
- description
ResourceProviderOperationList
- ResourceProviderOperationList
object
- nextLink
string
: The URI that can be used to request the next page for list of Azure operations. - value
array
: Resource provider operations list.
- nextLink
Sku
- Sku
object
: Model representing SKU for Azure Dev Spaces Controller.- name required
string
(values: S1): The name of the SKU for Azure Dev Spaces Controller. - tier
string
(values: Standard): The tier of the SKU for Azure Dev Spaces Controller.
- name required
TrackedResource
- TrackedResource
object
: The resource model definition for a ARM tracked top level resource.- location
string
: Region where the Azure resource is located. - tags
object
: Tags for the Azure resource. - id
string
: Fully qualified resource Id for the resource. - name
string
: The name of the resource. - type
string
: The type of the resource.
- location