Skip to content

Commit

Permalink
Make changes for 2024-10 api version
Browse files Browse the repository at this point in the history
  • Loading branch information
ymohammedMS committed Sep 27, 2024
1 parent 1882676 commit 77ffeb8
Show file tree
Hide file tree
Showing 113 changed files with 351 additions and 190 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"swagger": "2.0",
"info": {
"title": "AttestationsClient",
"version": "2022-09-01"
"version": "2024-10-01"
},
"host": "management.azure.com",
"schemes": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"swagger": "2.0",
"info": {
"title": "CheckPolicyRestrictionsClient",
"version": "2023-03-01"
"version": "2024-10-01"
},
"host": "management.azure.com",
"schemes": [
Expand Down Expand Up @@ -61,7 +61,7 @@
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "../../stable/2019-10-01/policyMetadata.json#/definitions/ErrorResponse"
"$ref": "../../stable/2024-10-01/policyMetadata.json#/definitions/ErrorResponse"
}
}
},
Expand Down Expand Up @@ -109,7 +109,7 @@
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "../../stable/2019-10-01/policyMetadata.json#/definitions/ErrorResponse"
"$ref": "../../stable/2024-10-01/policyMetadata.json#/definitions/ErrorResponse"
}
}
},
Expand Down Expand Up @@ -157,7 +157,7 @@
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "../../stable/2019-10-01/policyMetadata.json#/definitions/ErrorResponse"
"$ref": "../../stable/2024-10-01/policyMetadata.json#/definitions/ErrorResponse"
}
}
},
Expand Down Expand Up @@ -429,14 +429,14 @@
"description": "Details of the evaluated expressions.",
"type": "array",
"items": {
"$ref": "../../stable/2019-10-01/policyStates.json#/definitions/ExpressionEvaluationDetails"
"$ref": "../../stable/2024-10-01/policyStates.json#/definitions/ExpressionEvaluationDetails"
},
"x-ms-identifiers": []
},
"ifNotExistsDetails": {
"description": "Evaluation details of IfNotExists effect.",
"type": "object",
"$ref": "../../stable/2019-10-01/policyStates.json#/definitions/IfNotExistsEvaluationDetails"
"$ref": "../../stable/2024-10-01/policyStates.json#/definitions/IfNotExistsEvaluationDetails"
},
"reason": {
"description": "The reason for the evaluation result.",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"swagger": "2.0",
"info": {
"title": "ComponentPolicyStatesClient",
"version": "2022-04-01",
"version": "2024-10-01",
"description": "Query component policy states at varying resource scopes for Resource Provider mode policies."
},
"host": "management.azure.com",
Expand Down Expand Up @@ -77,7 +77,7 @@
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "../../stable/2019-10-01/policyMetadata.json#/definitions/ErrorResponse"
"$ref": "../../stable/2024-10-01/policyMetadata.json#/definitions/ErrorResponse"
}
}
},
Expand Down Expand Up @@ -140,7 +140,7 @@
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "../../stable/2019-10-01/policyMetadata.json#/definitions/ErrorResponse"
"$ref": "../../stable/2024-10-01/policyMetadata.json#/definitions/ErrorResponse"
}
}
},
Expand Down Expand Up @@ -203,7 +203,7 @@
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "../../stable/2019-10-01/policyMetadata.json#/definitions/ErrorResponse"
"$ref": "../../stable/2024-10-01/policyMetadata.json#/definitions/ErrorResponse"
}
}
},
Expand Down Expand Up @@ -278,7 +278,7 @@
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "../../stable/2019-10-01/policyMetadata.json#/definitions/ErrorResponse"
"$ref": "../../stable/2024-10-01/policyMetadata.json#/definitions/ErrorResponse"
}
}
},
Expand Down Expand Up @@ -341,7 +341,7 @@
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "../../stable/2019-10-01/policyMetadata.json#/definitions/ErrorResponse"
"$ref": "../../stable/2024-10-01/policyMetadata.json#/definitions/ErrorResponse"
}
}
},
Expand Down Expand Up @@ -407,7 +407,7 @@
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "../../stable/2019-10-01/policyMetadata.json#/definitions/ErrorResponse"
"$ref": "../../stable/2024-10-01/policyMetadata.json#/definitions/ErrorResponse"
}
}
},
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"parameters": {
"subscriptionId": "35ee058e-5fa0-414c-8145-3ebb8d09b6e2",
"api-version": "2022-09-01",
"api-version": "2024-10-01",
"resourceGroupName": "myRg",
"attestationName": "790996e6-9871-4b1f-9cd9-ec42cd6ced1e",
"parameters": {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"parameters": {
"resourceId": "subscriptions/35ee058e-5fa0-414c-8145-3ebb8d09b6e2/resourcegroups/myrg/providers/microsoft.compute/virtualMachines/devVM",
"api-version": "2022-09-01",
"api-version": "2024-10-01",
"attestationName": "790996e6-9871-4b1f-9cd9-ec42cd6ced1e",
"parameters": {
"properties": {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"parameters": {
"subscriptionId": "35ee058e-5fa0-414c-8145-3ebb8d09b6e2",
"api-version": "2022-09-01",
"api-version": "2024-10-01",
"attestationName": "790996e6-9871-4b1f-9cd9-ec42cd6ced1e",
"parameters": {
"properties": {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"parameters": {
"subscriptionId": "35ee058e-5fa0-414c-8145-3ebb8d09b6e2",
"api-version": "2022-09-01",
"api-version": "2024-10-01",
"attestationName": "790996e6-9871-4b1f-9cd9-ec42cd6ced1e",
"parameters": {
"properties": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"parameters": {
"subscriptionId": "35ee058e-5fa0-414c-8145-3ebb8d09b6e2",
"resourceGroupName": "myRg",
"api-version": "2022-09-01",
"api-version": "2024-10-01",
"attestationName": "790996e6-9871-4b1f-9cd9-ec42cd6ced1e"
},
"responses": {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"parameters": {
"resourceId": "subscriptions/35ee058e-5fa0-414c-8145-3ebb8d09b6e2/resourcegroups/myrg/providers/microsoft.compute/virtualMachines/devVM",
"api-version": "2022-09-01",
"api-version": "2024-10-01",
"attestationName": "790996e6-9871-4b1f-9cd9-ec42cd6ced1e"
},
"responses": {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"parameters": {
"subscriptionId": "35ee058e-5fa0-414c-8145-3ebb8d09b6e2",
"api-version": "2022-09-01",
"api-version": "2024-10-01",
"attestationName": "790996e6-9871-4b1f-9cd9-ec42cd6ced1e"
},
"responses": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"subscriptionId": "35ee058e-5fa0-414c-8145-3ebb8d09b6e2",
"resourceGroupName": "myRg",
"attestationName": "790996e6-9871-4b1f-9cd9-ec42cd6ced1e",
"api-version": "2022-09-01"
"api-version": "2024-10-01"
},
"responses": {
"200": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"parameters": {
"resourceId": "subscriptions/35ee058e-5fa0-414c-8145-3ebb8d09b6e2/resourcegroups/myrg/providers/microsoft.compute/virtualMachines/devVM",
"attestationName": "790996e6-9871-4b1f-9cd9-ec42cd6ced1e",
"api-version": "2022-09-01"
"api-version": "2024-10-01"
},
"responses": {
"200": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"parameters": {
"subscriptionId": "35ee058e-5fa0-414c-8145-3ebb8d09b6e2",
"attestationName": "790996e6-9871-4b1f-9cd9-ec42cd6ced1e",
"api-version": "2022-09-01"
"api-version": "2024-10-01"
},
"responses": {
"200": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"parameters": {
"subscriptionId": "35ee058e-5fa0-414c-8145-3ebb8d09b6e2",
"resourceGroupName": "myRg",
"api-version": "2022-09-01"
"api-version": "2024-10-01"
},
"responses": {
"200": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"resourceGroupName": "myRg",
"$filter": "PolicyAssignmentId eq '/subscriptions/35ee058e-5fa0-414c-8145-3ebb8d09b6e2/providers/microsoft.authorization/policyassignments/b101830944f246d8a14088c5' AND PolicyDefinitionReferenceId eq '0b158b46-ff42-4799-8e39-08a5c23b4551'",
"$top": 1,
"api-version": "2022-09-01"
"api-version": "2024-10-01"
},
"responses": {
"200": {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"parameters": {
"resourceId": "subscriptions/35ee058e-5fa0-414c-8145-3ebb8d09b6e2/resourcegroups/myrg/providers/microsoft.compute/virtualMachines/devVM",
"api-version": "2022-09-01"
"api-version": "2024-10-01"
},
"responses": {
"200": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"resourceId": "subscriptions/35ee058e-5fa0-414c-8145-3ebb8d09b6e2/resourcegroups/myrg/providers/microsoft.compute/virtualMachines/devVM",
"$filter": "PolicyAssignmentId eq '/subscriptions/35ee058e-5fa0-414c-8145-3ebb8d09b6e2/providers/microsoft.authorization/policyassignments/b101830944f246d8a14088c5' AND PolicyDefinitionReferenceId eq '0b158b46-ff42-4799-8e39-08a5c23b4551'",
"$top": 1,
"api-version": "2022-09-01"
"api-version": "2024-10-01"
},
"responses": {
"200": {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"parameters": {
"subscriptionId": "35ee058e-5fa0-414c-8145-3ebb8d09b6e2",
"api-version": "2022-09-01"
"api-version": "2024-10-01"
},
"responses": {
"200": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"subscriptionId": "35ee058e-5fa0-414c-8145-3ebb8d09b6e2",
"$filter": "PolicyAssignmentId eq '/subscriptions/35ee058e-5fa0-414c-8145-3ebb8d09b6e2/providers/microsoft.authorization/policyassignments/b101830944f246d8a14088c5' AND PolicyDefinitionReferenceId eq '0b158b46-ff42-4799-8e39-08a5c23b4551'",
"$top": 1,
"api-version": "2022-09-01"
"api-version": "2024-10-01"
},
"responses": {
"200": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"parameters": {
"componentPolicyStatesResource": "latest",
"resourceId": "subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/resourceGroups/myResourceGroup/providers/Microsoft.KeyVault/vaults/myVault",
"api-version": "2022-04-01"
"api-version": "2024-10-01"
},
"responses": {
"200": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"resourceGroupName": "myResourceGroup",
"authorizationNamespace": "Microsoft.Authorization",
"policyAssignmentName": "myPolicyAssignment",
"api-version": "2022-04-01"
"api-version": "2024-10-01"
},
"responses": {
"200": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"componentPolicyStatesResource": "latest",
"subscriptionId": "fffedd8f-ffff-fffd-fffd-fffed2f84852",
"resourceGroupName": "myResourceGroup",
"api-version": "2022-04-01"
"api-version": "2024-10-01"
},
"responses": {
"200": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"componentPolicyStatesResource": "latest",
"subscriptionId": "fffedd8f-ffff-fffd-fffd-fffed2f84852",
"resourceGroupName": "myResourceGroup",
"api-version": "2022-04-01",
"api-version": "2024-10-01",
"$filter": "policyAssignmentId eq '/subscriptions/fffedd8f-ffff-fffd-fffd-fffed2f84852/providers/microsoft.authorization/policyassignments/560050f83dbb4a24974323f8'",
"$apply": "groupby((type,complianceState),aggregate($count as count))"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"parameters": {
"componentPolicyStatesResource": "latest",
"resourceId": "subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/resourceGroups/myResourceGroup/providers/Microsoft.KeyVault/Vaults/myKVName",
"api-version": "2022-04-01"
"api-version": "2024-10-01"
},
"responses": {
"200": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"parameters": {
"componentPolicyStatesResource": "latest",
"resourceId": "subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/resourceGroups/myResourceGroup/providers/Microsoft.ContainerService/managedClusters/myCluster",
"api-version": "2022-04-01",
"api-version": "2024-10-01",
"$expand": "PolicyEvaluationDetails",
"$filter": "componentType eq 'pod' AND componentId eq 'default/test-pod' AND componentName eq 'test-pod'"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"parameters": {
"componentPolicyStatesResource": "latest",
"resourceId": "subscriptions/fff10b27-fff3-fff5-fff8-fffbe01e86a5/resourceGroups/myResourceGroup/providers/Microsoft.KeyVault/Vaults/myKVName",
"api-version": "2022-04-01",
"api-version": "2024-10-01",
"$filter": "componentId eq cert-RSA-cert-3"
},
"responses": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"parameters": {
"componentPolicyStatesResource": "latest",
"resourceId": "subscriptions/e78961ba-36fe-4739-9212-e3031b4c8db7/resourceGroups/myResourceGroup/providers/Microsoft.KeyVault/Vaults/myKVName",
"api-version": "2022-04-01",
"api-version": "2024-10-01",
"$filter": "policyAssignmentId eq '/subscriptions/e78961ba-36fe-4739-9212-e3031b4c8db7/providers/microsoft.authorization/policyassignments/560050f83dbb4a24974323f8'",
"$apply": "groupby((componentType,complianceState),aggregate($count as count))"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"subscriptionId": "fffedd8f-ffff-fffd-fffd-fffed2f84852",
"authorizationNamespace": "Microsoft.Authorization",
"policyAssignmentName": "ec8f9645-8ecb-4abb-9c0b-5292f19d4003",
"api-version": "2022-04-01"
"api-version": "2024-10-01"
},
"responses": {
"200": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"subscriptionId": "fffedd8f-ffff-fffd-fffd-fffed2f84852",
"authorizationNamespace": "Microsoft.Authorization",
"policyDefinitionName": "24813039-7534-408a-9842-eb99f45721b1",
"api-version": "2022-04-01"
"api-version": "2024-10-01"
},
"responses": {
"200": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"parameters": {
"componentPolicyStatesResource": "latest",
"subscriptionId": "fff10b27-fff3-fff5-fff8-fffbe01e86a5",
"api-version": "2022-04-01"
"api-version": "2024-10-01"
},
"responses": {
"200": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"parameters": {
"componentPolicyStatesResource": "latest",
"subscriptionId": "e78961ba-36fe-4739-9212-e3031b4c8db7",
"api-version": "2022-04-01",
"api-version": "2024-10-01",
"$filter": "policyAssignmentId eq '/subscriptions/e78961ba-36fe-4739-9212-e3031b4c8db7/providers/microsoft.authorization/policyassignments/560050f83dbb4a24974323f8'",
"$apply": "groupby((componentType,complianceState),aggregate($count as count))"
},
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"parameters": {
"api-version": "2022-04-01"
"api-version": "2024-10-01"
},
"responses": {
"200": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"parameters": {
"policyEventsResource": "default",
"subscriptionId": "fffedd8f-ffff-fffd-fffd-fffed2f84852",
"api-version": "2019-10-01",
"api-version": "2024-10-01",
"$from": "2018-02-05T18:00:00Z",
"$filter": "PolicyDefinitionAction eq 'deny'",
"$apply": "aggregate($count as NumDenyEvents)"
Expand Down
Loading

0 comments on commit 77ffeb8

Please sign in to comment.