-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
new resource type "fluidRelayContainers" (#4711)
* copy last version to a new version * change versions * add container type * rename to fluidRelayServerName * add examples * rename to fluidRelayServerName in examples * add EOF, change a version * fix build errors * fix build errors x2 * add list example * rename from containerId to frsContainerId * remove x-ms-mutability * more changes * fix build issues Co-authored-by: Ping Zhu <[email protected]>
- Loading branch information
1 parent
3dfec06
commit 16c107e
Showing
14 changed files
with
1,325 additions
and
0 deletions.
There are no files selected for viewing
13 changes: 13 additions & 0 deletions
13
...Microsoft.FluidRelay/preview/2021-08-30-preview/examples/FluidRelayContainers_Delete.json
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,13 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "xxxx-xxxx-xxxx-xxxx", | ||
"resourceGroup": "myResourceGroup", | ||
"fluidRelayServerName": "myFluidRelayServer", | ||
"fluidRelayContainerName": "myFluidRelayContainer", | ||
"api-version": "2021-08-30-preview" | ||
}, | ||
"responses": { | ||
"200": {}, | ||
"204": {} | ||
} | ||
} |
23 changes: 23 additions & 0 deletions
23
...er/Microsoft.FluidRelay/preview/2021-08-30-preview/examples/FluidRelayContainers_Get.json
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,23 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "xxxx-xxxx-xxxx-xxxx", | ||
"resourceGroup": "myResourceGroup", | ||
"fluidRelayServerName": "myFluidRelayServer", | ||
"fluidRelayContainerName": "myFluidRelayContainer", | ||
"api-version": "2021-08-30-preview" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/xxxx-xxxx-xxxx-xxxx/resourceGroups/myResourceGroup/Microsoft.FluidRelay/fluidRelayServers/myFluidRelayServer/fluidRelayContainers/myFluidRelayContainer", | ||
"name": "myFluidRelayContainer", | ||
"type": "Microsoft.FluidRelay/fluidRelayServers/fluidRelayContainers", | ||
"properties": { | ||
"frsTenantId": "yyyy-yyyy-yyyyy-yyyy", | ||
"frsContainerId": "xxxx-yyyy-xxxxx-yyyy", | ||
"provisioningState": "Succeeded" | ||
} | ||
} | ||
} | ||
} | ||
} |
27 changes: 27 additions & 0 deletions
27
...elay/preview/2021-08-30-preview/examples/FluidRelayContainers_ListByFluidRelayServer.json
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,27 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "xxxx-xxxx-xxxx-xxxx", | ||
"resourceGroup": "myResourceGroup", | ||
"fluidRelayServerName": "myFluidRelayServer", | ||
"api-version": "2021-08-30-preview" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"id": "/subscriptions/xxxx-xxxx-xxxx-xxxx/resourceGroups/myResourceGroup/Microsoft.FluidRelay/fluidRelayServers/myFluidRelayServer/fluidRelayContainers/myFluidRelayContainer", | ||
"name": "myFluidRelayContainer", | ||
"type": "Microsoft.FluidRelay/fluidRelayServers/fluidRelayContainers", | ||
"properties": { | ||
"frsTenantId": "yyyy-yyyy-yyyyy-yyyy", | ||
"frsContainerId": "xxxx-yyyy-xxxxx-yyyy", | ||
"provisioningState": "Succeeded" | ||
} | ||
} | ||
], | ||
"nextLink": "" | ||
} | ||
} | ||
} | ||
} |
44 changes: 44 additions & 0 deletions
44
.../Microsoft.FluidRelay/preview/2021-08-30-preview/examples/FluidRelayServerOperations.json
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,44 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2021-08-30-preview" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"name": "Microsoft.FluidRelay/fluidRelayServers/Read", | ||
"isDataAction": false, | ||
"display": { | ||
"provider": "Microsoft.FluidRelay", | ||
"resource": "fluidRelayServers", | ||
"operation": "Get/List fluid relay server resources", | ||
"description": "Read fluid relay server" | ||
} | ||
}, | ||
{ | ||
"name": "Microsoft.FluidRelay/fluidRelayServers/Write", | ||
"isDataAction": false, | ||
"display": { | ||
"provider": "Microsoft.FluidRelay", | ||
"resource": "fluidRelayServers", | ||
"operation": "Create/Update fluid relay server resources", | ||
"description": "Write fluid relay server" | ||
} | ||
}, | ||
{ | ||
"name": "Microsoft.FluidRelay/fluidRelayServers/Delete", | ||
"isDataAction": false, | ||
"display": { | ||
"provider": "Microsoft.FluidRelay", | ||
"resource": "fluidRelayServers", | ||
"operation": "Delete fluid relay server resources", | ||
"description": "Delete fluid relay server" | ||
} | ||
} | ||
], | ||
"nextLink": null | ||
} | ||
} | ||
} | ||
} |
44 changes: 44 additions & 0 deletions
44
...soft.FluidRelay/preview/2021-08-30-preview/examples/FluidRelayServers_CreateOrUpdate.json
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,44 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "xxxx-xxxx-xxxx-xxxx", | ||
"resourceGroup": "myResourceGroup", | ||
"fluidRelayServerName": "myFluidRelayServer", | ||
"api-version": "2021-08-30-preview", | ||
"resource": { | ||
"location": "west-us", | ||
"identity": { | ||
"type": "SystemAssigned" | ||
}, | ||
"tags": { | ||
"Category": "sales" | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/xxxx-xxxx-xxxx-xxxx/resourceGroups/myResourceGroup/Microsoft.FluidRelay/fluidRelayServers/myFluidRelayServer", | ||
"name": "myFluidRelayServer", | ||
"type": "Microsoft.FluidRelay/fluidRelayServers", | ||
"location": "west-us", | ||
"identity": { | ||
"type": "SystemAssigned", | ||
"principalId": "00000000-0000-0000-0000-000000000000", | ||
"tenantId": "00000000-0000-0000-0000-000000000000" | ||
}, | ||
"properties": { | ||
"frsTenantId": "yyyy-yyyy-yyyyy-yyyy", | ||
"fluidRelayEndpoints": { | ||
"ordererEndpoints": [ | ||
"https://www.contoso.org/orderer" | ||
], | ||
"storageEndpoints": [ | ||
"https://www.contoso.org/storage" | ||
] | ||
}, | ||
"provisioningState": "Succeeded" | ||
} | ||
} | ||
} | ||
} | ||
} |
12 changes: 12 additions & 0 deletions
12
...er/Microsoft.FluidRelay/preview/2021-08-30-preview/examples/FluidRelayServers_Delete.json
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,12 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "xxxx-xxxx-xxxx-xxxx", | ||
"resourceGroup": "myResourceGroup", | ||
"fluidRelayServerName": "myFluidRelayServer", | ||
"api-version": "2021-08-30-preview" | ||
}, | ||
"responses": { | ||
"200": {}, | ||
"204": {} | ||
} | ||
} |
30 changes: 30 additions & 0 deletions
30
...nager/Microsoft.FluidRelay/preview/2021-08-30-preview/examples/FluidRelayServers_Get.json
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,30 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "xxxx-xxxx-xxxx-xxxx", | ||
"resourceGroup": "myResourceGroup", | ||
"fluidRelayServerName": "myFluidRelayServer", | ||
"api-version": "2021-08-30-preview" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/xxxx-xxxx-xxxx-xxxx/resourceGroups/myResourceGroup/Microsoft.FluidRelay/fluidRelayServers/myFluidRelayServer", | ||
"name": "myFluidRelayServer", | ||
"type": "Microsoft.FluidRelay/fluidRelayServers", | ||
"location": "west-us", | ||
"properties": { | ||
"frsTenantId": "yyyy-yyyy-yyyyy-yyyy", | ||
"fluidRelayEndpoints": { | ||
"ordererEndpoints": [ | ||
"https://www.contoso.org/orderer" | ||
], | ||
"storageEndpoints": [ | ||
"https://www.contoso.org/storage" | ||
] | ||
}, | ||
"provisioningState": "Succeeded" | ||
} | ||
} | ||
} | ||
} | ||
} |
16 changes: 16 additions & 0 deletions
16
...r/Microsoft.FluidRelay/preview/2021-08-30-preview/examples/FluidRelayServers_GetKeys.json
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 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "xxxx-xxxx-xxxx-xxxx", | ||
"resourceGroup": "myResourceGroup", | ||
"fluidRelayServerName": "myFluidRelayServer", | ||
"api-version": "2021-08-30-preview" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"key1": "xxx-xxxx-xxxxx-xxxx", | ||
"key2": "yyy-yyyy-yyyyy-yyyy" | ||
} | ||
} | ||
} | ||
} |
34 changes: 34 additions & 0 deletions
34
...FluidRelay/preview/2021-08-30-preview/examples/FluidRelayServers_ListByResourceGroup.json
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,34 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "xxxx-xxxx-xxxx-xxxx", | ||
"resourceGroup": "myResourceGroup", | ||
"api-version": "2021-08-30-preview" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"id": "/subscriptions/xxxx-xxxx-xxxx-xxxx/resourceGroups/myResourceGroup/Microsoft.FluidRelay/fluidRelayServers/myFluidRelayServer", | ||
"name": "myFluidRelayServer", | ||
"type": "Microsoft.FluidRelay/fluidRelayServers", | ||
"location": "west-us", | ||
"properties": { | ||
"frsTenantId": "yyyy-yyyy-yyyyy-yyyy", | ||
"fluidRelayEndpoints": { | ||
"ordererEndpoints": [ | ||
"https://www.contoso.org/orderer" | ||
], | ||
"storageEndpoints": [ | ||
"https://www.contoso.org/storage" | ||
] | ||
}, | ||
"provisioningState": "Succeeded" | ||
} | ||
} | ||
], | ||
"nextLink": "" | ||
} | ||
} | ||
} | ||
} |
33 changes: 33 additions & 0 deletions
33
....FluidRelay/preview/2021-08-30-preview/examples/FluidRelayServers_ListBySubscription.json
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,33 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "xxxx-xxxx-xxxx-xxxx", | ||
"api-version": "2021-08-30-preview" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"id": "/subscriptions/xxxx-xxxx-xxxx-xxxx/resourceGroups/myResourceGroup/Microsoft.FluidRelay/fluidRelayServers/myFluidRelayServer", | ||
"name": "myFluidRelayServer", | ||
"type": "Microsoft.FluidRelay/fluidRelayServers", | ||
"location": "west-us", | ||
"properties": { | ||
"frsTenantId": "yyyy-yyyy-yyyyy-yyyy", | ||
"fluidRelayEndpoints": { | ||
"ordererEndpoints": [ | ||
"https://www.contoso.org/orderer" | ||
], | ||
"storageEndpoints": [ | ||
"https://www.contoso.org/storage" | ||
] | ||
}, | ||
"provisioningState": "Succeeded" | ||
} | ||
} | ||
], | ||
"nextLink": "" | ||
} | ||
} | ||
} | ||
} |
19 changes: 19 additions & 0 deletions
19
...soft.FluidRelay/preview/2021-08-30-preview/examples/FluidRelayServers_RegenerateKeys.json
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 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "xxxx-xxxx-xxxx-xxxx", | ||
"resourceGroup": "myResourceGroup", | ||
"fluidRelayServerName": "myFluidRelayServer", | ||
"api-version": "2021-08-30-preview", | ||
"parameters": { | ||
"keyName": "key1" | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"key1": "xxx-xxxx-xxxxx-xxxx", | ||
"key2": "yyy-yyyy-yyyyy-yyyy" | ||
} | ||
} | ||
} | ||
} |
38 changes: 38 additions & 0 deletions
38
...er/Microsoft.FluidRelay/preview/2021-08-30-preview/examples/FluidRelayServers_Update.json
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,38 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "xxxx-xxxx-xxxx-xxxx", | ||
"resourceGroup": "myResourceGroup", | ||
"fluidRelayServerName": "myFluidRelayServer", | ||
"api-version": "2021-08-30-preview", | ||
"resource": { | ||
"tags": { | ||
"Category": "sales" | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/xxxx-xxxx-xxxx-xxxx/resourceGroups/myResourceGroup/Microsoft.FluidRelay/fluidRelayServers/myFluidRelayServer", | ||
"name": "myFluidRelayServer", | ||
"type": "Microsoft.FluidRelay/fluidRelayServers", | ||
"location": "west-us", | ||
"properties": { | ||
"frsTenantId": "yyyy-yyyy-yyyyy-yyyy", | ||
"fluidRelayEndpoints": { | ||
"ordererEndpoints": [ | ||
"https://www.contoso.org/orderer" | ||
], | ||
"storageEndpoints": [ | ||
"https://www.contoso.org/storage" | ||
] | ||
}, | ||
"provisioningState": "Succeeded" | ||
}, | ||
"tags": { | ||
"Category": "sales" | ||
} | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.