Skip to content

Commit

Permalink
add workspace managednetwork example yaml files (#2406)
Browse files Browse the repository at this point in the history
* 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
joshharrin committed Jun 30, 2023
1 parent 3bda898 commit c3960b5
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 0 deletions.
16 changes: 16 additions & 0 deletions cli/resources/workspace/mvnet-allow-internet-outbound.yml
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 cli/resources/workspace/mvnet-allow-only-approved-outbound.yml
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'

0 comments on commit c3960b5

Please sign in to comment.