public_certificate_slots
Creates, updates, deletes, gets or lists a public_certificate_slots
resource.
Overview
Name | public_certificate_slots |
Type | Resource |
Id | azure.app_service.public_certificate_slots |
Fields
Name | Datatype | Description |
---|---|---|
id | string | Resource Id. |
name | string | Resource Name. |
kind | string | Kind of resource. |
properties | object | PublicCertificate resource specific properties |
type | string | Resource type. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | name, publicCertificateName, resourceGroupName, slot, subscriptionId | Description for Get the named public certificate for an app (or deployment slot, if specified). |
list | SELECT | name, resourceGroupName, slot, subscriptionId | Description for Get public certificates for an app or a deployment slot. |
create_or_update | INSERT | name, publicCertificateName, resourceGroupName, slot, subscriptionId | Description for Creates a hostname binding for an app. |
delete | DELETE | name, publicCertificateName, resourceGroupName, slot, subscriptionId | Description 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.
- All Properties
- Manifest
/*+ create */
INSERT INTO azure.app_service.public_certificate_slots (
name,
publicCertificateName,
resourceGroupName,
slot,
subscriptionId,
kind,
properties
)
SELECT
'{{ name }}',
'{{ publicCertificateName }}',
'{{ resourceGroupName }}',
'{{ slot }}',
'{{ subscriptionId }}',
'{{ kind }}',
'{{ properties }}'
;
- name: your_resource_model_name
props:
- name: id
value: string
- name: name
value: string
- name: kind
value: string
- name: type
value: string
- name: properties
value:
- name: blob
value: string
- name: publicCertificateLocation
value: string
- name: thumbprint
value: string
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 }}';