Skip to content

Commit

Permalink
AKS Fleet 2023 10 15 (#25768)
Browse files Browse the repository at this point in the history
* rebase

* rebase

* rebase

* rebase

* rebase

* rebase

* rebase

* [Fleet] Fix readme.md for 0815 (#25822)

* fix readme

* format

* remove hub profile

* examples

* fixed example

* fix example

* fix readme

* rebase

* suppress versioning error

* compile
  • Loading branch information
zman-ms committed Jan 9, 2024
1 parent bad2f4a commit 4b00662
Show file tree
Hide file tree
Showing 53 changed files with 5,322 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
{
"operationId": "FleetMembers_Create",
"title": "Creates a FleetMember resource with a long running operation.",
"parameters": {
"api-version": "2023-10-15",
"subscriptionId": "subid1",
"resourceGroupName": "rg1",
"fleetName": "fleet1",
"fleetMemberName": "member-1",
"resource": {
"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"
}
}
},
"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/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"
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"operationId": "FleetMembers_Delete",
"title": "Deletes a FleetMember resource asynchronously with a long running operation.",
"parameters": {
"api-version": "2023-10-15",
"subscriptionId": "subid1",
"resourceGroupName": "rg1",
"fleetName": "fleet1",
"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"
}
},
"200": {},
"204": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
{
"operationId": "FleetMembers_Get",
"title": "Gets a FleetMember resource.",
"parameters": {
"api-version": "2023-10-15",
"subscriptionId": "subid1",
"resourceGroupName": "rg1",
"fleetName": "fleet1",
"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"
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
{
"operationId": "FleetMembers_ListByFleet",
"title": "Lists the members of a Fleet.",
"parameters": {
"api-version": "2023-10-15",
"subscriptionId": "subid1",
"resourceGroupName": "rg1",
"fleetName": "fleet1"
},
"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
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
{
"operationId": "FleetMembers_Update",
"title": "Updates a FleetMember resource synchronously.",
"parameters": {
"api-version": "2023-10-15",
"subscriptionId": "subid1",
"resourceGroupName": "rg1",
"fleetName": "fleet1",
"fleetMemberName": "member-1",
"properties": {
"properties": {
"group": "staging"
}
}
},
"responses": {
"200": {
"headers": {
"ETag": "23ujdflewrj3="
},
"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",
"group": "staging",
"provisioningState": "Succeeded"
}
}
},
"202": {
"headers": {
"Retry-After": "20",
"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"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
{
"operationId": "Fleets_CreateOrUpdate",
"title": "Creates a Fleet resource with a long running operation.",
"parameters": {
"api-version": "2023-10-15",
"subscriptionId": "subid1",
"resourceGroupName": "rg1",
"fleetName": "fleet1",
"resource": {
"tags": {
"tier": "production",
"archv2": ""
},
"location": "East US",
"properties": {}
}
},
"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": {
"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": {
"provisioningState": "Creating"
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"operationId": "Fleets_Delete",
"title": "Deletes a Fleet resource asynchronously with a long running operation.",
"parameters": {
"api-version": "2023-10-15",
"subscriptionId": "subid1",
"resourceGroupName": "rg1",
"fleetName": "fleet1"
},
"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"
}
},
"200": {},
"204": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
{
"operationId": "Fleets_Get",
"title": "Gets a Fleet resource.",
"parameters": {
"api-version": "2023-10-15",
"subscriptionId": "subid1",
"resourceGroupName": "rg1",
"fleetName": "fleet1"
},
"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": {
"provisioningState": "Succeeded"
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
{
"operationId": "Fleets_ListByResourceGroup",
"title": "Lists the Fleet resources in a resource group.",
"parameters": {
"api-version": "2023-10-15",
"subscriptionId": "subid1",
"resourceGroupName": "rg1"
},
"responses": {
"200": {
"body": {
"value": [
{
"id": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/fleets/fleet-1",
"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": {
"provisioningState": "Succeeded"
}
}
],
"nextLink": null
}
}
}
}
Loading

0 comments on commit 4b00662

Please sign in to comment.