Skip to main content

managed_network_settings_rules

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

Overview

Namemanaged_network_settings_rules
TypeResource
Idazure.ml_services.managed_network_settings_rules

Fields

NameDatatypeDescription
idtextFully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
nametextThe name of the resource
categorytextfield from the properties object
parent_rule_namestextfield from the properties object
resourceGroupNametextfield from the properties object
ruleNametextfield from the properties object
statustextfield from the properties object
subscriptionIdtextfield from the properties object
system_datatextfield from the properties object
typetextThe type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
workspaceNametextfield from the properties object

Methods

NameAccessible byRequired ParamsDescription
getSELECTresourceGroupName, ruleName, subscriptionId, workspaceName
listSELECTresourceGroupName, subscriptionId, workspaceName
create_or_updateINSERTresourceGroupName, ruleName, subscriptionId, workspaceName, data__properties
deleteDELETEresourceGroupName, ruleName, subscriptionId, workspaceName

SELECT examples

SELECT
id,
name,
category,
parent_rule_names,
resourceGroupName,
ruleName,
status,
subscriptionId,
system_data,
type,
workspaceName
FROM azure.ml_services.vw_managed_network_settings_rules
WHERE resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}'
AND workspaceName = '{{ workspaceName }}';

INSERT example

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

/*+ create */
INSERT INTO azure.ml_services.managed_network_settings_rules (
resourceGroupName,
ruleName,
subscriptionId,
workspaceName,
data__properties,
properties
)
SELECT
'{{ resourceGroupName }}',
'{{ ruleName }}',
'{{ subscriptionId }}',
'{{ workspaceName }}',
'{{ data__properties }}',
'{{ properties }}'
;

DELETE example

Deletes the specified managed_network_settings_rules resource.

/*+ delete */
DELETE FROM azure.ml_services.managed_network_settings_rules
WHERE resourceGroupName = '{{ resourceGroupName }}'
AND ruleName = '{{ ruleName }}'
AND subscriptionId = '{{ subscriptionId }}'
AND workspaceName = '{{ workspaceName }}';