Skip to main content

deployments

Creates, updates, deletes, gets or lists a deployments resource.

Overview

Namedeployments
TypeResource
Idazure_isv.nginx.deployments

Fields

NameDatatypeDescription
idtextfield from the properties object
nametextfield from the properties object
auto_upgrade_profiletextfield from the properties object
deploymentNametextfield from the properties object
enable_diagnostics_supporttextfield from the properties object
identitytextfield from the properties object
ip_addresstextfield from the properties object
locationtextfield from the properties object
loggingtextfield from the properties object
managed_resource_grouptextfield from the properties object
network_profiletextfield from the properties object
nginx_app_protecttextfield from the properties object
nginx_versiontextfield from the properties object
provisioning_statetextfield from the properties object
resourceGroupNametextfield from the properties object
scaling_propertiestextfield from the properties object
skutextfield from the properties object
subscriptionIdtextfield from the properties object
system_datatextfield from the properties object
tagstextfield from the properties object
typetextfield from the properties object
user_profiletextfield from the properties object

Methods

NameAccessible byRequired ParamsDescription
getSELECTdeploymentName, resourceGroupName, subscriptionId
listSELECTsubscriptionId
list_by_resource_groupSELECTresourceGroupName, subscriptionId
create_or_updateINSERTdeploymentName, resourceGroupName, subscriptionId
deleteDELETEdeploymentName, resourceGroupName, subscriptionId
updateUPDATEdeploymentName, resourceGroupName, subscriptionId

SELECT examples

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 }}';

INSERT example

Use the following StackQL query and manifest file to create a new deployments resource.

/*+ create */
INSERT INTO azure_isv.nginx.deployments (
deploymentName,
resourceGroupName,
subscriptionId,
identity,
properties,
tags,
sku,
location
)
SELECT
'{{ deploymentName }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ identity }}',
'{{ properties }}',
'{{ tags }}',
'{{ sku }}',
'{{ location }}'
;

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 }}';