Skip to main content

public_certificate_slots

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

Overview

Namepublic_certificate_slots
TypeResource
Idazure.app_service.public_certificate_slots

Fields

NameDatatypeDescription
idstringResource Id.
namestringResource Name.
kindstringKind of resource.
propertiesobjectPublicCertificate resource specific properties
typestringResource type.

Methods

NameAccessible byRequired ParamsDescription
getSELECTname, publicCertificateName, resourceGroupName, slot, subscriptionIdDescription for Get the named public certificate for an app (or deployment slot, if specified).
listSELECTname, resourceGroupName, slot, subscriptionIdDescription for Get public certificates for an app or a deployment slot.
create_or_updateINSERTname, publicCertificateName, resourceGroupName, slot, subscriptionIdDescription for Creates a hostname binding for an app.
deleteDELETEname, publicCertificateName, resourceGroupName, slot, subscriptionIdDescription for Deletes a hostname binding for an app.

SELECT examples

Description for Get public certificates for an app or a deployment slot.

SELECT
id,
name,
kind,
properties,
type
FROM azure.app_service.public_certificate_slots
WHERE name = '{{ name }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND slot = '{{ slot }}'
AND subscriptionId = '{{ subscriptionId }}';

INSERT example

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

/*+ create */
INSERT INTO azure.app_service.public_certificate_slots (
name,
publicCertificateName,
resourceGroupName,
slot,
subscriptionId,
kind,
properties
)
SELECT
'{{ name }}',
'{{ publicCertificateName }}',
'{{ resourceGroupName }}',
'{{ slot }}',
'{{ subscriptionId }}',
'{{ kind }}',
'{{ properties }}'
;

DELETE example

Deletes the specified public_certificate_slots resource.

/*+ delete */
DELETE FROM azure.app_service.public_certificate_slots
WHERE name = '{{ name }}'
AND publicCertificateName = '{{ publicCertificateName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND slot = '{{ slot }}'
AND subscriptionId = '{{ subscriptionId }}';