Skip to main content

mesh_network

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

Overview

Namemesh_network
TypeResource
Idazure.service_fabric_dataplane.mesh_network

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
namestring
descriptionstring
kindstring
statusstringStatus of the network. Possible values include: 'Unknown', 'Ready', 'Upgrading', 'Creating', 'Deleting', 'Failed'
statusDetailsstringGives additional information about the current status of the network.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectnetwork_resource_name, endpointGets the Network resource with the given name. Gets the information about the Network resource with the given name. The information include the description and other properties of the Network.
listselectendpointLists all the network resources. Gets the information about all network resources in a given resource group. The information include the description and other properties of the Network.
create_or_updateinsertnetwork_resource_name, endpoint, name, propertiesCreates or updates a Network resource. Creates a Network resource with the specified name, description and properties. If Network resource with the same name exists, then it is updated with the specified description and properties. Network resource provides connectivity between application services.
create_or_updatereplacenetwork_resource_name, endpoint, name, propertiesCreates or updates a Network resource. Creates a Network resource with the specified name, description and properties. If Network resource with the same name exists, then it is updated with the specified description and properties. Network resource provides connectivity between application services.
deletedeletenetwork_resource_name, endpointDeletes the Network resource. Deletes the Network resource identified by the name.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
endpointstringThe service endpoint host (no scheme). (default: )
network_resource_namestringThe identity of the network.

SELECT examples

Gets the Network resource with the given name. Gets the information about the Network resource with the given name. The information include the description and other properties of the Network.

SELECT
name,
description,
kind,
status,
statusDetails
FROM azure.service_fabric_dataplane.mesh_network
WHERE network_resource_name = '{{ network_resource_name }}' -- required
AND endpoint = '{{ endpoint }}' -- required
;

INSERT examples

Creates or updates a Network resource. Creates a Network resource with the specified name, description and properties. If Network resource with the same name exists, then it is updated with the specified description and properties. Network resource provides connectivity between application services.

INSERT INTO azure.service_fabric_dataplane.mesh_network (
name,
properties,
network_resource_name,
endpoint
)
SELECT
'{{ name }}' /* required */,
'{{ properties }}' /* required */,
'{{ network_resource_name }}',
'{{ endpoint }}'
RETURNING
name,
properties
;

REPLACE examples

Creates or updates a Network resource. Creates a Network resource with the specified name, description and properties. If Network resource with the same name exists, then it is updated with the specified description and properties. Network resource provides connectivity between application services.

REPLACE azure.service_fabric_dataplane.mesh_network
SET
name = '{{ name }}',
properties = '{{ properties }}'
WHERE
network_resource_name = '{{ network_resource_name }}' --required
AND endpoint = '{{ endpoint }}' --required
AND name = '{{ name }}' --required
AND properties = '{{ properties }}' --required
RETURNING
name,
properties;

DELETE examples

Deletes the Network resource. Deletes the Network resource identified by the name.

DELETE FROM azure.service_fabric_dataplane.mesh_network
WHERE network_resource_name = '{{ network_resource_name }}' --required
AND endpoint = '{{ endpoint }}' --required
;