Skip to content

Commit

Permalink
Updates API version in new specs and examples
Browse files Browse the repository at this point in the history
  • Loading branch information
zman-ms committed Jan 10, 2024
1 parent 74519d8 commit fb83dae
Show file tree
Hide file tree
Showing 24 changed files with 25 additions and 25 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"operationId": "FleetMembers_Create",
"title": "Creates a FleetMember resource with a long running operation.",
"parameters": {
"api-version": "2023-08-15-preview",
"api-version": "2024-02-02-preview",
"subscriptionId": "subid1",
"resourceGroupName": "rg1",
"fleetName": "fleet1",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"operationId": "FleetMembers_Delete",
"title": "Deletes a FleetMember resource asynchronously with a long running operation.",
"parameters": {
"api-version": "2023-08-15-preview",
"api-version": "2024-02-02-preview",
"subscriptionId": "subid1",
"resourceGroupName": "rg1",
"fleetName": "fleet1",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"operationId": "FleetMembers_Get",
"title": "Gets a FleetMember resource.",
"parameters": {
"api-version": "2023-08-15-preview",
"api-version": "2024-02-02-preview",
"subscriptionId": "subid1",
"resourceGroupName": "rg1",
"fleetName": "fleet1",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"operationId": "FleetMembers_ListByFleet",
"title": "Lists the members of a Fleet.",
"parameters": {
"api-version": "2023-08-15-preview",
"api-version": "2024-02-02-preview",
"subscriptionId": "subid1",
"resourceGroupName": "rg1",
"fleetName": "fleet1"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"operationId": "FleetMembers_Update",
"title": "Updates a FleetMember resource synchronously.",
"parameters": {
"api-version": "2023-08-15-preview",
"api-version": "2024-02-02-preview",
"subscriptionId": "subid1",
"resourceGroupName": "rg1",
"fleetName": "fleet1",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"operationId": "Fleets_CreateOrUpdate",
"title": "Creates a Fleet resource with a long running operation.",
"parameters": {
"api-version": "2023-08-15-preview",
"api-version": "2024-02-02-preview",
"subscriptionId": "subid1",
"resourceGroupName": "rg1",
"fleetName": "fleet1",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"operationId": "Fleets_Delete",
"title": "Deletes a Fleet resource asynchronously with a long running operation.",
"parameters": {
"api-version": "2023-08-15-preview",
"api-version": "2024-02-02-preview",
"subscriptionId": "subid1",
"resourceGroupName": "rg1",
"fleetName": "fleet1"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"operationId": "Fleets_Get",
"title": "Gets a Fleet resource.",
"parameters": {
"api-version": "2023-08-15-preview",
"api-version": "2024-02-02-preview",
"subscriptionId": "subid1",
"resourceGroupName": "rg1",
"fleetName": "fleet1"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"operationId": "Fleets_ListByResourceGroup",
"title": "Lists the Fleet resources in a resource group.",
"parameters": {
"api-version": "2023-08-15-preview",
"api-version": "2024-02-02-preview",
"subscriptionId": "subid1",
"resourceGroupName": "rg1"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"operationId": "Fleets_ListBySubscription",
"title": "Lists the Fleet resources in a subscription.",
"parameters": {
"api-version": "2023-08-15-preview",
"api-version": "2024-02-02-preview",
"subscriptionId": "subid1"
},
"responses": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"operationId": "Fleets_ListCredentials",
"title": "Lists the user credentials of a Fleet.",
"parameters": {
"api-version": "2023-08-15-preview",
"api-version": "2024-02-02-preview",
"subscriptionId": "subid1",
"resourceGroupName": "rg1",
"fleetName": "fleet"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"operationId": "Fleets_Update",
"title": "Update a Fleet.",
"parameters": {
"api-version": "2023-08-15-preview",
"api-version": "2024-02-02-preview",
"subscriptionId": "subid1",
"resourceGroupName": "rg1",
"fleetName": "fleet1",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"operationId": "Operations_List",
"title": "List the operations for the provider.",
"parameters": {
"api-version": "2023-08-15-preview"
"api-version": "2024-02-02-preview"
},
"responses": {
"200": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"operationId": "UpdateRuns_CreateOrUpdate",
"title": "Create an UpdateRun.",
"parameters": {
"api-version": "2023-08-15-preview",
"api-version": "2024-02-02-preview",
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"resourceGroupName": "rg1",
"fleetName": "fleet1",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"operationId": "UpdateRuns_Delete",
"title": "Delete an updateRun resource.",
"parameters": {
"api-version": "2023-08-15-preview",
"api-version": "2024-02-02-preview",
"subscriptionId": "subid1",
"resourceGroupName": "rg1",
"fleetName": "fleet1",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"operationId": "UpdateRuns_Get",
"title": "Gets an UpdateRun resource.",
"parameters": {
"api-version": "2023-08-15-preview",
"api-version": "2024-02-02-preview",
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"resourceGroupName": "rg1",
"fleetName": "fleet1",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"operationId": "UpdateRuns_ListByFleet",
"title": "Lists the UpdateRun resources by fleet.",
"parameters": {
"api-version": "2023-08-15-preview",
"api-version": "2024-02-02-preview",
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"resourceGroupName": "rg1",
"fleetName": "fleet1"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"operationId": "UpdateRuns_Start",
"title": "Starts an UpdateRun.",
"parameters": {
"api-version": "2023-08-15-preview",
"api-version": "2024-02-02-preview",
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"resourceGroupName": "rg1",
"fleetName": "fleet1",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"operationId": "UpdateRuns_Stop",
"title": "Stops an UpdateRun.",
"parameters": {
"api-version": "2023-08-15-preview",
"api-version": "2024-02-02-preview",
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"resourceGroupName": "rg1",
"fleetName": "fleet1",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"operationId": "FleetUpdateStrategies_CreateOrUpdate",
"title": "Create a FleetUpdateStrategy.",
"parameters": {
"api-version": "2023-08-15-preview",
"api-version": "2024-02-02-preview",
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"resourceGroupName": "rg1",
"fleetName": "fleet1",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"operationId": "FleetUpdateStrategies_Delete",
"title": "Delete a FleetUpdateStrategy resource.",
"parameters": {
"api-version": "2023-08-15-preview",
"api-version": "2024-02-02-preview",
"subscriptionId": "subid1",
"resourceGroupName": "rg1",
"fleetName": "fleet1",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"operationId": "FleetUpdateStrategies_Get",
"title": "Get a FleetUpdateStrategy resource.",
"parameters": {
"api-version": "2023-08-15-preview",
"api-version": "2024-02-02-preview",
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"resourceGroupName": "rg1",
"fleetName": "fleet1",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"operationId": "FleetUpdateStrategies_ListByFleet",
"title": "List the FleetUpdateStrategy resources by fleet.",
"parameters": {
"api-version": "2023-08-15-preview",
"api-version": "2024-02-02-preview",
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"resourceGroupName": "rg1",
"fleetName": "fleet1"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"swagger": "2.0",
"info": {
"title": "ContainerServiceFleetClient",
"version": "2023-08-15-preview",
"version": "2024-02-02-preview",
"description": "Azure Kubernetes Fleet Manager api client.",
"x-typespec-generated": [
{
Expand Down Expand Up @@ -2468,7 +2468,7 @@
},
"updateStrategyId": {
"$ref": "#/definitions/FleetUpdateStrategyResourceId",
"description": "The resource id of the FleetUpdateStrategy resource to reference.\n\nWhen creating a new run, there are three ways to define a strategy for the run:\n1. Define a new strategy in place: Set the \"strategy\" field.\n2. Use an existing strategy: Set the \"updateStrategyId\" field. (since 2023-08-15-preview)\n3. Use the default strategy to update all the members one by one: Leave both \"updateStrategyId\" and \"strategy\" unset. (since 2023-08-15-preview)\n\nSetting both \"updateStrategyId\" and \"strategy\" is invalid.\n\nUpdateRuns created by \"updateStrategyId\" snapshot the referenced UpdateStrategy at the time of creation and store it in the \"strategy\" field. \nSubsequent changes to the referenced FleetUpdateStrategy resource do not propagate. \nUpdateRunStrategy changes can be made directly on the \"strategy\" field before launching the UpdateRun."
"description": "The resource id of the FleetUpdateStrategy resource to reference.\n\nWhen creating a new run, there are three ways to define a strategy for the run:\n1. Define a new strategy in place: Set the \"strategy\" field.\n2. Use an existing strategy: Set the \"updateStrategyId\" field. (since 2024-02-02-preview)\n3. Use the default strategy to update all the members one by one: Leave both \"updateStrategyId\" and \"strategy\" unset. (since 2024-02-02-preview)\n\nSetting both \"updateStrategyId\" and \"strategy\" is invalid.\n\nUpdateRuns created by \"updateStrategyId\" snapshot the referenced UpdateStrategy at the time of creation and store it in the \"strategy\" field. \nSubsequent changes to the referenced FleetUpdateStrategy resource do not propagate. \nUpdateRunStrategy changes can be made directly on the \"strategy\" field before launching the UpdateRun."
},
"strategy": {
"$ref": "#/definitions/UpdateRunStrategy",
Expand Down

0 comments on commit fb83dae

Please sign in to comment.