script_packages
Creates, updates, deletes, gets or lists a script_packages resource.
Overview
| Name | script_packages |
| Type | Resource |
| Id | azure_isv.avs.script_packages |
Fields
The following fields are returned by SELECT queries:
- get
- list
| Name | Datatype | Description |
|---|---|---|
id | string | Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. |
name | string | The name of the resource. |
company | string | Company that created and supports the package. |
description | string | User friendly description of the package. |
provisioningState | string | The provisioning state of the resource. Known values are: "Succeeded", "Failed", and "Canceled". (Succeeded, Failed, Canceled) |
systemData | object | Azure Resource Manager metadata containing createdBy and modifiedBy information. |
type | string | The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts". |
uri | string | Link to support by the package vendor. |
version | string | Module version. |
| Name | Datatype | Description |
|---|---|---|
id | string | Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. |
name | string | The name of the resource. |
company | string | Company that created and supports the package. |
description | string | User friendly description of the package. |
provisioningState | string | The provisioning state of the resource. Known values are: "Succeeded", "Failed", and "Canceled". (Succeeded, Failed, Canceled) |
systemData | object | Azure Resource Manager metadata containing createdBy and modifiedBy information. |
type | string | The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts". |
uri | string | Link to support by the package vendor. |
version | string | Module version. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get | select | resource_group_name, private_cloud_name, script_package_name, subscription_id | Get a ScriptPackage. | |
list | select | resource_group_name, private_cloud_name, subscription_id | List ScriptPackage resources by PrivateCloud. |
Parameters
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
private_cloud_name | string | Name of the private cloud. Required. |
resource_group_name | string | The name of the resource group. The name is case insensitive. Required. |
script_package_name | string | Name of the script package. Required. |
subscription_id | string |
SELECT examples
- get
- list
Get a ScriptPackage.
SELECT
id,
name,
company,
description,
provisioningState,
systemData,
type,
uri,
version
FROM azure_isv.avs.script_packages
WHERE resource_group_name = '{{ resource_group_name }}' -- required
AND private_cloud_name = '{{ private_cloud_name }}' -- required
AND script_package_name = '{{ script_package_name }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;
List ScriptPackage resources by PrivateCloud.
SELECT
id,
name,
company,
description,
provisioningState,
systemData,
type,
uri,
version
FROM azure_isv.avs.script_packages
WHERE resource_group_name = '{{ resource_group_name }}' -- required
AND private_cloud_name = '{{ private_cloud_name }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;