AcceleratorResource
Logical Resource of Accelerators that are provisioned
Attributes
- name:string - Name of the resource
- ename:string - Extended name of the resource
- disabled:boolean - Disabled Resource
- type:string - Type of resource, Network, Storage, Compute or Accelerator
Associations
Name | Cardinality | Class | Composition | Owner | Description |
---|---|---|---|---|---|
request | 1 | Request | false | false | |
profile | 1 | PhysicalProfile | true | true | |
hardware | n | Hardware | false | false | |
instances | n | ServiceInstance | false | false | |
cloud | 1 | Cloud | false | false |
Methods
- factory() - Create a Resource based on the hardware to resource table
- provision() - Provision the Resource
Method Details
Action acceleratorresource factory
- REST - acceleratorresource/factory?name=string&value=object
- bin - acceleratorresource factory –name string –value object
- js - acceleratorresource.factory({ name:string,value:object })
Description
Create a Resource based on the hardware to resource table
Parameters
Name | Type | Required | Description |
---|---|---|---|
name | string | true | name of the Resource |
value | object | true | value of the hardware |
Action acceleratorresource provision
- REST - acceleratorresource/provision?
- bin - acceleratorresource provision
- js - acceleratorresource.provision({ })
Description
Provision the Resource
Parameters
No parameters