communications_no_subscriptions
Creates, updates, deletes, gets or lists a communications_no_subscriptions
resource.
Overview
Name | communications_no_subscriptions |
Type | Resource |
Id | azure.support.communications_no_subscriptions |
Fields
- vw_communications_no_subscriptions
- communications_no_subscriptions
Name | Datatype | Description |
---|---|---|
id | text | Id of the resource. |
name | text | Name of the resource. |
body | text | field from the properties object |
communicationName | text | field from the properties object |
communication_direction | text | field from the properties object |
communication_type | text | field from the properties object |
created_date | text | field from the properties object |
sender | text | field from the properties object |
subject | text | field from the properties object |
supportTicketName | text | field from the properties object |
type | text | Type of the resource 'Microsoft.Support/communications'. |
Name | Datatype | Description |
---|---|---|
id | string | Id of the resource. |
name | string | Name of the resource. |
properties | object | Describes the properties of a communication resource. |
type | string | Type of the resource 'Microsoft.Support/communications'. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | communicationName, supportTicketName | Returns communication details for a support ticket. |
list | SELECT | supportTicketName | Lists all communications (attachments not included) for a support ticket. You can also filter support ticket communications by CreatedDate or CommunicationType using the $filter parameter. The only type of communication supported today is Web. Output will be a paged result with nextLink, using which you can retrieve the next set of Communication results. Support ticket data is available for 18 months after ticket creation. If a ticket was created more than 18 months ago, a request for data might cause an error. |
create | INSERT | communicationName, supportTicketName | Adds a new customer communication to an Azure support ticket. |
check_name_availability | EXEC | supportTicketName, data__name, data__type | Check the availability of a resource name. This API should be used to check the uniqueness of the name for adding a new communication to the support ticket. |
SELECT
examples
Lists all communications (attachments not included) for a support ticket.
You can also filter support ticket communications by CreatedDate or CommunicationType using the $filter parameter. The only type of communication supported today is Web. Output will be a paged result with nextLink, using which you can retrieve the next set of Communication results.
Support ticket data is available for 18 months after ticket creation. If a ticket was created more than 18 months ago, a request for data might cause an error.
- vw_communications_no_subscriptions
- communications_no_subscriptions
SELECT
id,
name,
body,
communicationName,
communication_direction,
communication_type,
created_date,
sender,
subject,
supportTicketName,
type
FROM azure.support.vw_communications_no_subscriptions
WHERE supportTicketName = '{{ supportTicketName }}';
SELECT
id,
name,
properties,
type
FROM azure.support.communications_no_subscriptions
WHERE supportTicketName = '{{ supportTicketName }}';
INSERT
example
Use the following StackQL query and manifest file to create a new communications_no_subscriptions
resource.
- All Properties
- Manifest
/*+ create */
INSERT INTO azure.support.communications_no_subscriptions (
communicationName,
supportTicketName,
properties
)
SELECT
'{{ communicationName }}',
'{{ supportTicketName }}',
'{{ properties }}'
;
- name: your_resource_model_name
props:
- name: id
value: string
- name: name
value: string
- name: type
value: string
- name: properties
value:
- name: communicationType
value: string
- name: communicationDirection
value: string
- name: sender
value: string
- name: subject
value: string
- name: body
value: string
- name: createdDate
value: string