deployments
Creates, updates, deletes, gets or lists a deployments
resource.
Overview
Name | deployments |
Type | Resource |
Id | azure_isv.nginx.deployments |
Fields
- vw_deployments
- deployments
Name | Datatype | Description |
---|---|---|
id | text | field from the properties object |
name | text | field from the properties object |
auto_upgrade_profile | text | field from the properties object |
deploymentName | text | field from the properties object |
enable_diagnostics_support | text | field from the properties object |
identity | text | field from the properties object |
ip_address | text | field from the properties object |
location | text | field from the properties object |
logging | text | field from the properties object |
managed_resource_group | text | field from the properties object |
network_profile | text | field from the properties object |
nginx_app_protect | text | field from the properties object |
nginx_version | text | field from the properties object |
provisioning_state | text | field from the properties object |
resourceGroupName | text | field from the properties object |
scaling_properties | text | field from the properties object |
sku | text | field from the properties object |
subscriptionId | text | field from the properties object |
system_data | text | field from the properties object |
tags | text | field from the properties object |
type | text | field from the properties object |
user_profile | text | field from the properties object |
Name | Datatype | Description |
---|---|---|
id | string | |
name | string | |
identity | object | |
location | string | |
properties | object | |
sku | object | |
systemData | object | Metadata pertaining to creation and last modification of the resource. |
tags | object | |
type | string |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | deploymentName, resourceGroupName, subscriptionId | |
list | SELECT | subscriptionId | |
list_by_resource_group | SELECT | resourceGroupName, subscriptionId | |
create_or_update | INSERT | deploymentName, resourceGroupName, subscriptionId | |
delete | DELETE | deploymentName, resourceGroupName, subscriptionId | |
update | UPDATE | deploymentName, resourceGroupName, subscriptionId |
SELECT
examples
- vw_deployments
- deployments
SELECT
id,
name,
auto_upgrade_profile,
deploymentName,
enable_diagnostics_support,
identity,
ip_address,
location,
logging,
managed_resource_group,
network_profile,
nginx_app_protect,
nginx_version,
provisioning_state,
resourceGroupName,
scaling_properties,
sku,
subscriptionId,
system_data,
tags,
type,
user_profile
FROM azure_isv.nginx.vw_deployments
WHERE subscriptionId = '{{ subscriptionId }}';
SELECT
id,
name,
identity,
location,
properties,
sku,
systemData,
tags,
type
FROM azure_isv.nginx.deployments
WHERE subscriptionId = '{{ subscriptionId }}';
INSERT
example
Use the following StackQL query and manifest file to create a new deployments
resource.
- All Properties
- Manifest
/*+ create */
INSERT INTO azure_isv.nginx.deployments (
deploymentName,
resourceGroupName,
subscriptionId,
identity,
properties,
tags,
sku,
location
)
SELECT
'{{ deploymentName }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ identity }}',
'{{ properties }}',
'{{ tags }}',
'{{ sku }}',
'{{ location }}'
;
- name: your_resource_model_name
props:
- name: id
value: string
- name: name
value: string
- name: type
value: string
- name: identity
value:
- name: principalId
value: string
- name: tenantId
value: string
- name: type
value: []
- name: userAssignedIdentities
value: object
- name: properties
value:
- name: provisioningState
value: []
- name: nginxVersion
value: string
- name: managedResourceGroup
value: string
- name: networkProfile
value:
- name: frontEndIPConfiguration
value:
- name: publicIPAddresses
value:
- - name: id
value: string
- name: privateIPAddresses
value:
- - name: privateIPAddress
value: string
- name: privateIPAllocationMethod
value: []
- name: subnetId
value: string
- name: networkInterfaceConfiguration
value:
- name: subnetId
value: string
- name: ipAddress
value: string
- name: enableDiagnosticsSupport
value: boolean
- name: logging
value:
- name: storageAccount
value:
- name: accountName
value: string
- name: containerName
value: string
- name: scalingProperties
value:
- name: capacity
value: integer
- name: autoScaleSettings
value:
- name: profiles
value:
- - name: name
value: string
- name: capacity
value:
- name: min
value: integer
- name: max
value: integer
- name: autoUpgradeProfile
value:
- name: upgradeChannel
value: string
- name: userProfile
value:
- name: preferredEmail
value: string
- name: nginxAppProtect
value:
- name: webApplicationFirewallSettings
value:
- name: activationState
value: string
- name: webApplicationFirewallStatus
value:
- name: attackSignaturesPackage
value:
- name: version
value: string
- name: revisionDatetime
value: string
- name: componentVersions
value:
- name: wafEngineVersion
value: string
- name: wafNginxVersion
value: string
- name: tags
value: object
- name: sku
value:
- name: name
value: string
- name: location
value: string
- name: systemData
value:
- name: createdBy
value: string
- name: createdByType
value: string
- name: createdAt
value: string
- name: lastModifiedBy
value: string
- name: lastModifiedByType
value: string
- name: lastModifiedAt
value: string
UPDATE
example
Updates a deployments
resource.
/*+ update */
UPDATE azure_isv.nginx.deployments
SET
identity = '{{ identity }}',
tags = '{{ tags }}',
sku = '{{ sku }}',
location = '{{ location }}',
properties = '{{ properties }}'
WHERE
deploymentName = '{{ deploymentName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';
DELETE
example
Deletes the specified deployments
resource.
/*+ delete */
DELETE FROM azure_isv.nginx.deployments
WHERE deploymentName = '{{ deploymentName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';