Skip to content

Commit

Permalink
Adding SecurityPartnerProvider Resource (#8721)
Browse files Browse the repository at this point in the history
* Adding securityPartnerProvider resource

* Adding securityPartnerProvider resource : 2

* Added Definition for SecurityPartnerProviderListResult

* Updated Readme.md with securityPartnerProvider

* fixing zone..

* Fixing using Prettier

* desc fix

* Fixing enum conflict

* RequiredPropertiesMissingInResourceModel Fix

* capitalizing alphabets

* renaming list/listall

* Updated Tags to Caps

Co-authored-by: Ishani Gupta <isgu@microsoft.com>
  • Loading branch information
ishaniGupta27 and Ishani Gupta authored Mar 24, 2020
1 parent d85679a commit 0198dc7
Show file tree
Hide file tree
Showing 9 changed files with 649 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"parameters": {
"api-version": "2020-03-01",
"subscriptionId": "subid",
"resourceGroupName": "rg1",
"securityPartnerProviderName": "securityPartnerProvider"
},
"responses": {
"200": {},
"202": {},
"204": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
{
"parameters": {
"api-version": "2020-03-01",
"subscriptionId": "subid",
"resourceGroupName": "rg1",
"securityPartnerProviderName": "securityPartnerProvider"
},
"responses": {
"200": {
"body": {
"name": "securityPartnerProvider",
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/securityPartnerProviders/securityPartnerProvider",
"type": "Microsoft.Network/securityPartnerProviders",
"etag": "w/\\00000000-0000-0000-0000-000000000000\\",
"location": "West US",
"tags": {
"key1": "value1"
},
"properties": {
"provisioningState": "Succeeded",
"securityProviderName": "ZScaler",
"connectionStatus": "Unknown",
"virtualHub": {
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1"
}
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
{
"parameters": {
"api-version": "2020-03-01",
"subscriptionId": "subid",
"resourceGroupName": "rg1"
},
"responses": {
"200": {
"body": {
"value": [
{
"name": "securityPartnerProvider",
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/securityPartnerProviders/securityPartnerProvider",
"type": "Microsoft.Network/securityPartnerProviders",
"etag": "w/\\00000000-0000-0000-0000-000000000000\\",
"location": "West US",
"tags": {
"key1": "value1"
},
"properties": {
"provisioningState": "Succeeded",
"securityProviderName": "ZScaler",
"connectionStatus": "Unknown",
"virtualHub": {
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1"
}
}
}
]
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{
"parameters": {
"api-version": "2020-03-01",
"subscriptionId": "subid"
},
"responses": {
"200": {
"body": {
"value": [
{
"name": "securityPartnerProvider",
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/securityPartnerProviders/securityPartnerProvider",
"type": "Microsoft.Network/securityPartnerProviders",
"etag": "w/\\00000000-0000-0000-0000-000000000000\\",
"location": "West US",
"tags": {
"key1": "value1"
},
"properties": {
"provisioningState": "Succeeded",
"securityProviderName": "ZScaler",
"connectionStatus": "Unknown",
"virtualHub": {
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1"
}
}
}
]
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
{
"parameters": {
"api-version": "2020-03-01",
"subscriptionId": "subid",
"resourceGroupName": "rg1",
"securityPartnerProviderName": "securityPartnerProvider",
"parameters": {
"tags": {
"key1": "value1"
},
"location": "West US",
"properties": {
"securityProviderName": "ZScaler",
"virtualHub": {
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1"
}
}
}
},
"responses": {
"200": {
"body": {
"name": "securityPartnerProvider",
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/securityPartnerProviders/securityPartnerProvider",
"type": "Microsoft.Network/securityPartnerProviders",
"etag": "w/\\00000000-0000-0000-0000-000000000000\\",
"location": "West US",
"tags": {
"key1": "value1"
},
"properties": {
"provisioningState": "Succeeded",
"securityProviderName": "ZScaler",
"virtualHub": {
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1"
}
}
}
},
"201": {
"body": {
"name": "securityPartnerProvider",
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/securityPartnerProviders/securityPartnerProvider",
"type": "Microsoft.Network/securityPartnerProviders",
"etag": "w/\\00000000-0000-0000-0000-000000000000\\",
"location": "West US",
"tags": {
"key1": "value1"
},
"properties": {
"provisioningState": "Succeeded",
"securityProviderName": "ZScaler",
"virtualHub": {
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1"
}
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{
"parameters": {
"api-version": "2020-03-01",
"subscriptionId": "subid",
"resourceGroupName": "rg1",
"securityPartnerProviderName": "securityPartnerProvider",
"parameters": {
"tags": {
"tag1": "value1",
"tag2": "value2"
}
}
},
"responses": {
"200": {
"body": {
"name": "fw1",
"id": "/subscriptions/subid/resourceGroups/azfwtest/providers/Microsoft.Network/securityPartnerProviders/securityPartnerProvider",
"type": "Microsoft.Network/securityPartnerProviders",
"location": "brazilsouth",
"tags": {
"tag1": "value1",
"tag2": "value2"
},
"properties": {
"provisioningState": "Succeeded",
"securityProviderName": "ZScaler"
}
}
}
}
}
Loading

0 comments on commit 0198dc7

Please sign in to comment.