-
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.
Containerservice 2022 06 02 preview fleet (#19541)
* add fleets and fleet members resource types * remove clusterLocation * wording * don't flatten hubprofile * extra comma * fix patch example
- Loading branch information
Showing
12 changed files
with
1,153 additions
and
0 deletions.
There are no files selected for viewing
41 changes: 41 additions & 0 deletions
41
...r/Microsoft.ContainerService/preview/2022-06-02-preview/examples/FleetMembers_Create.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,41 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2022-06-02-preview", | ||
"subscriptionId": "subid1", | ||
"resourceGroupName": "rg1", | ||
"fleetName": "fleet-1", | ||
"fleetMemberName": "member-1", | ||
"parameters": { | ||
"properties": { | ||
"clusterResourceId": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/managedClusters/cluster-1" | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"201": { | ||
"headers": { | ||
"ETag": "23ujdflewrj3=", | ||
"Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerService/locations/eastus/operations/00000000-0000-0000-0000-000000000000?api-version=2022-02-01", | ||
"Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerService/locations/eastus/operationResults/00000000-0000-0000-0000-000000000000?api-version=2022-02-01" | ||
}, | ||
"body": { | ||
"id": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/fleets/fleet-1/members/member-1", | ||
"name": "member-1", | ||
"type": "Microsoft.ContainerService/fleets/members", | ||
"systemData": { | ||
"createdBy": "someUser", | ||
"createdByType": "User", | ||
"createdAt": "2022-03-23T05:40:40.657Z", | ||
"lastModifiedBy": "someOtherUser", | ||
"lastModifiedByType": "User", | ||
"lastModifiedAt": "2022-03-23T05:40:40.657Z" | ||
}, | ||
"etag": "23ujdflewrj3=", | ||
"properties": { | ||
"clusterResourceId": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/managedClusters/cluster-1", | ||
"provisioningState": "Succeeded" | ||
} | ||
} | ||
} | ||
} | ||
} |
18 changes: 18 additions & 0 deletions
18
...r/Microsoft.ContainerService/preview/2022-06-02-preview/examples/FleetMembers_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,18 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2022-06-02-preview", | ||
"subscriptionId": "subid1", | ||
"resourceGroupName": "rg1", | ||
"fleetName": "fleet-1", | ||
"fleetMemberName": "member-1" | ||
}, | ||
"responses": { | ||
"202": { | ||
"headers": { | ||
"Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerService/locations/eastus/operations/00000000-0000-0000-0000-000000000000?api-version=2022-02-01", | ||
"Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerService/locations/eastus/operationResults/00000000-0000-0000-0000-000000000000?api-version=2022-02-01" | ||
} | ||
}, | ||
"204": {} | ||
} | ||
} |
34 changes: 34 additions & 0 deletions
34
...ager/Microsoft.ContainerService/preview/2022-06-02-preview/examples/FleetMembers_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,34 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2022-06-02-preview", | ||
"subscriptionId": "subid1", | ||
"resourceGroupName": "rg1", | ||
"fleetName": "fleet-1", | ||
"fleetMemberName": "member-1" | ||
}, | ||
"responses": { | ||
"200": { | ||
"headers": { | ||
"ETag": "kd30rkdfo49=" | ||
}, | ||
"body": { | ||
"id": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/fleets/fleet-1/members/member-1", | ||
"name": "member-1", | ||
"type": "Microsoft.ContainerService/fleets/members", | ||
"systemData": { | ||
"createdBy": "someUser", | ||
"createdByType": "User", | ||
"createdAt": "2022-03-23T05:40:40.657Z", | ||
"lastModifiedBy": "someOtherUser", | ||
"lastModifiedByType": "User", | ||
"lastModifiedAt": "2022-03-23T05:40:40.657Z" | ||
}, | ||
"etag": "kd30rkdfo49=", | ||
"properties": { | ||
"clusterResourceId": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/managedClusters/cluster-1", | ||
"provisioningState": "Succeeded" | ||
} | ||
} | ||
} | ||
} | ||
} |
35 changes: 35 additions & 0 deletions
35
...ger/Microsoft.ContainerService/preview/2022-06-02-preview/examples/FleetMembers_List.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,35 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2022-06-02-preview", | ||
"subscriptionId": "subid1", | ||
"resourceGroupName": "rg1", | ||
"fleetName": "fleet-1" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"id": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/fleets/fleet-1/members/member-1", | ||
"name": "member-1", | ||
"type": "Microsoft.ContainerService/fleets/members", | ||
"systemData": { | ||
"createdBy": "someUser", | ||
"createdByType": "User", | ||
"createdAt": "2022-03-23T05:40:40.657Z", | ||
"lastModifiedBy": "someOtherUser", | ||
"lastModifiedByType": "User", | ||
"lastModifiedAt": "2022-03-23T05:40:40.657Z" | ||
}, | ||
"etag": "kd30rkdfo49=", | ||
"properties": { | ||
"clusterResourceId": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/managedClusters/cluster-1", | ||
"provisioningState": "Succeeded" | ||
} | ||
} | ||
], | ||
"nextLink": null | ||
} | ||
} | ||
} | ||
} |
90 changes: 90 additions & 0 deletions
90
...Microsoft.ContainerService/preview/2022-06-02-preview/examples/Fleets_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,90 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2022-06-02-preview", | ||
"subscriptionId": "subid1", | ||
"resourceGroupName": "rg1", | ||
"fleetName": "fleet-1", | ||
"parameters": { | ||
"tags": { | ||
"tier": "production", | ||
"archv2": "" | ||
}, | ||
"location": "East US", | ||
"properties": { | ||
"hubProfile": { | ||
"dnsPrefix": "dnsprefix1" | ||
} | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"headers": { | ||
"ETag": "23ujdflewrj3=", | ||
"Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerService/locations/eastus/operations/00000000-0000-0000-0000-000000000000?api-version=2022-02-01", | ||
"Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerService/locations/eastus/operationResults/00000000-0000-0000-0000-000000000000?api-version=2022-02-01" | ||
}, | ||
"body": { | ||
"id": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/fleets/fleet-1", | ||
"name": "fleet-1", | ||
"type": "Microsoft.ContainerService/fleets", | ||
"systemData": { | ||
"createdBy": "someUser", | ||
"createdByType": "User", | ||
"createdAt": "2022-03-23T05:40:40.657Z", | ||
"lastModifiedBy": "someOtherUser", | ||
"lastModifiedByType": "User", | ||
"lastModifiedAt": "2022-03-23T05:40:40.657Z" | ||
}, | ||
"tags": { | ||
"tier": "production", | ||
"archv2": "" | ||
}, | ||
"location": "East US", | ||
"etag": "23ujdflewrj3=", | ||
"properties": { | ||
"hubProfile": { | ||
"dnsPrefix": "dnsprefix1", | ||
"fqdn": "dnsprefix1-abcd1234.flt.eastus.azmk8s.io", | ||
"kubernetesVersion": "1.22.4" | ||
}, | ||
"provisioningState": "Updating" | ||
} | ||
} | ||
}, | ||
"201": { | ||
"headers": { | ||
"ETag": "23ujdflewrj3=", | ||
"Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerService/locations/eastus/operations/00000000-0000-0000-0000-000000000000?api-version=2022-02-01", | ||
"Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerService/locations/eastus/operationResults/00000000-0000-0000-0000-000000000000?api-version=2022-02-01" | ||
}, | ||
"body": { | ||
"id": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/fleets/fleet1", | ||
"name": "fleet1", | ||
"type": "Microsoft.ContainerService/fleets", | ||
"systemData": { | ||
"createdBy": "someUser", | ||
"createdByType": "User", | ||
"createdAt": "2022-03-23T05:40:40.657Z", | ||
"lastModifiedBy": "someOtherUser", | ||
"lastModifiedByType": "User", | ||
"lastModifiedAt": "2022-03-23T05:40:40.657Z" | ||
}, | ||
"tags": { | ||
"tier": "production", | ||
"archv2": "" | ||
}, | ||
"location": "East US", | ||
"etag": "23ujdflewrj3=", | ||
"properties": { | ||
"hubProfile": { | ||
"dnsPrefix": "dnsprefix1", | ||
"fqdn": "dnsprefix1-abcd1234.flt.eastus.azmk8s.io", | ||
"kubernetesVersion": "1.22.4" | ||
}, | ||
"provisioningState": "Creating" | ||
} | ||
} | ||
} | ||
} | ||
} |
17 changes: 17 additions & 0 deletions
17
...manager/Microsoft.ContainerService/preview/2022-06-02-preview/examples/Fleets_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,17 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2022-06-02-preview", | ||
"subscriptionId": "subid1", | ||
"resourceGroupName": "rg1", | ||
"fleetName": "fleet-1" | ||
}, | ||
"responses": { | ||
"202": { | ||
"headers": { | ||
"Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerService/locations/eastus/operations/00000000-0000-0000-0000-000000000000?api-version=2022-02-01", | ||
"Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerService/locations/eastus/operationResults/00000000-0000-0000-0000-000000000000?api-version=2022-02-01" | ||
} | ||
}, | ||
"204": {} | ||
} | ||
} |
42 changes: 42 additions & 0 deletions
42
...ce-manager/Microsoft.ContainerService/preview/2022-06-02-preview/examples/Fleets_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,42 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2022-06-02-preview", | ||
"subscriptionId": "subid1", | ||
"resourceGroupName": "rg1", | ||
"fleetName": "fleet-1" | ||
}, | ||
"responses": { | ||
"200": { | ||
"headers": { | ||
"ETag": "23ujdflewrj3=" | ||
}, | ||
"body": { | ||
"id": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/fleets/fleet-1", | ||
"name": "fleet-1", | ||
"type": "Microsoft.ContainerService/fleets", | ||
"systemData": { | ||
"createdBy": "someUser", | ||
"createdByType": "User", | ||
"createdAt": "2022-03-23T05:40:40.657Z", | ||
"lastModifiedBy": "someOtherUser", | ||
"lastModifiedByType": "User", | ||
"lastModifiedAt": "2022-03-23T05:40:40.657Z" | ||
}, | ||
"tags": { | ||
"tier": "production", | ||
"archv2": "" | ||
}, | ||
"location": "East US", | ||
"etag": "23ujdflewrj3=", | ||
"properties": { | ||
"hubProfile": { | ||
"dnsPrefix": "dnsprefix1", | ||
"fqdn": "dnsprefix1-abcd1234.flt.eastus.azmk8s.io", | ||
"kubernetesVersion": "1.22.4" | ||
}, | ||
"provisioningState": "Succeeded" | ||
} | ||
} | ||
} | ||
} | ||
} |
43 changes: 43 additions & 0 deletions
43
...soft.ContainerService/preview/2022-06-02-preview/examples/Fleets_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,43 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2022-06-02-preview", | ||
"subscriptionId": "subid1", | ||
"resourceGroupName": "rg1" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"id": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/fleets/fleet-1", | ||
"name": "fleet-1", | ||
"type": "Microsoft.ContainerService/fleets", | ||
"systemData": { | ||
"createdBy": "someUser", | ||
"createdByType": "User", | ||
"createdAt": "2022-03-23T05:40:40.657Z", | ||
"lastModifiedBy": "someOtherUser", | ||
"lastModifiedByType": "User", | ||
"lastModifiedAt": "2022-03-23T05:40:40.657Z" | ||
}, | ||
"tags": { | ||
"tier": "production", | ||
"archv2": "" | ||
}, | ||
"location": "East US", | ||
"etag": "23ujdflewrj3=", | ||
"properties": { | ||
"hubProfile": { | ||
"dnsPrefix": "dnsprefix1", | ||
"fqdn": "dnsprefix1-abcd1234.flt.eastus.azmk8s.io", | ||
"kubernetesVersion": "1.22.4" | ||
}, | ||
"provisioningState": "Succeeded" | ||
} | ||
} | ||
], | ||
"nextLink": null | ||
} | ||
} | ||
} | ||
} |
42 changes: 42 additions & 0 deletions
42
...ager/Microsoft.ContainerService/preview/2022-06-02-preview/examples/Fleets_ListBySub.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,42 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2022-06-02-preview", | ||
"subscriptionId": "subid1" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"id": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/fleets/fleet-1", | ||
"name": "fleet-1", | ||
"type": "Microsoft.ContainerService/fleets", | ||
"systemData": { | ||
"createdBy": "someUser", | ||
"createdByType": "User", | ||
"createdAt": "2022-03-23T05:40:40.657Z", | ||
"lastModifiedBy": "someOtherUser", | ||
"lastModifiedByType": "User", | ||
"lastModifiedAt": "2022-03-23T05:40:40.657Z" | ||
}, | ||
"tags": { | ||
"tier": "production", | ||
"archv2": "" | ||
}, | ||
"location": "East US", | ||
"etag": "23ujdflewrj3=", | ||
"properties": { | ||
"hubProfile": { | ||
"dnsPrefix": "dnsprefix1", | ||
"fqdn": "dnsprefix1-abcd1234.flt.eastus.azmk8s.io", | ||
"kubernetesVersion": "1.22.4" | ||
}, | ||
"provisioningState": "Succeeded" | ||
} | ||
} | ||
], | ||
"nextLink": null | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.