-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add workspace managednetwork example yaml files (#2406)
* Create mvnet-allow-internet-outbound.yml * Rename mvnet-allow-internet-outbound.yml to mvnet-allow-only-approved-outbound.yml * Create mvnet-allow-internet-outbound.yml * update ws name * improve readability * improve readability
- Loading branch information
1 parent
3bda898
commit c3960b5
Showing
2 changed files
with
35 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
name: myworkspace_aio | ||
managed_network: | ||
isolation_mode: allow_internet_outbound | ||
outbound_rules: | ||
- name: added-perule | ||
type: private_endpoint | ||
destination: | ||
service_resource_id: /subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/MyGroup/providers/Microsoft.Storage/storageAccounts/MyAccount1 | ||
spark_enabled: true | ||
subresource_target: blob | ||
- name: added-perule2 | ||
type: private_endpoint | ||
destination: | ||
service_resource_id: /subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/MyGroup/providers/Microsoft.Storage/storageAccounts/MyAccount2 | ||
spark_enabled: true | ||
subresource_target: file |
19 changes: 19 additions & 0 deletions
19
cli/resources/workspace/mvnet-allow-only-approved-outbound.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
name: myworkspace_dep | ||
managed_network: | ||
isolation_mode: allow_only_approved_outbound | ||
outbound_rules: | ||
- name: added-servicetagrule | ||
type: service_tag | ||
destination: | ||
port_ranges: 80, 8080 | ||
protocol: TCP | ||
service_tag: DataFactory | ||
- name: added-perule | ||
type: private_endpoint | ||
destination: | ||
service_resource_id: /subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/MyGroup/providers/Microsoft.Storage/storageAccounts/MyAccount2 | ||
spark_enabled: true | ||
subresource_target: blob | ||
- name: added-fqdnrule | ||
type: fqdn | ||
destination: 'test2.com' |