wcf_relays
Creates, updates, deletes, gets or lists a wcf_relays
resource.
Overview
Name | wcf_relays |
Type | Resource |
Id | azure.relay.wcf_relays |
Fields
Name | Datatype | Description |
---|---|---|
id | string | Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} |
name | string | The name of the resource |
location | string | The geo-location where the resource lives |
properties | `` | Properties of the WCF relay. |
systemData | object | Metadata pertaining to creation and last modification of the resource. |
type | string | The type of the resource. E.g. "Microsoft.EventHub/Namespaces" or "Microsoft.EventHub/Namespaces/EventHubs" |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | namespaceName, relayName, resourceGroupName, subscriptionId | Returns the description for the specified WCF relay. |
list_by_namespace | SELECT | namespaceName, resourceGroupName, subscriptionId | Lists the WCF relays within the namespace. |
create_or_update | INSERT | namespaceName, relayName, resourceGroupName, subscriptionId | Creates or updates a WCF relay. This operation is idempotent. |
delete | DELETE | namespaceName, relayName, resourceGroupName, subscriptionId | Deletes a WCF relay. |
regenerate_keys | EXEC | authorizationRuleName, namespaceName, relayName, resourceGroupName, subscriptionId, data__keyType | Regenerates the primary or secondary connection strings to the WCF relay. |
SELECT
examples
Lists the WCF relays within the namespace.
SELECT
id,
name,
location,
properties,
systemData,
type
FROM azure.relay.wcf_relays
WHERE namespaceName = '{{ namespaceName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';
INSERT
example
Use the following StackQL query and manifest file to create a new wcf_relays
resource.
- All Properties
- Manifest
/*+ create */
INSERT INTO azure.relay.wcf_relays (
namespaceName,
relayName,
resourceGroupName,
subscriptionId,
properties
)
SELECT
'{{ namespaceName }}',
'{{ relayName }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ properties }}'
;
- name: your_resource_model_name
props:
- name: properties
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
- name: id
value: string
- name: name
value: string
- name: type
value: string
- name: location
value: string
DELETE
example
Deletes the specified wcf_relays
resource.
/*+ delete */
DELETE FROM azure.relay.wcf_relays
WHERE namespaceName = '{{ namespaceName }}'
AND relayName = '{{ relayName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';