diff --git a/src/footprint/HISTORY.rst b/src/footprint/HISTORY.rst index 8e13854c706..0410382f013 100644 --- a/src/footprint/HISTORY.rst +++ b/src/footprint/HISTORY.rst @@ -3,10 +3,14 @@ Release History =============== -0.1.0 +1.0.1b1 ++++++ -* Initial release. +* Relaxed the TLD length restriction in endpoint pattern from {2,5} to {2,} to allow for longer TLD names. 1.0.0 ++++++ * Relaxed the min_length on profile name and provided short names to all parameters of commands longer than 22 characters to improve the experience. + +0.1.0 +++++++ +* Initial release. \ No newline at end of file diff --git a/src/footprint/azext_footprint/azext_metadata.json b/src/footprint/azext_footprint/azext_metadata.json index 4f48fa652a5..d061f35c0c3 100644 --- a/src/footprint/azext_footprint/azext_metadata.json +++ b/src/footprint/azext_footprint/azext_metadata.json @@ -1,4 +1,4 @@ { - "azext.isExperimental": true, + "azext.isPreview": true, "azext.minCliCoreVersion": "2.11.0" } \ No newline at end of file diff --git a/src/footprint/azext_footprint/manual/version.py b/src/footprint/azext_footprint/manual/version.py index 9ed7b1240a1..ebc338f38ef 100644 --- a/src/footprint/azext_footprint/manual/version.py +++ b/src/footprint/azext_footprint/manual/version.py @@ -9,4 +9,4 @@ # regenerated. # -------------------------------------------------------------------------- -VERSION = "1.0.0" +VERSION = "1.0.1b" diff --git a/src/footprint/azext_footprint/tests/latest/recordings/test_footprint.yaml b/src/footprint/azext_footprint/tests/latest/recordings/test_footprint.yaml index c835cb75662..167e818a960 100644 --- a/src/footprint/azext_footprint/tests/latest/recordings/test_footprint.yaml +++ b/src/footprint/azext_footprint/tests/latest/recordings/test_footprint.yaml @@ -21,7 +21,7 @@ interactions: - AZURECLI/2.10.1 azsdk-python-footprintmonitoringmanagementclient/unknown Python/3.8.5 (Windows-10-10.0.18362-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.FootprintMonitoring/profiles/fpPro000002?api-version=2020-02-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.FootprintMonitoring/profiles/fpPro000002?api-version=2024-09-16-preview response: body: string: '{"error":{"code":"ResourceCreationFailed","message":"ResourceCreationFailed: @@ -74,7 +74,7 @@ interactions: - AZURECLI/2.10.1 azsdk-python-footprintmonitoringmanagementclient/unknown Python/3.8.5 (Windows-10-10.0.18362-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.FootprintMonitoring/profiles/fpPro000002?api-version=2020-02-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.FootprintMonitoring/profiles/fpPro000002?api-version=2024-09-16-preview response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.FootprintMonitoring/profiles/fpPro000002","name":"fpPro000002","type":"Microsoft.FootprintMonitoring/profiles","location":"westus2","tags":{"key1":"value1","key2":"value2"},"properties":{"coldPathSamplingPercentageRate":100.0,"measurementCount":3,"profileId":"fpPro000002","provisioningState":"Succeeded","reportingEndpoints":["fpc.msedge.net/r.gif","odinvzc.azureedge.net/apc/trans.gif"],"scriptUri":"https://fpc.msedge.net/conf/v2/fpPro000002/fpconfig.min.json","startDelayMilliseconds":5000}}' @@ -125,7 +125,7 @@ interactions: - AZURECLI/2.10.1 azsdk-python-footprintmonitoringmanagementclient/unknown Python/3.8.5 (Windows-10-10.0.18362-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.FootprintMonitoring/profiles/fpPro000002?api-version=2020-02-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.FootprintMonitoring/profiles/fpPro000002?api-version=2024-09-16-preview response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.FootprintMonitoring/profiles/fpPro000002","name":"fpPro000002","type":"Microsoft.FootprintMonitoring/profiles","location":"westus2","tags":{"key1":"value1","key2":"value2"},"properties":{"coldPathSamplingPercentageRate":100.0,"experiments":[],"measurementCount":3,"measurementEndpoints":[],"profileId":"fpPro000002","provisioningState":"Succeeded","reportingEndpoints":["fpc.msedge.net/r.gif","odinvzc.azureedge.net/apc/trans.gif"],"scriptUri":"https://fpc.msedge.net/conf/v2/fpPro000002/fpconfig.min.json","startDelayMilliseconds":5000}}' @@ -174,7 +174,7 @@ interactions: - AZURECLI/2.10.1 azsdk-python-footprintmonitoringmanagementclient/unknown Python/3.8.5 (Windows-10-10.0.18362-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.FootprintMonitoring/profiles?api-version=2020-02-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.FootprintMonitoring/profiles?api-version=2024-09-16-preview response: body: string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.FootprintMonitoring/profiles/fpPro000002","name":"fpPro000002","type":"Microsoft.FootprintMonitoring/profiles","location":"westus2","tags":{"key1":"value1","key2":"value2"},"properties":{"coldPathSamplingPercentageRate":100.0,"experiments":[],"measurementCount":3,"measurementEndpoints":[],"profileId":"fpPro000002","provisioningState":"Succeeded","reportingEndpoints":["fpc.msedge.net/r.gif","odinvzc.azureedge.net/apc/trans.gif"],"scriptUri":"https://fpc.msedge.net/conf/v2/fpPro000002/fpconfig.min.json","startDelayMilliseconds":5000}}]}' @@ -221,7 +221,7 @@ interactions: - AZURECLI/2.10.1 azsdk-python-footprintmonitoringmanagementclient/unknown Python/3.8.5 (Windows-10-10.0.18362-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.FootprintMonitoring/profiles?api-version=2020-02-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.FootprintMonitoring/profiles?api-version=2024-09-16-preview response: body: string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/jonunezd-rg-1/providers/Microsoft.FootprintMonitoring/profiles/jonunezd-prodtest","name":"jonunezd-prodtest","type":"Microsoft.FootprintMonitoring/profiles","location":"westus2","tags":{"key1":"value1","key2":"value2"},"properties":{"coldPathSamplingPercentageRate":100.0,"experiments":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/jonunezd-rg-1/providers/Microsoft.FootprintMonitoring/profiles/jonunezd-prodtest/experiments/exp-1"}],"measurementCount":5,"measurementEndpoints":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/jonunezd-rg-1/providers/Microsoft.FootprintMonitoring/profiles/jonunezd-prodtest/measurementEndpoints/endpoint-2"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/jonunezd-rg-1/providers/Microsoft.FootprintMonitoring/profiles/jonunezd-prodtest/measurementEndpoints/endpoint-1"}],"profileId":"jonunezd-prodtest","provisioningState":"Succeeded","reportingEndpoints":["fpc.msedge.net/r.gif","odinvzc.azureedge.net/apc/trans.gif"],"scriptUri":"https://fpc.msedge.net/conf/v2/jonunezd-prodtest/fpconfig.min.json","startDelayMilliseconds":999}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.FootprintMonitoring/profiles/fpPro000002","name":"fpPro000002","type":"Microsoft.FootprintMonitoring/profiles","location":"westus2","tags":{"key1":"value1","key2":"value2"},"properties":{"coldPathSamplingPercentageRate":100.0,"experiments":[],"measurementCount":3,"measurementEndpoints":[],"profileId":"fpPro000002","provisioningState":"Succeeded","reportingEndpoints":["fpc.msedge.net/r.gif","odinvzc.azureedge.net/apc/trans.gif"],"scriptUri":"https://fpc.msedge.net/conf/v2/fpPro000002/fpconfig.min.json","startDelayMilliseconds":5000}}]}' @@ -272,7 +272,7 @@ interactions: - AZURECLI/2.10.1 azsdk-python-footprintmonitoringmanagementclient/unknown Python/3.8.5 (Windows-10-10.0.18362-SP0) method: PATCH - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.FootprintMonitoring/profiles/fpPro000002?api-version=2020-02-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.FootprintMonitoring/profiles/fpPro000002?api-version=2024-09-16-preview response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.FootprintMonitoring/profiles/fpPro000002","name":"fpPro000002","type":"Microsoft.FootprintMonitoring/profiles","location":"westus2","tags":{"key1":"value1","key2":"value2"},"properties":{"coldPathSamplingPercentageRate":100,"measurementCount":3,"profileId":"fpPro000002","provisioningState":"Succeeded","reportingEndpoints":["fpc.msedge.net/r.gif","odinvzc.azureedge.net/apc/trans.gif"],"scriptUri":"https://fpc.msedge.net/conf/v2/fpPro000002/fpconfig.min.json","startDelayMilliseconds":5000}}' @@ -327,7 +327,7 @@ interactions: - AZURECLI/2.10.1 azsdk-python-footprintmonitoringmanagementclient/unknown Python/3.8.5 (Windows-10-10.0.18362-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.FootprintMonitoring/profiles/fpPro000002/experiments/fp000004?api-version=2020-02-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.FootprintMonitoring/profiles/fpPro000002/experiments/fp000004?api-version=2024-09-16-preview response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.FootprintMonitoring/profiles/fpPro000002/experiments/fp000004","name":"fp000004","type":"Microsoft.FootprintMonitoring/profiles/experiments","properties":{"description":"An @@ -379,7 +379,7 @@ interactions: - AZURECLI/2.10.1 azsdk-python-footprintmonitoringmanagementclient/unknown Python/3.8.5 (Windows-10-10.0.18362-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.FootprintMonitoring/profiles/fpPro000002/experiments/fp000004?api-version=2020-02-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.FootprintMonitoring/profiles/fpPro000002/experiments/fp000004?api-version=2024-09-16-preview response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.FootprintMonitoring/profiles/fpPro000002/experiments/fp000004","name":"fp000004","type":"Microsoft.FootprintMonitoring/profiles/experiments","properties":{"description":"An @@ -429,7 +429,7 @@ interactions: - AZURECLI/2.10.1 azsdk-python-footprintmonitoringmanagementclient/unknown Python/3.8.5 (Windows-10-10.0.18362-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.FootprintMonitoring/profiles/fpPro000002/experiments?api-version=2020-02-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.FootprintMonitoring/profiles/fpPro000002/experiments?api-version=2024-09-16-preview response: body: string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.FootprintMonitoring/profiles/fpPro000002/experiments/fp000004","name":"fp000004","type":"Microsoft.FootprintMonitoring/profiles/experiments","properties":{"description":"An @@ -479,7 +479,7 @@ interactions: - AZURECLI/2.10.1 azsdk-python-footprintmonitoringmanagementclient/unknown Python/3.8.5 (Windows-10-10.0.18362-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.FootprintMonitoring/profiles/fpPro000002/measurementEndpoints/endp000003?api-version=2020-02-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.FootprintMonitoring/profiles/fpPro000002/measurementEndpoints/endp000003?api-version=2024-09-16-preview response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.FootprintMonitoring/profiles/fpPro000002/measurementEndpoints/endp000003","name":"endp000003","type":"Microsoft.FootprintMonitoring/profiles/measurementEndpoints","properties":{"endpoint":"www.contoso.com","endpointId":"3f9db20029849b10e9e1c41f71c32b80","experimentId":"664cdec4f07d4e1083c9b3969ee2c49b","hotPathSamplingPercentageRate":0.0,"measurementType":2,"objectPath":"/trans.gif","warmPathSamplingPercentageRate":0.0,"weight":10}}' @@ -530,7 +530,7 @@ interactions: - AZURECLI/2.10.1 azsdk-python-footprintmonitoringmanagementclient/unknown Python/3.8.5 (Windows-10-10.0.18362-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.FootprintMonitoring/profiles/fpPro000002/measurementEndpoints/endp000003?api-version=2020-02-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.FootprintMonitoring/profiles/fpPro000002/measurementEndpoints/endp000003?api-version=2024-09-16-preview response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.FootprintMonitoring/profiles/fpPro000002/measurementEndpoints/endp000003","name":"endp000003","type":"Microsoft.FootprintMonitoring/profiles/measurementEndpoints","properties":{"conditions":[],"endpoint":"www.contoso.com","endpointId":"3f9db20029849b10e9e1c41f71c32b80","experimentId":"664cdec4f07d4e1083c9b3969ee2c49b","hotPathSamplingPercentageRate":0.0,"measurementType":2,"objectPath":"/trans.gif","warmPathSamplingPercentageRate":0.0,"weight":10}}' @@ -579,7 +579,7 @@ interactions: - AZURECLI/2.10.1 azsdk-python-footprintmonitoringmanagementclient/unknown Python/3.8.5 (Windows-10-10.0.18362-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.FootprintMonitoring/profiles/fpPro000002/measurementEndpoints?api-version=2020-02-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.FootprintMonitoring/profiles/fpPro000002/measurementEndpoints?api-version=2024-09-16-preview response: body: string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.FootprintMonitoring/profiles/fpPro000002/measurementEndpoints/endp000003","name":"endp000003","type":"Microsoft.FootprintMonitoring/profiles/measurementEndpoints","properties":{"conditions":[],"endpoint":"www.contoso.com","endpointId":"3f9db20029849b10e9e1c41f71c32b80","experimentId":"664cdec4f07d4e1083c9b3969ee2c49b","hotPathSamplingPercentageRate":0.0,"measurementType":2,"objectPath":"/trans.gif","warmPathSamplingPercentageRate":0.0,"weight":10}}]}' @@ -631,7 +631,7 @@ interactions: - AZURECLI/2.10.1 azsdk-python-footprintmonitoringmanagementclient/unknown Python/3.8.5 (Windows-10-10.0.18362-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.FootprintMonitoring/profiles/fpPro000002/measurementEndpoints/endp000003/conditions/condition0?api-version=2020-02-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.FootprintMonitoring/profiles/fpPro000002/measurementEndpoints/endp000003/conditions/condition0?api-version=2024-09-16-preview response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.FootprintMonitoring/profiles/fpPro000002/measurementEndpoints/endp000003/conditions/condition0","name":"condition0","type":"Microsoft.FootprintMonitoring/profiles/measurementEndpoints/conditions","properties":{"conditionId":"677f1a8667196d9513d36440893e8d4a","constant":"Edge-Prod-WST","operator":"MatchValueIgnoreCasing","type":"RequestHeader","variable":"X-FD-EdgeEnvironment"}}' @@ -682,7 +682,7 @@ interactions: - AZURECLI/2.10.1 azsdk-python-footprintmonitoringmanagementclient/unknown Python/3.8.5 (Windows-10-10.0.18362-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.FootprintMonitoring/profiles/fpPro000002/measurementEndpoints/endp000003/conditions/condition0?api-version=2020-02-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.FootprintMonitoring/profiles/fpPro000002/measurementEndpoints/endp000003/conditions/condition0?api-version=2024-09-16-preview response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.FootprintMonitoring/profiles/fpPro000002/measurementEndpoints/endp000003/conditions/condition0","name":"condition0","type":"Microsoft.FootprintMonitoring/profiles/measurementEndpoints/conditions","properties":{"conditionId":"677f1a8667196d9513d36440893e8d4a","constant":"Edge-Prod-WST","operator":"MatchValueIgnoreCasing","type":"RequestHeader","variable":"X-FD-EdgeEnvironment"}}' @@ -731,7 +731,7 @@ interactions: - AZURECLI/2.10.1 azsdk-python-footprintmonitoringmanagementclient/unknown Python/3.8.5 (Windows-10-10.0.18362-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.FootprintMonitoring/profiles/fpPro000002/measurementEndpoints/endp000003/conditions?api-version=2020-02-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.FootprintMonitoring/profiles/fpPro000002/measurementEndpoints/endp000003/conditions?api-version=2024-09-16-preview response: body: string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.FootprintMonitoring/profiles/fpPro000002/measurementEndpoints/endp000003/conditions/condition0","name":"condition0","type":"Microsoft.FootprintMonitoring/profiles/measurementEndpoints/conditions","properties":{"conditionId":"677f1a8667196d9513d36440893e8d4a","constant":"Edge-Prod-WST","operator":"MatchValueIgnoreCasing","type":"RequestHeader","variable":"X-FD-EdgeEnvironment"}}]}' @@ -780,7 +780,7 @@ interactions: - AZURECLI/2.10.1 azsdk-python-footprintmonitoringmanagementclient/unknown Python/3.8.5 (Windows-10-10.0.18362-SP0) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.FootprintMonitoring/profiles/fpPro000002/measurementEndpoints/endp000003/conditions/condition0?api-version=2020-02-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.FootprintMonitoring/profiles/fpPro000002/measurementEndpoints/endp000003/conditions/condition0?api-version=2024-09-16-preview response: body: string: '' @@ -825,7 +825,7 @@ interactions: - AZURECLI/2.10.1 azsdk-python-footprintmonitoringmanagementclient/unknown Python/3.8.5 (Windows-10-10.0.18362-SP0) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.FootprintMonitoring/profiles/fpPro000002/experiments/fp000004?api-version=2020-02-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.FootprintMonitoring/profiles/fpPro000002/experiments/fp000004?api-version=2024-09-16-preview response: body: string: '' @@ -870,7 +870,7 @@ interactions: - AZURECLI/2.10.1 azsdk-python-footprintmonitoringmanagementclient/unknown Python/3.8.5 (Windows-10-10.0.18362-SP0) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.FootprintMonitoring/profiles/fpPro000002/measurementEndpoints/endp000003?api-version=2020-02-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.FootprintMonitoring/profiles/fpPro000002/measurementEndpoints/endp000003?api-version=2024-09-16-preview response: body: string: '' @@ -915,7 +915,7 @@ interactions: - AZURECLI/2.10.1 azsdk-python-footprintmonitoringmanagementclient/unknown Python/3.8.5 (Windows-10-10.0.18362-SP0) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.FootprintMonitoring/profiles/fpPro000002?api-version=2020-02-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.FootprintMonitoring/profiles/fpPro000002?api-version=2024-09-16-preview response: body: string: '' diff --git a/src/footprint/azext_footprint/tests/latest/test_footprint_scenario_coverage.md b/src/footprint/azext_footprint/tests/latest/test_footprint_scenario_coverage.md index 918c9def9f0..fea4d94a44e 100644 --- a/src/footprint/azext_footprint/tests/latest/test_footprint_scenario_coverage.md +++ b/src/footprint/azext_footprint/tests/latest/test_footprint_scenario_coverage.md @@ -1,20 +1,20 @@ |Scenario|Result|ErrorMessage|ErrorStack|ErrorNormalized|StartDt|EndDt| -|step__profiles_put_create_or_update_a_footprint_profile_|successed||||2020-08-18 22:22:11.639664|2020-08-18 22:22:55.697462| -|step__profiles_get_get_the_details_of_a_footprint_profile_|successed||||2020-08-18 22:22:55.697462|2020-08-18 22:22:56.835470| -|step__profiles_get_list_all_footprint_profiles_under_a_resource_group_|successed||||2020-08-18 22:22:56.835470|2020-08-18 22:22:57.912519| -|step__profiles_get_list_all_footprint_profiles_under_a_subscription_|successed||||2020-08-18 22:22:57.912519|2020-08-18 22:22:59.172658| -|step__profiles_patch_update_a_footprint_profile_|successed||||2020-08-18 22:22:59.172658|2020-08-18 22:23:00.365159| -|step__experiments_put_create_or_update_an_experiment_|successed||||2020-08-18 22:23:00.365159|2020-08-18 22:23:05.881296| -|step__experiments_get_get_the_details_of_an_experiment_|successed||||2020-08-18 22:23:05.882295|2020-08-18 22:23:06.878597| -|step__experiments_get_list_all_experiments_under_a_footprint_profile_|successed||||2020-08-18 22:23:06.878597|2020-08-18 22:23:07.847313| -|step__measurementendpoints_put_create_or_update_a_measurement_endpoint_|successed||||2020-08-18 22:23:07.848309|2020-08-18 22:23:14.516788| -|step__measurementendpoints_get_get_the_details_of_a_measurement_endpoint_|successed||||2020-08-18 22:23:14.516788|2020-08-18 22:23:15.493906| -|step__measurementendpoints_get_list_all_the_measurement_endpoints_under_a_footprint_profile_|successed||||2020-08-18 22:23:15.493906|2020-08-18 22:23:16.698742| -|step__measurementendpointconditions_put_create_or_update_a_measurement_endpoint_condition_|successed||||2020-08-18 22:23:16.698742|2020-08-18 22:23:28.010368| -|step__measurementendpointconditions_get_get_the_details_of_a_measurement_endpoint_condition_|successed||||2020-08-18 22:23:28.011367|2020-08-18 22:23:29.276407| -|step__measurementendpointconditions_get_list_all_conditions_under_a_measurement_endpoint_|successed||||2020-08-18 22:23:29.276407|2020-08-18 22:23:30.574658| -|step__measurementendpointconditions_delete_delete_a_measurement_endpoint_condition_|successed||||2020-08-18 22:23:30.575663|2020-08-18 22:23:35.114155| -|step__experiments_delete_delete_an_experiment_|successed||||2020-08-18 22:23:35.114155|2020-08-18 22:23:39.818973| -|step__measurementendpoints_delete_delete_a_measurement_endpoint_|successed||||2020-08-18 22:23:39.818973|2020-08-18 22:23:46.433847| -|step__profiles_delete_delete_a_footprint_profile_|successed||||2020-08-18 22:23:46.434832|2020-08-18 22:23:53.642127| +|step__profiles_put_create_or_update_a_footprint_profile_|successed||||2025-12-05 20:58:20.964070|2025-12-05 20:58:21.295223| +|step__profiles_get_get_the_details_of_a_footprint_profile_|successed||||2025-12-05 20:58:21.295223|2025-12-05 20:58:21.439761| +|step__profiles_get_list_all_footprint_profiles_under_a_resource_group_|successed||||2025-12-05 20:58:21.439761|2025-12-05 20:58:21.624313| +|step__profiles_get_list_all_footprint_profiles_under_a_subscription_|successed||||2025-12-05 20:58:21.624313|2025-12-05 20:58:21.773844| +|step__profiles_patch_update_a_footprint_profile_|successed||||2025-12-05 20:58:21.774854|2025-12-05 20:58:21.911483| +|step__experiments_put_create_or_update_an_experiment_|successed||||2025-12-05 20:58:21.911483|2025-12-05 20:58:22.048772| +|step__experiments_get_get_the_details_of_an_experiment_|successed||||2025-12-05 20:58:22.048772|2025-12-05 20:58:22.198601| +|step__experiments_get_list_all_experiments_under_a_footprint_profile_|successed||||2025-12-05 20:58:22.199601|2025-12-05 20:58:22.337807| +|step__measurementendpoints_put_create_or_update_a_measurement_endpoint_|successed||||2025-12-05 20:58:22.337807|2025-12-05 20:58:22.489003| +|step__measurementendpoints_get_get_the_details_of_a_measurement_endpoint_|successed||||2025-12-05 20:58:22.489003|2025-12-05 20:58:22.631628| +|step__measurementendpoints_get_list_all_the_measurement_endpoints_under_a_footprint_profile_|successed||||2025-12-05 20:58:22.631628|2025-12-05 20:58:22.782326| +|step__measurementendpointconditions_put_create_or_update_a_measurement_endpoint_condition_|successed||||2025-12-05 20:58:22.782326|2025-12-05 20:58:22.949807| +|step__measurementendpointconditions_get_get_the_details_of_a_measurement_endpoint_condition_|successed||||2025-12-05 20:58:22.950690|2025-12-05 20:58:23.091858| +|step__measurementendpointconditions_get_list_all_conditions_under_a_measurement_endpoint_|successed||||2025-12-05 20:58:23.091858|2025-12-05 20:58:23.234372| +|step__measurementendpointconditions_delete_delete_a_measurement_endpoint_condition_|successed||||2025-12-05 20:58:23.234372|2025-12-05 20:58:23.382437| +|step__experiments_delete_delete_an_experiment_|successed||||2025-12-05 20:58:23.383442|2025-12-05 20:58:23.530699| +|step__measurementendpoints_delete_delete_a_measurement_endpoint_|successed||||2025-12-05 20:58:23.531599|2025-12-05 20:58:23.680833| +|step__profiles_delete_delete_a_footprint_profile_|successed||||2025-12-05 20:58:23.680833|2025-12-05 20:58:23.820734| Coverage: 18/18 diff --git a/src/footprint/azext_footprint/vendored_sdks/footprint/_configuration.py b/src/footprint/azext_footprint/vendored_sdks/footprint/_configuration.py index 8b683be6f0b..8594b7ad230 100644 --- a/src/footprint/azext_footprint/vendored_sdks/footprint/_configuration.py +++ b/src/footprint/azext_footprint/vendored_sdks/footprint/_configuration.py @@ -47,7 +47,7 @@ def __init__( self.credential = credential self.subscription_id = subscription_id - self.api_version = "2020-02-01-preview" + self.api_version = "2024-09-16-preview" self.credential_scopes = ['https://management.azure.com/.default'] self.credential_scopes.extend(kwargs.pop('credential_scopes', [])) kwargs.setdefault('sdk_moniker', 'footprintmonitoringmanagementclient/{}'.format(VERSION)) diff --git a/src/footprint/azext_footprint/vendored_sdks/footprint/_footprint_monitoring_management_client.py b/src/footprint/azext_footprint/vendored_sdks/footprint/_footprint_monitoring_management_client.py index e2e1195215b..7e3332fcbf4 100644 --- a/src/footprint/azext_footprint/vendored_sdks/footprint/_footprint_monitoring_management_client.py +++ b/src/footprint/azext_footprint/vendored_sdks/footprint/_footprint_monitoring_management_client.py @@ -27,7 +27,7 @@ class FootprintMonitoringManagementClient(object): - """Microsoft Footprint active monitoring system REST API version 2020-02-01-preview. + """Microsoft Footprint active monitoring system REST API version 2024-09-16-preview. :ivar operation: OperationOperations operations :vartype operation: footprint_monitoring_management_client.operations.OperationOperations diff --git a/src/footprint/azext_footprint/vendored_sdks/footprint/aio/_configuration_async.py b/src/footprint/azext_footprint/vendored_sdks/footprint/aio/_configuration_async.py index ba84e637b66..2d044db26f8 100644 --- a/src/footprint/azext_footprint/vendored_sdks/footprint/aio/_configuration_async.py +++ b/src/footprint/azext_footprint/vendored_sdks/footprint/aio/_configuration_async.py @@ -44,7 +44,7 @@ def __init__( self.credential = credential self.subscription_id = subscription_id - self.api_version = "2020-02-01-preview" + self.api_version = "2024-09-16-preview" self.credential_scopes = ['https://management.azure.com/.default'] self.credential_scopes.extend(kwargs.pop('credential_scopes', [])) kwargs.setdefault('sdk_moniker', 'footprintmonitoringmanagementclient/{}'.format(VERSION)) diff --git a/src/footprint/azext_footprint/vendored_sdks/footprint/aio/_footprint_monitoring_management_client_async.py b/src/footprint/azext_footprint/vendored_sdks/footprint/aio/_footprint_monitoring_management_client_async.py index 27e3ee84366..44e4dc0ec59 100644 --- a/src/footprint/azext_footprint/vendored_sdks/footprint/aio/_footprint_monitoring_management_client_async.py +++ b/src/footprint/azext_footprint/vendored_sdks/footprint/aio/_footprint_monitoring_management_client_async.py @@ -25,7 +25,7 @@ class FootprintMonitoringManagementClient(object): - """Microsoft Footprint active monitoring system REST API version 2020-02-01-preview. + """Microsoft Footprint active monitoring system REST API version 2024-09-16-preview. :ivar operation: OperationOperations operations :vartype operation: footprint_monitoring_management_client.aio.operations_async.OperationOperations diff --git a/src/footprint/azext_footprint/vendored_sdks/footprint/aio/operations_async/_experiment_operations_async.py b/src/footprint/azext_footprint/vendored_sdks/footprint/aio/operations_async/_experiment_operations_async.py index ef5b94d03a0..d00e39b06ad 100644 --- a/src/footprint/azext_footprint/vendored_sdks/footprint/aio/operations_async/_experiment_operations_async.py +++ b/src/footprint/azext_footprint/vendored_sdks/footprint/aio/operations_async/_experiment_operations_async.py @@ -63,7 +63,7 @@ def list_by_profile( cls = kwargs.pop('cls', None) # type: ClsType["models.ExperimentList"] error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-02-01-preview" + api_version = "2024-09-16-preview" def prepare_request(next_link=None): # Construct headers @@ -140,7 +140,7 @@ async def get( cls = kwargs.pop('cls', None) # type: ClsType["models.Experiment"] error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-02-01-preview" + api_version = "2024-09-16-preview" # Construct URL url = self.get.metadata['url'] # type: ignore @@ -207,7 +207,7 @@ async def create_or_update( error_map.update(kwargs.pop('error_map', {})) _parameters = models.Experiment(description=description) - api_version = "2020-02-01-preview" + api_version = "2024-09-16-preview" content_type = kwargs.pop("content_type", "application/json") # Construct URL @@ -279,7 +279,7 @@ async def delete( cls = kwargs.pop('cls', None) # type: ClsType[None] error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-02-01-preview" + api_version = "2024-09-16-preview" # Construct URL url = self.delete.metadata['url'] # type: ignore diff --git a/src/footprint/azext_footprint/vendored_sdks/footprint/aio/operations_async/_measurement_endpoint_condition_operations_async.py b/src/footprint/azext_footprint/vendored_sdks/footprint/aio/operations_async/_measurement_endpoint_condition_operations_async.py index 09edc639dea..84d07e8bd33 100644 --- a/src/footprint/azext_footprint/vendored_sdks/footprint/aio/operations_async/_measurement_endpoint_condition_operations_async.py +++ b/src/footprint/azext_footprint/vendored_sdks/footprint/aio/operations_async/_measurement_endpoint_condition_operations_async.py @@ -67,7 +67,7 @@ def list_by_measurement_endpoint( cls = kwargs.pop('cls', None) # type: ClsType["models.MeasurementEndpointConditionList"] error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-02-01-preview" + api_version = "2024-09-16-preview" def prepare_request(next_link=None): # Construct headers @@ -149,7 +149,7 @@ async def get( cls = kwargs.pop('cls', None) # type: ClsType["models.MeasurementEndpointCondition"] error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-02-01-preview" + api_version = "2024-09-16-preview" # Construct URL url = self.get.metadata['url'] # type: ignore @@ -230,7 +230,7 @@ async def create_or_update( error_map.update(kwargs.pop('error_map', {})) _parameters = models.MeasurementEndpointCondition(type_properties_type=type, variable=variable, operator=operator, constant=constant) - api_version = "2020-02-01-preview" + api_version = "2024-09-16-preview" content_type = kwargs.pop("content_type", "application/json") # Construct URL @@ -306,7 +306,7 @@ async def delete( cls = kwargs.pop('cls', None) # type: ClsType[None] error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-02-01-preview" + api_version = "2024-09-16-preview" # Construct URL url = self.delete.metadata['url'] # type: ignore diff --git a/src/footprint/azext_footprint/vendored_sdks/footprint/aio/operations_async/_measurement_endpoint_operations_async.py b/src/footprint/azext_footprint/vendored_sdks/footprint/aio/operations_async/_measurement_endpoint_operations_async.py index 676d640f806..3670d8d5503 100644 --- a/src/footprint/azext_footprint/vendored_sdks/footprint/aio/operations_async/_measurement_endpoint_operations_async.py +++ b/src/footprint/azext_footprint/vendored_sdks/footprint/aio/operations_async/_measurement_endpoint_operations_async.py @@ -64,7 +64,7 @@ def list_by_profile( cls = kwargs.pop('cls', None) # type: ClsType["models.MeasurementEndpointList"] error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-02-01-preview" + api_version = "2024-09-16-preview" def prepare_request(next_link=None): # Construct headers @@ -141,7 +141,7 @@ async def get( cls = kwargs.pop('cls', None) # type: ClsType["models.MeasurementEndpoint"] error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-02-01-preview" + api_version = "2024-09-16-preview" # Construct URL url = self.get.metadata['url'] # type: ignore @@ -245,7 +245,7 @@ async def create_or_update( error_map.update(kwargs.pop('error_map', {})) _parameters = models.MeasurementEndpoint(description=description, endpoint=endpoint, measurement_type=measurement_type, weight=weight, experiment_id=experiment_id, object_path=object_path, start_time_utc=start_time_utc, end_time_utc=end_time_utc, hot_path_sampling_percentage_rate=hot_path_sampling_percentage_rate, warm_path_sampling_percentage_rate=warm_path_sampling_percentage_rate, cold_path_sampling_percentage_rate_override=cold_path_sampling_percentage_rate_override, metadata=metadata) - api_version = "2020-02-01-preview" + api_version = "2024-09-16-preview" content_type = kwargs.pop("content_type", "application/json") # Construct URL @@ -317,7 +317,7 @@ async def delete( cls = kwargs.pop('cls', None) # type: ClsType[None] error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-02-01-preview" + api_version = "2024-09-16-preview" # Construct URL url = self.delete.metadata['url'] # type: ignore diff --git a/src/footprint/azext_footprint/vendored_sdks/footprint/aio/operations_async/_operation_operations_async.py b/src/footprint/azext_footprint/vendored_sdks/footprint/aio/operations_async/_operation_operations_async.py index 7af97ca3cd5..0495552bdfe 100644 --- a/src/footprint/azext_footprint/vendored_sdks/footprint/aio/operations_async/_operation_operations_async.py +++ b/src/footprint/azext_footprint/vendored_sdks/footprint/aio/operations_async/_operation_operations_async.py @@ -57,7 +57,7 @@ def list( cls = kwargs.pop('cls', None) # type: ClsType["models.ResourceProviderOperationList"] error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-02-01-preview" + api_version = "2024-09-16-preview" def prepare_request(next_link=None): # Construct headers diff --git a/src/footprint/azext_footprint/vendored_sdks/footprint/aio/operations_async/_profile_operations_async.py b/src/footprint/azext_footprint/vendored_sdks/footprint/aio/operations_async/_profile_operations_async.py index 4fa036cbaa4..838c1e3a3dc 100644 --- a/src/footprint/azext_footprint/vendored_sdks/footprint/aio/operations_async/_profile_operations_async.py +++ b/src/footprint/azext_footprint/vendored_sdks/footprint/aio/operations_async/_profile_operations_async.py @@ -57,7 +57,7 @@ def list_by_subscription( cls = kwargs.pop('cls', None) # type: ClsType["models.ProfileList"] error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-02-01-preview" + api_version = "2024-09-16-preview" def prepare_request(next_link=None): # Construct headers @@ -126,7 +126,7 @@ def list_by_resource_group( cls = kwargs.pop('cls', None) # type: ClsType["models.ProfileList"] error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-02-01-preview" + api_version = "2024-09-16-preview" def prepare_request(next_link=None): # Construct headers @@ -199,7 +199,7 @@ async def get( cls = kwargs.pop('cls', None) # type: ClsType["models.Profile"] error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-02-01-preview" + api_version = "2024-09-16-preview" # Construct URL url = self.get.metadata['url'] # type: ignore @@ -282,7 +282,7 @@ async def create_or_update( error_map.update(kwargs.pop('error_map', {})) _parameters = models.Profile(tags=tags, location=location, description=description, start_delay_milliseconds=start_delay_milliseconds, measurement_count=measurement_count, cold_path_sampling_percentage_rate=cold_path_sampling_percentage_rate, reporting_endpoints=reporting_endpoints) - api_version = "2020-02-01-preview" + api_version = "2024-09-16-preview" content_type = kwargs.pop("content_type", "application/json") # Construct URL @@ -350,7 +350,7 @@ async def delete( cls = kwargs.pop('cls', None) # type: ClsType[None] error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-02-01-preview" + api_version = "2024-09-16-preview" # Construct URL url = self.delete.metadata['url'] # type: ignore @@ -409,7 +409,7 @@ async def update( error_map.update(kwargs.pop('error_map', {})) _parameters = models.ProfilePatch(tags=tags) - api_version = "2020-02-01-preview" + api_version = "2024-09-16-preview" content_type = kwargs.pop("content_type", "application/json") # Construct URL diff --git a/src/footprint/azext_footprint/vendored_sdks/footprint/models/_models.py b/src/footprint/azext_footprint/vendored_sdks/footprint/models/_models.py index a14b4cb9cb9..04adbc57336 100644 --- a/src/footprint/azext_footprint/vendored_sdks/footprint/models/_models.py +++ b/src/footprint/azext_footprint/vendored_sdks/footprint/models/_models.py @@ -213,7 +213,7 @@ class MeasurementEndpoint(SubResource): 'name': {'readonly': True}, 'type': {'readonly': True}, 'endpoint_id': {'readonly': True, 'max_length': 32, 'min_length': 32, 'pattern': r'[a-f0-9]{32}'}, - 'endpoint': {'required': True, 'max_length': 1024, 'min_length': 0, 'pattern': r'^[a-z0-9\*]+([\-\.]{1}[a-z0-9]+)*\.[a-z]{2,5}(:[0-9]{1,5})?$'}, + 'endpoint': {'required': True, 'max_length': 1024, 'min_length': 0, 'pattern': r'^[a-z0-9\*]+([\-\.]{1}[a-z0-9]+)*\.[a-z]{2,}(:[0-9]{1,5})?$'}, 'measurement_type': {'required': True}, 'weight': {'required': True, 'maximum': 2147483647, 'minimum': 0}, 'experiment_id': {'max_length': 32, 'min_length': 32, 'pattern': r'[a-f0-9]{32}'}, diff --git a/src/footprint/azext_footprint/vendored_sdks/footprint/operations/_experiment_operations.py b/src/footprint/azext_footprint/vendored_sdks/footprint/operations/_experiment_operations.py index ba2b9cbb6d8..cb28f54769a 100644 --- a/src/footprint/azext_footprint/vendored_sdks/footprint/operations/_experiment_operations.py +++ b/src/footprint/azext_footprint/vendored_sdks/footprint/operations/_experiment_operations.py @@ -68,7 +68,7 @@ def list_by_profile( cls = kwargs.pop('cls', None) # type: ClsType["models.ExperimentList"] error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-02-01-preview" + api_version = "2024-09-16-preview" def prepare_request(next_link=None): # Construct headers @@ -146,7 +146,7 @@ def get( cls = kwargs.pop('cls', None) # type: ClsType["models.Experiment"] error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-02-01-preview" + api_version = "2024-09-16-preview" # Construct URL url = self.get.metadata['url'] # type: ignore @@ -214,7 +214,7 @@ def create_or_update( error_map.update(kwargs.pop('error_map', {})) _parameters = models.Experiment(description=description) - api_version = "2020-02-01-preview" + api_version = "2024-09-16-preview" content_type = kwargs.pop("content_type", "application/json") # Construct URL @@ -287,7 +287,7 @@ def delete( cls = kwargs.pop('cls', None) # type: ClsType[None] error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-02-01-preview" + api_version = "2024-09-16-preview" # Construct URL url = self.delete.metadata['url'] # type: ignore diff --git a/src/footprint/azext_footprint/vendored_sdks/footprint/operations/_measurement_endpoint_condition_operations.py b/src/footprint/azext_footprint/vendored_sdks/footprint/operations/_measurement_endpoint_condition_operations.py index 06cd219176a..d2c4fea92d1 100644 --- a/src/footprint/azext_footprint/vendored_sdks/footprint/operations/_measurement_endpoint_condition_operations.py +++ b/src/footprint/azext_footprint/vendored_sdks/footprint/operations/_measurement_endpoint_condition_operations.py @@ -72,7 +72,7 @@ def list_by_measurement_endpoint( cls = kwargs.pop('cls', None) # type: ClsType["models.MeasurementEndpointConditionList"] error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-02-01-preview" + api_version = "2024-09-16-preview" def prepare_request(next_link=None): # Construct headers @@ -155,7 +155,7 @@ def get( cls = kwargs.pop('cls', None) # type: ClsType["models.MeasurementEndpointCondition"] error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-02-01-preview" + api_version = "2024-09-16-preview" # Construct URL url = self.get.metadata['url'] # type: ignore @@ -237,7 +237,7 @@ def create_or_update( error_map.update(kwargs.pop('error_map', {})) _parameters = models.MeasurementEndpointCondition(type_properties_type=type, variable=variable, operator=operator, constant=constant) - api_version = "2020-02-01-preview" + api_version = "2024-09-16-preview" content_type = kwargs.pop("content_type", "application/json") # Construct URL @@ -314,7 +314,7 @@ def delete( cls = kwargs.pop('cls', None) # type: ClsType[None] error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-02-01-preview" + api_version = "2024-09-16-preview" # Construct URL url = self.delete.metadata['url'] # type: ignore diff --git a/src/footprint/azext_footprint/vendored_sdks/footprint/operations/_measurement_endpoint_operations.py b/src/footprint/azext_footprint/vendored_sdks/footprint/operations/_measurement_endpoint_operations.py index 074f9d936f7..e009a3cb091 100644 --- a/src/footprint/azext_footprint/vendored_sdks/footprint/operations/_measurement_endpoint_operations.py +++ b/src/footprint/azext_footprint/vendored_sdks/footprint/operations/_measurement_endpoint_operations.py @@ -69,7 +69,7 @@ def list_by_profile( cls = kwargs.pop('cls', None) # type: ClsType["models.MeasurementEndpointList"] error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-02-01-preview" + api_version = "2024-09-16-preview" def prepare_request(next_link=None): # Construct headers @@ -147,7 +147,7 @@ def get( cls = kwargs.pop('cls', None) # type: ClsType["models.MeasurementEndpoint"] error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-02-01-preview" + api_version = "2024-09-16-preview" # Construct URL url = self.get.metadata['url'] # type: ignore @@ -252,7 +252,7 @@ def create_or_update( error_map.update(kwargs.pop('error_map', {})) _parameters = models.MeasurementEndpoint(description=description, endpoint=endpoint, measurement_type=measurement_type, weight=weight, experiment_id=experiment_id, object_path=object_path, start_time_utc=start_time_utc, end_time_utc=end_time_utc, hot_path_sampling_percentage_rate=hot_path_sampling_percentage_rate, warm_path_sampling_percentage_rate=warm_path_sampling_percentage_rate, cold_path_sampling_percentage_rate_override=cold_path_sampling_percentage_rate_override, metadata=metadata) - api_version = "2020-02-01-preview" + api_version = "2024-09-16-preview" content_type = kwargs.pop("content_type", "application/json") # Construct URL @@ -325,7 +325,7 @@ def delete( cls = kwargs.pop('cls', None) # type: ClsType[None] error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-02-01-preview" + api_version = "2024-09-16-preview" # Construct URL url = self.delete.metadata['url'] # type: ignore diff --git a/src/footprint/azext_footprint/vendored_sdks/footprint/operations/_operation_operations.py b/src/footprint/azext_footprint/vendored_sdks/footprint/operations/_operation_operations.py index f93189b1091..d14c23e92ee 100644 --- a/src/footprint/azext_footprint/vendored_sdks/footprint/operations/_operation_operations.py +++ b/src/footprint/azext_footprint/vendored_sdks/footprint/operations/_operation_operations.py @@ -62,7 +62,7 @@ def list( cls = kwargs.pop('cls', None) # type: ClsType["models.ResourceProviderOperationList"] error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-02-01-preview" + api_version = "2024-09-16-preview" def prepare_request(next_link=None): # Construct headers diff --git a/src/footprint/azext_footprint/vendored_sdks/footprint/operations/_profile_operations.py b/src/footprint/azext_footprint/vendored_sdks/footprint/operations/_profile_operations.py index 896c12ee2b4..0e49674cf86 100644 --- a/src/footprint/azext_footprint/vendored_sdks/footprint/operations/_profile_operations.py +++ b/src/footprint/azext_footprint/vendored_sdks/footprint/operations/_profile_operations.py @@ -62,7 +62,7 @@ def list_by_subscription( cls = kwargs.pop('cls', None) # type: ClsType["models.ProfileList"] error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-02-01-preview" + api_version = "2024-09-16-preview" def prepare_request(next_link=None): # Construct headers @@ -132,7 +132,7 @@ def list_by_resource_group( cls = kwargs.pop('cls', None) # type: ClsType["models.ProfileList"] error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-02-01-preview" + api_version = "2024-09-16-preview" def prepare_request(next_link=None): # Construct headers @@ -206,7 +206,7 @@ def get( cls = kwargs.pop('cls', None) # type: ClsType["models.Profile"] error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-02-01-preview" + api_version = "2024-09-16-preview" # Construct URL url = self.get.metadata['url'] # type: ignore @@ -290,7 +290,7 @@ def create_or_update( error_map.update(kwargs.pop('error_map', {})) _parameters = models.Profile(tags=tags, location=location, description=description, start_delay_milliseconds=start_delay_milliseconds, measurement_count=measurement_count, cold_path_sampling_percentage_rate=cold_path_sampling_percentage_rate, reporting_endpoints=reporting_endpoints) - api_version = "2020-02-01-preview" + api_version = "2024-09-16-preview" content_type = kwargs.pop("content_type", "application/json") # Construct URL @@ -359,7 +359,7 @@ def delete( cls = kwargs.pop('cls', None) # type: ClsType[None] error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-02-01-preview" + api_version = "2024-09-16-preview" # Construct URL url = self.delete.metadata['url'] # type: ignore @@ -419,7 +419,7 @@ def update( error_map.update(kwargs.pop('error_map', {})) _parameters = models.ProfilePatch(tags=tags) - api_version = "2020-02-01-preview" + api_version = "2024-09-16-preview" content_type = kwargs.pop("content_type", "application/json") # Construct URL diff --git a/src/footprint/setup.py b/src/footprint/setup.py index c3a7db72d57..129616c392c 100644 --- a/src/footprint/setup.py +++ b/src/footprint/setup.py @@ -10,7 +10,7 @@ from setuptools import setup, find_packages # HISTORY.rst entry. -VERSION = '1.0.0' +VERSION = '1.0.1b1' # The full list of classifiers is available at # https://pypi.python.org/pypi?%3Aaction=list_classifiers