allowed_connections
Creates, updates, deletes, gets or lists an allowed_connections
resource.
Overview
Name | allowed_connections |
Type | Resource |
Id | azure.security.allowed_connections |
Fields
The following fields are returned by SELECT
queries:
- get
- list_by_home_region
- list
Name | Datatype | Description |
---|---|---|
id | string (arm-id) | Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" |
name | string | The name of the resource |
location | string | Location where the resource is stored |
properties | object | Describes the allowed traffic between Azure resources |
systemData | object | Azure Resource Manager metadata containing createdBy and modifiedBy information. |
type | string | The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" |
Name | Datatype | Description |
---|---|---|
id | string (arm-id) | Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" |
name | string | The name of the resource |
location | string | Location where the resource is stored |
properties | object | Describes the allowed traffic between Azure resources |
systemData | object | Azure Resource Manager metadata containing createdBy and modifiedBy information. |
type | string | The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" |
Name | Datatype | Description |
---|---|---|
id | string (arm-id) | Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" |
name | string | The name of the resource |
location | string | Location where the resource is stored |
properties | object | Describes the allowed traffic between Azure resources |
systemData | object | Azure Resource Manager metadata containing createdBy and modifiedBy information. |
type | string | The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" |
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
get | select | subscriptionId , resourceGroupName , ascLocation , connectionType | api-version | Gets the list of all possible traffic between resources for the subscription and location, based on connection type. |
list_by_home_region | select | subscriptionId , ascLocation | api-version | Gets the list of all possible traffic between resources for the subscription and location. |
list | select | subscriptionId | api-version | Gets the list of all possible traffic between resources for the subscription |
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.
Name | Datatype | Description |
---|---|---|
ascLocation | string | The location where ASC stores the data of the subscription. can be retrieved from Get locations |
connectionType | string | The type of allowed connections (Internal, External) |
resourceGroupName | string | The name of the resource group within the user's subscription. The name is case insensitive. |
subscriptionId | string | Azure subscription ID |
api-version | string | API version for the operation |
SELECT
examples
- get
- list_by_home_region
- list
Gets the list of all possible traffic between resources for the subscription and location, based on connection type.
SELECT
id,
name,
location,
properties,
systemData,
type
FROM azure.security.allowed_connections
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND ascLocation = '{{ ascLocation }}' -- required
AND connectionType = '{{ connectionType }}' -- required
AND api-version = '{{ api-version }}'
;
Gets the list of all possible traffic between resources for the subscription and location.
SELECT
id,
name,
location,
properties,
systemData,
type
FROM azure.security.allowed_connections
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND ascLocation = '{{ ascLocation }}' -- required
AND api-version = '{{ api-version }}'
;
Gets the list of all possible traffic between resources for the subscription
SELECT
id,
name,
location,
properties,
systemData,
type
FROM azure.security.allowed_connections
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND api-version = '{{ api-version }}'
;